Bitcoin Cash (BCH)
Method: POST getrawtransaction
Return the raw transaction data.
By default this function only works for mempool transactions. When called with a blockhash argument, getrawtransaction will return the transaction if the specified block is available and the transaction is found in that block. When called without a blockhash argument, getrawtransaction will return the transaction if it is in the mempool, or if -txindex is enabled and the transaction is in a block in the blockchain.
txid - string, required
The transaction id
verbose - boolean, optional, default=false
If false, return a string, otherwise return a json object
blockhash - string, optional
The block in which to look for the transaction
Get access to 40+ blockchain nodes right now!GetBlock provides a fast and reliable API connection to full nodes from many leading blockchains.
Email is invalid