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": {
"deposit-fee-rate-sats-per-vb": 8,
"deposit-size-v-bytes": 113,
"depositEta": "21m",
"depositFee": 1404,
"withdrawal-fee-rate-sats-per-vb": 5,
"withdrawal-size-v-bytes": 143,
"withdrawalEta": "44m",
"withdrawalFee": 715
},
"ethereum": {
"base-fee": 4180642406,
"depositEta": "3m",
"depositFee": 542339092071454,
"eth-deposit-gas": 21000,
"eth-withdrawal-gas": 50000,
"priority-fee": 7000,
"withdrawalEta": "7m",
"withdrawalFee": 209032470300000
},
"solana": {
"depositEta": "1m",
"depositFee": 8711125,
"withdrawalEta": "4m",
"withdrawalFee": 8000
},
"spl": {
"depositEta": "1m",
"depositFee": 7857245,
"withdrawalEta": "4m",
"withdrawalFee": 2815836
}
}
Last updated