Fetch the contract ABI
POST {{baseUrl}}/tokenization/contracts/fetch_abi
Fetch the ABI. If not found fetch the ABI from the block explorer
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
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. | |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"contractAddress": "<string>",
"baseAssetId": "<string>",
"name": "<string>",
"abi": [
{
"type": "function",
"inputs": [
{
"name": "<string>",
"type": "<string>",
"description": "<string>",
"internalType": "<string>",
"components": [
{
"value": "<Circular reference to #/components/schemas/Parameter detected>"
},
{
"value": "<Circular reference to #/components/schemas/Parameter detected>"
}
]
},
{
"name": "<string>",
"type": "<string>",
"description": "<string>",
"internalType": "<string>",
"components": [
{
"value": "<Circular reference to #/components/schemas/Parameter detected>"
},
{
"value": "<Circular reference to #/components/schemas/Parameter detected>"
}
]
}
],
"name": "<string>",
"stateMutability": "nonpayable",
"outputs": [
{
"name": "<string>",
"type": "<string>",
"description": "<string>",
"internalType": "<string>",
"components": [
{
"value": "<Circular reference to #/components/schemas/Parameter detected>"
},
{
"value": "<Circular reference to #/components/schemas/Parameter detected>"
}
]
},
{
"name": "<string>",
"type": "<string>",
"description&quo Curl curl -X POST 'https://api.fireblocks.io/v1/tokenization/contracts/fetch_abi' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"baseAssetId":"\u003cstring\u003e","contractAddress":"\u003cstring\u003e"}' ENDPOINTS |