Skip to main content
GET
/
contract_interactions
/
base_asset_id
/
{baseAssetId}
/
tx_hash
/
{txHash}
TypeScript
const response: Promise<FireblocksResponse<ContractAddressResponse>> = fireblocks.contractInteractions.getContractAddress(contractInteractionsApiGetContractAddressRequest);
{
  "contractAddress": "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"
}

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Path Parameters

baseAssetId
string
required

The blockchain base assetId

txHash
string
required

The transaction hash

Response

Retrieved The Contract Address Successfully

contractAddress
string
required

The contract's onchain address

Example:

"0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66"