---
title: "Get contract address by transaction hash"
method: GET
path: "/contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}"
tags: ["Contract Interactions"]
---

# Get contract address by transaction hash

`GET /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/contract_interactions/base_asset_id/:baseAssetId/tx_hash/:txHash/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the contract address by blockchain native asset ID and transaction hash

## Path parameters

- `baseAssetId` string, required
- `txHash` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Retrieved The Contract Address Successfully

- ContractAddressResponse
  - `contractAddress` string, required: The contract's onchain address

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
