diff --git a/content/transactions.json b/content/transactions.json index 8d4f369..930ea34 100644 --- a/content/transactions.json +++ b/content/transactions.json @@ -30,6 +30,10 @@ "$value": "100", "$type": "amount.xrp" }, + "DeliverMin": { + "$value": "", + "$type": "amount.xrp" + }, "CheckID": "838766BA2B995C00744175F69A1B11E32C3DBC40E64801A4056FCBD657F57334", "Fee": "12" }, diff --git a/utils/estimateFee.ts b/utils/estimateFee.ts index 0f3bde8..e8e90f1 100644 --- a/utils/estimateFee.ts +++ b/utils/estimateFee.ts @@ -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