looking for some solutions? You are welcome.

SOLVED: EOS API Get Transaction


I am new to EOS Blockchain and try to setup a local node and pulling the transactions and Blocks data from Mainnet with the API.

I am following the example API on the EOS's developer site.

import requests

url = "http://host/:port/v1/chain/get_block"

headers = {'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'}

response = requests.request("POST", url, headers=headers)


Would appreciate if anyone could provides me the example code in Python. Do I need an account to sync the transactions from Mainnet?

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: