Account
Get Max Sendable Amount
This endpoint returns the maximum sendable amount and the corresponding transaction fee for a given address. It takes in various parameters such as the coin code, fee rate, to_address, and from_address. The response includes the coin decimal, fee coin, the maximum sendable amount, and the corresponding transaction fee.
GET
/
v1
/
custody
/
mpc
/
get_max_send_amount
/
Request
coin
String
requiredcoin code
fee_rate
Float
requiredgas price (unit: wei) for account model or transaction fees per byte for UTXO model
to_address
String
requiredto address
from_address
String
Account Model: this parameter is required
UTXO Model: this parameter is optional, the input will be selected based off the current wallet if the parameter is empty or not passed
Response
success
bool
request successful or failed
result
object