Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Backend
Fetches a single transaction by its hash or internal ID.
const transaction = await sdk.getTransaction("0x...", bearerToken);
hashOrId
string
0x...
bearerToken
apiSecretKey
Promise<Transaction>
id
transactionHash
status
senderAddress
destinationAddress
amount
token
// Fetch by transaction hash const tx = await sdk.getTransaction( "0x04abc...def", bearerToken, ); console.log(tx.status, tx.amount, tx.token); // Fetch by internal ID const tx2 = await sdk.getTransaction("tx-123", bearerToken);
Was this page helpful?