⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!
XRP (XRP)
Method: POST transaction_entry
The transaction_entry method retrieves information on a single transaction from a specific ledger version.
(The tx method, by contrast, searches all ledgers for the specified transaction. We recommend using that method instead.)
ledger_hash
- String
(Optional) A 20-byte hex string for the ledger version to use.
ledger_index
- String or Unsigned Integer
(Optional) The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.
tx_hash
- String
Unique hash of the transaction you are looking up
curl --location --request POST 'https://xrp.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "transaction_entry", "params": [{"tx_hash": "C53ECF838647FA5A4C780377025FEC7999AB4182590510CA461444B207AB74A9"}], "id": "getblock.io"}'
{ "result": { "error": "notYetImplemented", "ledger_current_index": 63632463, "request": { "command": "transaction_entry", "tx_hash": "C53ECF838647FA5A4C780377025FEC7999AB4182590510CA461444B207AB74A9" }, "status": "error", "validated": false } }