Example code for the /v1/transactions/by_hash/{transaction_hash} json-rpc method. Сomplete guide on how to use /v1/transactions/by_hash/{transaction_hash} json-rpc in GetBlock.io Web3 documentation.
Parameters
-
Request
curl --location --request GET 'https://apt.getblock.io/v1/transactions/by_hash/0x0137b99014705df2077763263f170ebef40fc88006d09da3b9139a32d761b554?'--header 'x-api-key: YOUR-API-KEY'--header 'Content-Type: application/json'