Accept 0x Protocol (ZRX) payments
ZRX is the token of 0x, the protocol and API that many wallets and apps use to find swap prices across exchanges. easyway accepts ZRX as an ERC-20 on Ethereum with the same checkout and API as ETH and the stablecoins. Below: the exact contract, what does not count as a ZRX payment, and the numbers.
Token, network and limits
| Token | Network | Contract | Confirmations | Min. withdrawal | Withdrawal fee |
|---|---|---|---|---|---|
| ZRX (0x Protocol) | Ethereum · ERC-20 | 0xE41d2489571d322189246DaFA5ebDe1F4699F498 | 12 | 6.5 ZRX | 22 ZRX (flat) |
0x publishes its deployed addresses in a contract-addresses package on GitHub; on Ethereum the entry zrxToken is this contract, and CoinGecko and Trust Wallet's token list give the same one. It is the original 2017 token: a plain ERC-20 with 18 decimals and a fixed supply of one billion, not an upgradeable proxy, and it takes no fee on a transfer, so the amount the customer sends is the amount that arrives.
What counts as a ZRX payment
Only a plain transfer of the Ethereum token to the invoice address counts. ZRX that is locked in a contract, or a copy of ZRX on another chain, is a different thing to the checkout:
| What the customer holds | Where it is | Credited? |
|---|---|---|
| ZRX in an Ethereum wallet or on an exchange | 0xE41d2489571d322189246DaFA5ebDe1F4699F498 | Yes |
| ZRX staked with 0x | 0xBa7f8b5fB1b19c1211c5d49550fcD149177A5Eaf (0x staking vault) | No — unstake and withdraw first |
| ZRX bridged to another chain | A different contract on that chain | No |
An easyway deposit address is the same on every EVM chain, so a wallet set to another network will accept the invoice address without a warning; ZRX sent that way stays at that chain's copy of the address and the invoice stays open. Ask customers to pick ZRX on Ethereum (ERC-20). When paying from an exchange, the withdrawal form decides the network; the guide to paying from an exchange shows where.
Amounts and fees
On a USD invoice the ZRX amount is locked from the exchange rate when the customer selects the coin, and the checkout shows the exact amount to send. Transfers under 0.1 ZRX are skipped as dust; several larger ones add up, and the invoice is paid after 12 confirmations, usually a few minutes. Short or late payments follow the underpaid and late payments guide.
ZRX is not a stablecoin: the payment is credited and later withdrawn in ZRX, so later price moves are yours. The platform fee is a flat 0.5% of each confirmed payment: 1000 ZRX received leaves 995 ZRX on your balance. A withdrawal costs a fixed 22 ZRX, which covers the Ethereum gas of one token transfer, so withdraw in larger batches rather than many small ones. Every coin's numbers are on the pricing page.
Integrating
Nothing is ZRX-specific: create an invoice with the API (or a payment link if you don't write code), send the customer to the hosted checkout and deliver when the signed invoice.paid webhook arrives. To price an invoice in ZRX itself, pass currency = "ZRX_ERC20"; to show only ZRX at checkout, pass allowed_assets with "ZRX_ERC20" (see limiting the checkout to some coins). Runnable examples are in the quickstart.
Common questions
Is easyway connected to 0x? No. easyway is independent and does not use the 0x Swap API; it only receives the ZRX token on Ethereum as a payment for your own goods or services. It does not swap, stake or vote with it.
Where is the ZRX kept after a payment? On your easyway balance until you withdraw it. Live withdrawals only go to addresses you whitelisted with two-factor authentication; see security. Other DeFi tokens accepted on Ethereum include Uniswap (UNI) and 1inch (1INCH); the DeFi token guide compares them.