简体   繁体   中英

How to get value of transactions in blockchain from transaction hash?

I have create a file with hash address. There any methods found this amount via API?

If you are using web3.js you can pass transaction hash to a function like web3.eth.getTransaction(transactionHash [, callback]) to get information about the transaction. It will also include a value field which you have passed to the transaction

Read more about transaction receipts and logs here

in the bitcoin.network to get transaction details from transaction hash then you can use get transaction RPC API call

https://developer.bitcoin.org/reference/rpc/gettransaction.html

I have created videos for how to set up BTC node and work with RPC API call https://youtu.be/_c4TJrP7osc

please watch it that might help you for how to setup

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM