easyway
Sign inCreate free account

Accept Spark (SPK) payments

SPK is the token of Spark, the lending and savings protocol in the Sky (formerly MakerDAO) ecosystem behind SparkLend and the Spark savings vaults. easyway accepts the ERC-20 SPK on Ethereum through the same checkout and API as ETH and the stablecoins. This page lists the exact contract, the Spark tokens that cannot pay an invoice, what a payment costs and how to integrate it.

Token, network and limits

TokenNetworkContractConfirmationsMin. withdrawalWithdrawal fee
SPK (Spark)Ethereum · ERC-200xc20059e0317DE91738d13af027DfC4a50781b0661243 SPK140 SPK (flat)

The contract address is the one on Spark's own SPK token page, and CoinGecko lists the same one. SPK has 18 decimals and is built like Sky's own token: a small contract that is not upgradeable, with no transfer fee, no pause switch and no blocklist, so the amount the customer sends is the amount that arrives. easyway checks on every self-test that it is still not a proxy. A transfer to a new address costs about 52,000 gas, and the flat withdrawal fee covers it.

Spark tokens that can't pay an invoice

TokenWhat it isPays an SPK invoice?
SPKSpark's token on Ethereum (contract above)Yes
Staked SPKSPK locked in Spark's stakingNo: unstake to SPK first
SPK on another networkA bridged copy with its own contractNo: Ethereum only
sUSDS / sUSDC / spTokensSavings and SparkLend deposit tokensNo: a different token

All of these live at other addresses, and the watcher only counts transfers of the SPK contract itself to the invoice's deposit address. When paying from an exchange, the customer picks SPK on Ethereum (ERC-20) in the withdrawal form; the guide to paying from an exchange shows the steps. A wallet payment also needs a little ETH for gas.

Amounts and fees

For a USD invoice the SPK 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.8 SPK is ignored as dust, and the invoice is paid after 12 Ethereum confirmations. Short or late payments are handled as in the underpaid and late payments guide.

SPK is volatile, and it stays SPK: it is credited and withdrawn in SPK, so any price move after the payment is yours. The platform fee is a flat 0.5% of each confirmed payment, so 100,000 SPK received leaves 99,500 SPK on your balance. A withdrawal costs a fixed 140 SPK to cover the Ethereum gas of one token transfer; see the pricing page for the other coins, and the comparison of gateway fees for how this fee model compares with other gateways.

Integrating

There is no SPK-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 SPK, pass currency = "SPK_ERC20"; to offer only SPK, pass allowed_assets with "SPK_ERC20" (see limiting the checkout to some coins). The quickstart has runnable examples.

Common questions

Is easyway part of Spark or Sky? No. easyway is independent of both. It only receives the ERC-20 SPK token on Ethereum as payment for your own goods or services. It does not stake, lend or convert payments.

Where is the SPK 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 tokens from the same corner of DeFi include Sky (SKY), Maple Finance (SYRUP) and Aave (AAVE).

Create free accountRead the API docsAlready have an account? Sign in
Accept Spark (SPK) payments on Ethereum | easyway