For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get transaction receipt by hash

Get transaction receipt using the transaction hash (transaction id). This method is supported only for EVMs (ETHEREUM, CELO, POLYGON, BSC, STRATUS, ...)

sdk.transaction.getTransactionReceiptByHash(opts)

  • opts.hash (string)(required) - transaction hash.

  • opts.protocol (string)(required) - blockchain protocol.

const tx = await sdk.transaction.getTransactionReceiptByHash({ hash: '<hash>', protocol: 'BSC' })
// Blockchain transaction receipt returned

Last updated