pybitshares how to withdraw to external wallet

Started by oddhome, April 05, 2018, 08:05:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

runestone

Get list of all coins at Openledger. Here you'll see "intermediateAccount" which contains the destination account name:
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.
url = "https://ol-api1.openledger.info/api/v0/ol/support/wallets/"+asset+"/address-validator?address="+address
r = requests.get(url).json()


Memo is usually:
{{asset}}:{{address_where_openledger_should_transfer_to}}

Once you have all this, you can make your bitshares.transfer() call.
Br, Rune
~ Please vote on blockbasis-witness
~ [url="https://www.blockbasis.com"]https://www.blockbasis.com[/url]

abit

You need the help of gateway service.
1. find out the correct gateway account name and memo syntax. For example, if your BTC is OPEN.BTC, contact openledger.io to get correct gateway account name and memo syntax, or figure out by your own via light wallet or web wallet (try to withdraw manually).
2. use pybitshares, send your BTC to the gateway account with correct memo
BitShares committee member: abit
BitShares witness: in.abit

oddhome

please guide me to dev for pybitshares withdraw BTC to external wallet