16
Technical Support / Re: pybitshares how to withdraw to external wallet
« on: April 05, 2018, 01:46:44 pm »
Get list of all coins at Openledger. Here you'll see "intermediateAccount" which contains the destination account name:
This checks if the address you're about to send to is valid.
Memo is usually:
Once you have all this, you can make your bitshares.transfer() call.
Code: [Select]
url = "https://ol-api1.openledger.info/api/v0/ol/support/coins"
r = requests.get(url).json()
This checks if the address you're about to send to is valid.
Code: [Select]
url = "https://ol-api1.openledger.info/api/v0/ol/support/wallets/"+asset+"/address-validator?address="+address
r = requests.get(url).json()
Memo is usually:
Code: [Select]
{{asset}}:{{address_where_openledger_should_transfer_to}}
Once you have all this, you can make your bitshares.transfer() call.