chains

Wait until the given request has been processed by the node

Changed on
get/v1/chains/{chainID}/requests/{requestID}/wait

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/chains/{chainID}/requests/{requestID}/wait
  • Auth
    none declared

Path parameters

chainIDstring string required

ChainID (Bech32)

requestIDstring string required

RequestID (Hex)

Query parameters

timeoutSecondsinteger

The timeout in seconds, maximum 60s

waitForL1Confirmationboolean

Wait for the block to be confirmed on L1

Response

The request receipt

blockIndexinteger required
errorMessagestring string
gasBudgetstring string required

The gas budget (uint64 as string)

gasBurnedstring string required

The burned gas (uint64 as string)

gasFeeChargedstring string required

The charged gas fee (uint64 as string)

requestIndexinteger required
storageDepositChargedstring string required

Storage deposit charged (uint64 as string)

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

    • breaking

      the response's property type changed from string to object, and format from string to no format for status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      the response's property type changed from string to object, and format from string to no format for status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property to the response with the status