Deployed Contracts
Save contract ABI
Save contract ABI for the tenant
post/tokenization/contracts/abi
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
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.
Request body
Example request
{
"contractAddress": "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
"baseAssetId": "ETH",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "mint"
}
],
"name": "MyContract"
}Response
Contract ABI created (or updated) for the tenant
Example response
{
"contractAddress": "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
"baseAssetId": "ETH_TEST6",
"name": "WETH9",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "mint"
}
],
"isProxy": true,
"implementation": "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
"isPublic": true
}Changes
No recorded changes to this operation across all 1 revision of this API.