Get Transaction information by ID.
This method will use 15 Compute Units.
15
Last updated 6 months ago
Returns transaction information based on the given transaction id
Transaction id
"0.0.10-1234567890-000000000"
OK
const response = await fetch('https://mainnet.hedera.validationcloud.io/v1/YOUR_API_KEY/api/v1/transactions/{transactionId}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "transactions": [ { "assessed_custom_fees": [ { "amount": 100, "collector_account_id": "0.0.10", "effective_payer_account_ids": [ "0.0.8", "0.0.72" ], "token_id": "0.0.90001" } ], "bytes": null, "charged_tx_fee": 7, "consensus_timestamp": "1234567890.000000007", "entity_id": "0.0.2281979", "max_fee": 33, "memo_base64": null, "name": "CRYPTOTRANSFER", "nft_transfers": [ { "is_approval": true, "receiver_account_id": "0.0.121", "sender_account_id": "0.0.122", "serial_number": 1, "token_id": "0.0.123" }, { "is_approval": true, "receiver_account_id": "0.0.321", "sender_account_id": "0.0.422", "serial_number": 2, "token_id":