Estimate-tx-fee
Estimate the transaction fee for current layer 1 or layer 2 asset transfer.
Last updated
Estimate the transaction fee for current layer 1 or layer 2 asset transfer.
Last updated
Content-Type
application/json
Authorization
token
wallet_id
string
true
The end user's wallet id
amount
int
false
the amount of satoshi to send in case of type 1
type
int
true
1 layer 1 btc transfer; 2 layer 2 taproot asset transfer
fee_rate
int
true
satoshi cost per byte
tx_fee
int
estimated tx_fee for this transaction