Blockchain utils
Get the blockchain address of a smart contract by the deployment transaction ID
/v3/blockchain/sc/address/{chain}/{hash}
1 credit per API call
Get the blockchain address of a smart contract by the ID of its deployment transaction.
This API is supported for the following blockchains:
- Algorand
- BNB Smart Chain
- Celo
- Elrond
- Ethereum
- Harmony
- Klaytn
- Polygon
- TRON
- XinFin
get/v3/blockchain/sc/address/{chain}/{hash}
Request
- Base URLhttps://api.tatum.io
- URLhttps://api.tatum.io/v3/blockchain/sc/address/{chain}/{hash}
- AuthAPI key in header x-api-key
Path parameters
chain'ALGO' | 'BSC' | 'CELO' | 'EGLD' | 'ETH' | 'KLAY' | 'KCS' | 'MATIC' | 'ONE' | 'TRON' | 'XDC' required
The blockchain to work with
hashstring required
Example:0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7
The ID (hash) of the deployment transaction
Response
OK
Example response
{
"contractAddress": "0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"
}Changes
No recorded changes to this operation across all 1 revision of this API.