Generate a custodial wallet address

/v3/blockchain/sc/custodial

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

If you built your gas pump solution using this API and the API for generating a gas pump wallet address, you can still use this API for creating more custodial addresses for your solution. However, we recommend that you switch to the API for precalculating the gas pump addresses.


2 credits per API call

Generate new gas pump smart contract address on the blockchain. It's possible to enable tokens, which should be detected and supported on that address. 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.

There are multiple options, how this address can be setup - it cannot be changed in the future:

  • Native assets only - ETH, BSC, CELO, MATIC, ONE, TRX
  • Native assets + ERC20 tokens
  • Native assets + ERC721 tokens
  • Native assets + ERC1155 tokens - TRON does not support 1155 standard
  • Native assets + ERC20 + ERC721 tokens
  • Native assets + ERC20 + ERC1155 tokens - TRON does not support 1155 standard
  • Native assets + ERC721 + ERC1155 tokens - TRON does not support 1155 standard
  • Native assets + ERC20 + ERC721 + ERC1155 tokens - TRON does not support 1155 standard

All of these options could be enabled with a batch mode as well - in 1 transaction, it is possible to transfer multiple different assets from that address, e.g. ETH + USDC + ERC721 token. Without batch mode, 3 separate transaction must have been performed.

This operation deploys a smart contract on the blockchain. More assets you will support, more intial gas will be used for address creation. Batch mode adds more gas for every type.

This API is supported for the following blockchains:

  • BNB Smart Chain
  • Celo
  • Ethereum
  • Harmony
  • Polygon
  • TRON (except for Multi Tokens)
Language
Credentials
Header
Click Try It! to start a request and see the response here!