Crypto APIs icon

Crypto APIs

Interact with Crypto APIs — blockchain data, transactions, market data, and more

Actions77

Blockchain Fee → Estimate Token Transfer Gas

AI-generated

Summary

Estimate the gas limit for transferring an EVM token by sending the sender and recipient addresses, token contract, contract type, and token amount to the Crypto APIs gas-estimation endpoint.

Inputs

  • Blockchain Type — Select EVM to expose this operation; the selector defaults to EVM.
  • Blockchain (required) — EVM chain, such as Ethereum, Arbitrum, or Polygon.
  • Network (required) — Network for the selected chain, such as mainnet or a supported test network.
  • From Address (required) — Sender address.
  • To Address (required) — Recipient address.
  • Contract Address (required) — Token contract address.
  • Contract Type (required) — Token standard: ERC-20 or ERC-721.
  • Token Amount (required) — Amount of tokens to transfer, supplied as a string.

Output shape

A single record containing the API's unwrapped response item.

The operation calls the token-transfer gas-limit endpoint. The request body uses the sender, recipient, contract, contract type, and amount; the recipient is required by the endpoint.

Links

Discussion