Skip to content

Instantly share code, notes, and snippets.

@xeroc
Created November 22, 2017 14:45
Show Gist options
  • Save xeroc/40ae113bf00bda226e9e51bf977855d6 to your computer and use it in GitHub Desktop.
Save xeroc/40ae113bf00bda226e9e51bf977855d6 to your computer and use it in GitHub Desktop.
from pprint import pprint
from bitshares import BitShares
from bitshares.block import Block
bts = BitShares()
block = Block(22016660, bitshares_instance=bts)
tx = block["transactions"][0]
pprint(
bts.rpc.get_transaction_hex(tx)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment