Ethereum: ETH, Gas Fees and ERC-20 Tokens Explained
Ethereum is a public blockchain that runs smart contracts and settles two kinds of value: ETH, its native currency, and tokens built under standards such as ERC-20. Every transaction pays gas in ETH, and blocks are produced in fixed 12-second slots under proof of stake.
To accept Ethereum payments you need an address, a way to detect deposits and, for payouts, ETH to cover gas. The Chaingateway API provides all three over REST, so there is no node to sync and no web3.js in your code. This page explains how gas, tokens and finality work.
For the integration itself, the Chaingateway Ethereum API sends and receives ETH and ERC-20 tokens. Running your own node instead is compared on the Ethereum node page.
What does Ethereum settle: ETH or tokens?
Both. Ethereum settles ETH itself and the tokens that live inside smart contracts on the same chain. ERC-20 is the token standard behind USDT, USDC, DAI and thousands of other assets. EIP-20 defines a shared contract interface (balanceOf, transfer, approve) that lets any wallet or exchange work with any compliant token in the same way.
ERC-721 and ERC-1155 extend the same contract model to non-fungible and multi-token assets. Our ERC-20 token standard guide covers the format in more depth, and the ERC-20 address guide explains how an address and a token contract differ.
Who pays gas on an Ethereum transaction?
The sending address pays, in ETH, and never the recipient. A plain ETH transfer costs a fixed 21,000 units of gas. An ERC-20 transfer runs contract code, so it costs a multiple of that, and the multiple varies by token.
Since the London upgrade (EIP-1559), the price per unit of gas splits into a base fee that the network burns and a priority tip for the block proposer. Both rise when the network is busy. The ethereum.org gas documentation gives a worked example: with a base fee of 10 gwei and a 2 gwei tip, a plain transfer costs 21,000 x 12 gwei, which is 252,000 gwei or 0.000252 ETH.
A wallet that holds tokens but no ETH cannot send them, because the token contract cannot pay for its own execution. Receiving costs the recipient nothing. Gas matters when funds move out again, including when a treasury wallet sweeps deposits in from customer addresses.
In the Chaingateway API, gas limit, gas price and the EIP-1559 fee caps (maxFeePerGas, maxPriorityFeePerGas) are optional fields on a transaction request. Leave them out and the API sets them when it builds and broadcasts your transaction. Pass them when you want the fee pinned.
How long until an Ethereum transaction is final?
About 13 minutes, although inclusion in a block usually takes seconds to a minute. Ethereum has run on proof of stake since the Merge. Per ethereum.org, time is divided into 12-second slots and 32-slot epochs, and one validator is selected to propose a block in each slot.
A block is finalized once two-thirds of the staked ETH has voted for it across two checkpoints, which takes roughly two epochs, about 12.8 minutes. Finality means the block cannot be reverted unless an attacker destroys at least a third of all staked ETH.
Most applications credit ordinary-sized deposits after inclusion plus a handful of blocks, and reserve the full wait for large amounts. The deposit webhook gives you the on-chain event. Where the crediting line sits is a policy decision in your own code.
Sending and receiving Ethereum over REST
Webhooks
Register a callback URL and get an HTTPS notification, signed with an X-Signature header, when a deposit settles. Delivery has no built-in automatic retry — failed notifications are listed by GET /api/v2/ethereum/webhooks/notifications/failed and can be re-sent with one call.
Easy transactions
Send ETH and ERC-20 tokens with gas limit, gas price and nonce as optional request fields. Supply the recipient, the token and the amount, and the API fills in the rest, or pin the fee fields yourself when you want control.
Secure address handling
Address format is validated on every request, and existing keys come in through POST /api/v2/ethereum/addresses/import, password-protected and stored encrypted. The architecture is non-custodial.
Decoded queries
Transactions come back as readable JSON through GET /api/v2/ethereum/transactions/{txid}/decoded, so your application reads structured fields instead of parsing raw contract output.
Get started in three steps
Create an account and copy your API key from the dashboard. The 7-day trial starts without a credit card or KYC.
Call GET /api/account to confirm the key works, then create an address or import an existing one under POST /api/v2/ethereum/addresses/import.
Add the header X-Network: testnet, fund the address from a public Sepolia faucet, and send a test ERC-20 transfer. Register a webhook, then drop the header — the same code runs on mainnet.
Does the same request work on Polygon and Arbitrum?
Yes, with a different path. The ERC-20 request pattern that Ethereum uses repeats on the other EVM chains the API covers. /api/v2/polygon/transactions/erc20 and /api/v2/arbitrum/transactions/erc20 take the same fields as Ethereum's own route, and BNB Smart Chain uses /api/v2/bsc/transactions/bep20.
Code written against Ethereum ports to Polygon or Arbitrum by editing the path, which matters when mainnet gas makes a small transfer uneconomical. The full chain list is on the blockchain API overview.
Sources
- Gas and fees (ethereum.org)
- Proof-of-stake and Gasper (ethereum.org)
- EIP-1559: Fee market change
- ERC-20: Token Standard
Checked on 5 November 2026.
Frequently asked questions
Ready to build on Ethereum?
Create an account at app.chaingateway.io/register and send a Sepolia ERC-20 transfer within the trial. The full endpoint reference is in the Ethereum API docs, and plans and rate limits are on their own page.
Reviewed by Maurice Sobiera How we write these pages