Interface DesktopWalletPayArgs

Arguments for the pay method DesktopWallet.pay

interface DesktopWalletPayArgs {
    amount?: Amount;
    deadline?: number;
    encrypt?: boolean;
    fee?: Amount;
    hexMessage?: string;
    message?: string;
    readonly?: boolean;
    recipient?: Address;
}

Properties

amount?: Amount

Amount to send.

deadline?: number

Deadline in minutes (Maximum time is kept in mem-pool until it gets removed). Default is 24 hours.

encrypt?: boolean

If true, the message will be encrypted with the recipient's public key.' This requires that the recipient has a public key. Smart Contracts cannot process encrypted messages.

fee?: Amount

Fee

hexMessage?: string

Hex encoded message (binary message)

message?: string

Text message - for binary message use hexMessage

readonly?: boolean

If true, the transaction will be marked as read-only, i.e. application should not make allow any changes to it.

recipient?: Address

Id or Address