Gas pump

Get the results of the address activation transaction

/v3/gas-pump/address/{chain}/{txId}

1 credit per API call

Get the results of the activation transaction after activating gas pump addresses.

If the activation transaction got recorded into a block, the API returns two arrays:

  • valid, with the activated gas pump addresses
  • invalid, with the gas pump addresses that for some reason did not get activated together with the reason why

If the transaction is still being processed, the API returns an error message. In this case, repeat the call later.

This API is supported for the following blockchains:

  • BNB Smart Chain
  • Celo
  • Ethereum
  • Harmony
  • Klaytn
  • Polygon
  • TRON
get/v3/gas-pump/address/{chain}/{txId}

Request

  • Base URL
    https://api.tatum.io
  • URL
    https://api.tatum.io/v3/gas-pump/address/{chain}/{txId}
  • Auth
    API key in header x-api-key

Path parameters

chain'BSC' | 'CELO' | 'ETH' | 'KLAY' | 'MATIC' | 'ONE' | 'TRON' required
Example:ETH

The blockchain to work with

txIdstring required
Example:0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326

The ID of the address activation transaction

Response

OK

Example response

{
  "valid": [
    {
      "index": 1,
      "address": "0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea"
    }
  ],
  "invalid": [
    {
      "address": "0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD",
      "reason": "Wallet already exists"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.