Estimate Fees
Get current fee rate and processing time estimates for each network
Deposits & withdrawals are comprised of a source transaction, initiated by the user, and a destination transaction, initiated by the Unit Guardians. The user pays for the network fees associated with each of the respective transactions.
Unit exposes a fee estimation endpoint to get the current fee rates (and expected processing times) associated with each network.
Endpoint
GET /v2/estimate-fees
200: OK Successful Response
{
"bitcoin": {
"bitcoin-deposit-fee-rate-sats-per-vb": 8,
"bitcoin-deposit-size-v-bytes": 113,
"bitcoin-depositEta": "21m",
"bitcoin-depositFee": 2065,
"bitcoin-withdrawal-fee-rate-sats-per-vb": 5,
"bitcoin-withdrawal-size-v-bytes": 143,
"bitcoin-withdrawalEta": "14m",
"bitcoin-withdrawalFee": 715
},
"ethereum": {
"ethereum-base-fee": 13,
"ethereum-depositEta": "3m",
"ethereum-depositFee": 348377194481578,
"ethereum-erc20-deposit-fee": 444005772000,
"ethereum-erc20-deposit-gas": 370000,
"ethereum-erc20-withdrawal-fee": 403205416651,
"ethereum-erc20-withdrawal-gas": 235000,
"ethereum-eth-deposit-gas": 21000,
"ethereum-eth-withdrawal-gas": 50000,
"ethereum-priority-fee": 1000000,
"ethereum-withdrawalEta": "7m",
"ethereum-withdrawalFee": 50000650000
},
"monad": {
"monad-base-fee": 126562500000,
"monad-depositEta": "1m",
"monad-depositFee": 3.3741375569722665e+18,
"monad-eth-deposit-gas": 21000,
"monad-eth-withdrawal-gas": 50000,
"monad-priority-fee": 2000000000,
"monad-withdrawalEta": "4m",
"monad-withdrawalFee": 6428125000000000
},
"plasma": {
"plasma-base-fee": 8,
"plasma-depositEta": "1m",
"plasma-depositFee": 4.624188358606018e+18,
"plasma-eth-deposit-gas": 21000,
"plasma-eth-withdrawal-gas": 50000,
"plasma-priority-fee": 2,
"plasma-withdrawalEta": "4m",
"plasma-withdrawalFee": 500000
},
"solana": {
"solana-depositEta": "1m",
"solana-depositFee": 8622130,
"solana-withdrawalEta": "4m",
"solana-withdrawalFee": 8000
},
"spl": {
"spl-depositEta": "1m",
"spl-depositFee": 7768250,
"spl-withdrawalEta": "4m",
"spl-withdrawalFee": 2815836
}
}Last updated
