Author Topic: pybitshares how to withdraw to external wallet  (Read 2651 times)

0 Members and 1 Guest are viewing this topic.

Offline runestone

Get list of all coins at Openledger. Here you'll see "intermediateAccount" which contains the destination account name:
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.
Br, Rune
~ Please vote on blockbasis-witness
~ https://www.blockbasis.com

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
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

Offline oddhome

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