InputContract: {
    balanceRoot: string;
    contractID: string;
    outputIndex: number;
    stateRoot: string;
    txID: string;
    txPointer: TxPointer;
    type: Contract;
}

Type declaration

  • balanceRoot: string

    Root of amount of coins owned by contract before transaction execution (b256)

  • contractID: string

    Contract ID (b256)

  • outputIndex: number

    Index of transaction output (u16)

  • stateRoot: string

    State root of contract before transaction execution (b256)

  • txID: string

    Hash of transaction (b256)

  • txPointer: TxPointer

    Points to the TX whose output is being spent. (TxPointer)

  • type: Contract