Skip to main content

ContractTransaction

scrypt-ts / ContractTransaction

Interface: ContractTransaction

A structure describing a transaction that invokes a single contract.

Table of contents​

Properties​

Properties​

atInputIndex​

• atInputIndex: number

The input index of previous contract UTXO to spend in the method calling tx

Defined in​

dist/smart-contract/types/contract-call.d.ts:63


next​

• Optional next: StatefulNext<any>

The first element of nexts, this value should be set for user convenience.

Defined in​

dist/smart-contract/types/contract-call.d.ts:67


nexts​

• nexts: StatefulNext<any>[]

The subsequent contract instance(s) produced in the outputs of the method calling tx in a stateful contract

Defined in​

dist/smart-contract/types/contract-call.d.ts:65


tx​

• tx: Transaction

The method calling tx

Defined in​

dist/smart-contract/types/contract-call.d.ts:61