easyway
Sign inCreate free account

Accept Yearn (YFI) payments

YFI is the governance token of Yearn, a set of vaults on Ethereum that move deposits between lending and liquidity protocols to earn yield. easyway accepts the ERC-20 YFI on Ethereum through the same checkout and API as ETH and the stablecoins. This page lists the exact contract, the YFI balances that cannot pay an invoice, how the small per-coin amounts work, what a payment costs and how to integrate it.

Token, network and limits

TokenNetworkContractConfirmationsMin. withdrawalWithdrawal fee
YFI (Yearn)Ethereum · ERC-200x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e120.00034 YFI0.0011 YFI (flat)

Yearn lists this address on the contract-addresses page of its documentation, and Trust Wallet's token list and CoinGecko have the same one. The YFI contract dates from 2020 and is a plain token contract, not an upgradeable proxy: there is no pause switch and no transfer fee, so the amount the customer sends is the amount that arrives. A transfer to a new address costs about 52,000 gas, and the flat withdrawal fee covers it.

One YFI is worth a lot: amounts have many decimals

Only about 36,666 YFI exist, so one token is priced far above most coins on the checkout. At around $1,600 per YFI (late 2026), a $50 order comes to about "0.0312" YFI. YFI has 18 decimals, and easyway keeps every amount as a decimal string (invoice amounts, webhook fields and balances), so nothing is rounded to a float on the way. Store the string as you receive it, and compare amounts as decimals, not as JavaScript numbers.

The same applies to withdrawals: the smallest one is 0.00034 YFI and the fee is 0.0011 YFI. These look tiny, but at the market price they are in line with the other Ethereum tokens on the pricing page.

yvYFI, veYFI and bridged YFI can't pay an invoice

YFI deposited into a Yearn vault is represented by a vault share (yvYFI), and YFI locked for governance becomes veYFI, which cannot be transferred until the lock ends. Both are other contracts. YFI also exists bridged to Base, Arbitrum, Polygon and other networks, where it is again a different contract on a different chain.

The checkout gives an Ethereum address, and only YFI sent on Ethereum from the contract above is credited. When paying from an exchange, the customer chooses YFI on Ethereum (ERC-20) in the withdrawal form; the guide to paying from an exchange shows the steps.

Amounts and fees

For a USD invoice the YFI amount is fixed from the exchange rate at the moment the customer picks the coin, and the checkout shows the exact figure. A single transfer below 0.000006 YFI is ignored as dust, and the invoice is paid after 12 Ethereum confirmations, usually a few minutes. Short or late payments are handled as in the underpaid and late payments guide.

YFI is volatile, and it stays YFI: it is credited and withdrawn in YFI, so any price move after the payment is yours. The platform fee is a flat 0.5% of each confirmed payment, so 2.5 YFI received leaves 2.4875 YFI on your balance. A withdrawal costs a fixed 0.0011 YFI to cover the Ethereum gas of one token transfer.

Integrating

There is no YFI-specific code. Create an invoice with the API (or a payment link without code), redirect the customer to the hosted checkout and fulfil the order when the signed invoice.paid webhook arrives. To price the invoice in YFI, pass currency = "YFI_ERC20"; to offer only YFI, pass allowed_assets with "YFI_ERC20" (see limiting the checkout to some coins). The quickstart has runnable examples.

Common questions

Is easyway part of Yearn? No. easyway is independent of Yearn; it only receives the ERC-20 YFI token on Ethereum as payment for your own goods or services. It does not deposit payments into Yearn vaults, earn yield on them or convert them into other coins.

Where is the YFI kept after a payment? On your easyway balance until you withdraw it, and live withdrawals only go to addresses you whitelisted with two-factor authentication (see security). Other DeFi tokens you can accept are Aave (AAVE), Curve DAO (CRV), Convex Finance (CVX), Compound (COMP) and Maple Finance (SYRUP).

Create free accountRead the API docsAlready have an account? Sign in
Accept Yearn (YFI) payments on Ethereum (ERC-20) | easyway