Transaction Configuration
Getting transaction parts and maximum amount to transfer/withdraw
Getting Transaction Parts
async getTransactionParts(
txType: TxType,
transfers: TransferRequest[],
relayerFee?: RelayerFee,
withdrawSwap: bigint = 0n,
updateState: boolean = true,
allowPartial: boolean = false,
): Promise<Array<TransferConfig>>Parameters
Returns
Example
Getting Maximum Available Outgoing Transaction
Parameters
Returns
Example
Last updated
Was this helpful?