Add DeliverMin field to tx CheckCash.

This commit is contained in:
muzam1l
2023-03-17 20:10:57 +05:30
parent 5d8d142bc4
commit c4af3df017
2 changed files with 5 additions and 1 deletions

View File

@@ -30,6 +30,10 @@
"$value": "100",
"$type": "amount.xrp"
},
"DeliverMin": {
"$value": "",
"$type": "amount.xrp"
},
"CheckID": "838766BA2B995C00744175F69A1B11E32C3DBC40E64801A4056FCBD657F57334",
"Fee": "12"
},

View File

@@ -25,7 +25,7 @@ const estimateFee = async (
const res = await xrplSend({ command: 'fee', tx_blob: signedTransaction })
if (res.error) {
throw new Error(`[${res.error}] ${res.error_exception}`);
throw new Error(`[${res.error}] ${res.error_exception}.`);
}
if (res && res.drops) {
return res.drops