Type alias WithdrawalRequest

WithdrawalRequest: {
    address: Hex;
    amount?: bigint;
    recipient?: Hex;
}

Type declaration

  • address: Hex

    The address of the asset

  • Optional amount?: bigint

    The amount to withdraw. Expects unformatted amount. Will use max amount if unset

  • Optional recipient?: Hex

    The destination address of the funds. The second argument from the withdraw(...) function will be used as the default if left unset.