Gas pump

Generate a gas pump wallet address

/v3/blockchain/sc/custodial/batch

This API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.

2 credits per API call

Generate new gas pump smart contract address on the blockchain. This address enables custodial providers to receive native assets, ERC20 / ERC721 / ERC1155 tokens on behalf of their customers on dedicated blockchain address, but in the same time it can initiate transfer of those assets away. Gas required for the transfer from that address is going to be deducted from the providers address - the one, which was used to generate the address on the blockchain.

This operation deploys a smart contract on the blockchain.

For paid plans, it is possible to pay for the gas costs - you don't have to provide private key or signatureId. Blockchain fees will be covered by your credits.

This API is supported for the following blockchains:

  • BNB Smart Chain
  • Celo
  • Ethereum
  • Harmony
  • Klaytn
  • Polygon
  • TRON
  • XinFin
post/v3/blockchain/sc/custodial/batch

Request

  • Base URL
    https://api.tatum.io
  • URL
    https://api.tatum.io/v3/blockchain/sc/custodial/batch
  • Auth
    API key in header x-api-key

Headers

x-testnet-type'ethereum-sepolia'

Type of Ethereum testnet. Defaults to ethereum-sepolia.

Request body

OR
OR
OR
OR
OR
OR

Example request

{
  "chain": "MATIC",
  "feesCovered": true,
  "owner": "0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea"
}

Response

OK

OR

Example response

{
  "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9"
}

Changes

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