Estimates gas for a given off-ledger ISC request
Path parameters
ChainID (Bech32)
Request body
Example request
{
"requestBytes": "requestBytes",
"fromAddress": "fromAddress"
}Response
ReceiptResponse
Example response
{
"gasBurnLog": [
{
"code": 6,
"gasBurned": 1
},
{
"code": 6,
"gasBurned": 1
}
],
"request": {
"fungibleTokens": {
"nfts": [
"nfts",
"nfts"
],
"baseTokens": "baseTokens",
"nativeTokens": [
{
"amount": "amount",
"id": "id"
},
{
"amount": "amount",
"id": "id"
}
]
},
"senderAccount": "senderAccount",
"isOffLedger": true,
"requestId": "requestId",
"callTarget": {
"contractHName": "contractHName",
"functionHName": "functionHName"
},
"gasBudget": "gasBudget",
"targetAddress": "targetAddress",
"allowance": {
"nfts": [
"nfts",
"nfts"
],
"baseTokens": "baseTokens",
"nativeTokens": [
{
"amount": "amount",
"id": "id"
},
{
"amount": "amount",
"id": "id"
}
]
},
"params": {
"Items": [
{
"value": "value",
"key": "key"
},
{
"value": "value",
"key": "key"
}
]
},
"nft": {
"owner": "owner",
"metadata": "metadata",
"id": "id",
"issuer": "issuer"
},
"isEVM": true
},
"blockIndex": 1,
"rawError": {
"code": "code",
"params": [
"params",
"params"
]
},
"requestIndex": 1,
"storageDepositCharged": "storageDepositCharged",
"gasFeeCharged": "gasFeeCharged",
"errorMessage": "errorMessage",
"gasBudget": "gasBudget",
"gasBurned": "gasBurned"
}Changes
Changed in 7 of the 50 revisions of this API.19325
- ▲
added the new required request property
fromAddressnew-required-request-property
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
requestresponse's property type/format changed fromstring/stringtoobject/for status200response-property-type-changed
- ○
added the required property
request/allowanceto the response with the200statusresponse-required-property-added
- ○
added the required property
request/callTargetto the response with the200statusresponse-required-property-added
- ○
added the required property
request/fungibleTokensto the response with the200statusresponse-required-property-added
- ○
added the required property
request/gasBudgetto the response with the200statusresponse-required-property-added
- ○
added the required property
request/isEVMto the response with the200statusresponse-required-property-added
- ○
added the required property
request/isOffLedgerto the response with the200statusresponse-required-property-added
- ○
added the required property
request/nftto the response with the200statusresponse-required-property-added
- ○
added the required property
request/paramsto the response with the200statusresponse-required-property-added
- ○
added the required property
request/requestIdto the response with the200statusresponse-required-property-added
- ○
added the required property
request/senderAccountto the response with the200statusresponse-required-property-added
- ○
added the required property
request/targetAddressto the response with the200statusresponse-required-property-added
- ○
added the required property
storageDepositChargedto the response with the200statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
requestresponse's property type/format changed fromstring/stringtoobject/for status200response-property-type-changed
- ○
added the required property
request/allowanceto the response with the200statusresponse-required-property-added
- ○
added the required property
request/callTargetto the response with the200statusresponse-required-property-added
- ○
added the required property
request/fungibleTokensto the response with the200statusresponse-required-property-added
- ○
added the required property
request/gasBudgetto the response with the200statusresponse-required-property-added
- ○
added the required property
request/isEVMto the response with the200statusresponse-required-property-added
- ○
added the required property
request/isOffLedgerto the response with the200statusresponse-required-property-added
- ○
added the required property
request/nftto the response with the200statusresponse-required-property-added
- ○
added the required property
request/paramsto the response with the200statusresponse-required-property-added
- ○
added the required property
request/requestIdto the response with the200statusresponse-required-property-added
- ○
added the required property
request/senderAccountto the response with the200statusresponse-required-property-added
- ○
added the required property
request/targetAddressto the response with the200statusresponse-required-property-added
- ○
added the required property
storageDepositChargedto the response with the200statusresponse-required-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
requestresponse's property type/format changed fromobject/tostring/stringfor status200response-property-type-changed
- ▲
removed the required property
request/allowancefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/callTargetfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/fungibleTokensfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/gasBudgetfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/isEVMfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/isOffLedgerfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/nftfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/paramsfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/requestIdfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/senderAccountfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
request/targetAddressfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
storageDepositChargedfrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
rawError/hashfrom the response with the200statusresponse-optional-property-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
rawError/coderesponse's property type/format changed fromobject/tostring/stringfor status200response-property-type-changed
- ▲
the
rawError/hashresponse's property type/format changed frominteger/int32tostring/stringfor status200response-property-type-changed
- ●
removed the optional property
rawError/code/ContractIDfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
rawError/code/IDfrom the response with the200statusresponse-optional-property-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲