InputMessage: {
    amount: BN;
    data?: string;
    dataLength?: number;
    nonce: string;
    predicate: string;
    predicateData: string;
    predicateDataLength: BN;
    predicateGasUsed: BN;
    predicateLength: BN;
    recipient: string;
    sender: string;
    type: Message;
    witnessIndex: number;
}

Type declaration

  • amount: BN

    Amount of coins

  • Optionaldata?: string

    data of message

  • OptionaldataLength?: number

    Length of data (u64)

  • nonce: string

    Unique nonce of message

  • predicate: string

    Predicate bytecode (byte[])

  • predicateData: string

    Predicate input data (parameters) (byte[])

  • predicateDataLength: BN

    Length of predicate input data, in bytes (u64)

  • predicateGasUsed: BN

    Gas used by predicate (u64)

  • predicateLength: BN

    Length of predicate, in instructions (u64)

  • recipient: string

    Address of recipient

  • sender: string

    Address of sender

  • type: Message
  • witnessIndex: number

    Index of witness that authorizes message (u16)