Return deployed contract's ABI
Return deployed contract’s ABI by blockchain native asset id and contract address. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer.
GET
TypeScript
Headers
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
The contract's onchain address
The blockchain base assetId
Response
The abi of the contract
- Option 1
- Option 2
Example:
[
{
"inputs": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
}
]The abi of the implementation contract if exists. Relevant only for proxy patterns
Example:
[
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "mint"
}
]Previous
Call a read function on a deployed contractCall a read function on a deployed contract by blockchain native asset id and contract address
Next
TypeScript