This endpoint helps customer in estimating the Contract Interaction Gas Limit needed for a transaction. It gives information for gas expenses for a specific contract when calling a specific function.
Represents the specific blockchain protocol name, e.g. Arbitrum.
Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while network like "testnet" is a test network.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
Represents transactions' amount. Should be 0 for non-payable functions.
ABI encoded value hex value of function name and parameters, e.g. "balanceOf(0x66a9893cc07d91d95644aedd05d03f95e1dba8af)" should be represented as "0x70a0823100000000000000000000000066a9893cc07d91d95644aedd05d03f95e1dba8af"
Represents the address which receives this transaction.
Represents the address which sends this transaction.
Specifies the version of the API that incorporates this endpoint.
Defines the ID of the request. The requestId
is generated by Crypto APIs and it's unique for every request.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
Represents the amount of gas used by this specific transaction alone.
API Key
{
"context": "yourExampleString",
"data": {
"item": {
"amount": "0.12",
"inputData": "0x70a0823100000000000000000000000066a9893cc07d91d95644aedd05d03f95e1dba8af",
"recipient": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"sender": "0x4337006f33e2940FcbEbD899bF2396117E65dF9B"
}
}
}
{
"apiVersion": "2024-12-12",
"requestId": "601c1710034ed6d407996b30",
"context": "yourExampleString",
"data": {
"item": {
"gasLimit": 550000
}
}
}