diff --git a/src/consts/interfaces.consts.ts b/src/consts/interfaces.consts.ts index d8596fc..346bc86 100644 --- a/src/consts/interfaces.consts.ts +++ b/src/consts/interfaces.consts.ts @@ -170,6 +170,7 @@ export interface IPrepareDepositTxsResponse { export interface IPrepareXchainRequestFulfillmentTransactionProps { unsignedTxs: IPeanutUnsignedTransaction[] feeEstimation: string + estimatedFromAmount: string } //signAndSubmitTx diff --git a/src/request.ts b/src/request.ts index fc65367..0b82dea 100644 --- a/src/request.ts +++ b/src/request.ts @@ -319,7 +319,7 @@ export async function prepareXchainRequestFulfillmentTransaction({ unsignedTxs.push(unsignedTx) - return { unsignedTxs, feeEstimation: feeEstimation.toString() } + return { unsignedTxs, feeEstimation: feeEstimation.toString(), estimatedFromAmount } } export function prepareRequestLinkFulfillmentTransaction({