Interface SendTransactionRequest

Hierarchy

  • SendTransactionRequest

Properties

from?: string

The sender address in ':' format from which DApp intends to send the transaction. Current account.address by default.

messages: {
    address: string;
    amount: string;
    payload?: string;
    stateInit?: string;
}[]

Messages to send: min is 1, max is 4.

network?: CHAIN

The network (mainnet or testnet) where DApp intends to send the transaction. If not set, the transaction is sent to the network currently set in the wallet, but this is not safe and DApp should always strive to set the network. If the network parameter is set, but the wallet has a different network set, the wallet should show an alert and DO NOT ALLOW TO SEND this transaction.

validUntil: number

Sending transaction deadline in unix epoch seconds.

Generated using TypeDoc