Skip to main content

Interface: CallContext

Interface for the context of a call. It includes the issuer of the call, the transaction id, and the position of the call in the transaction.

Properties

issuer

issuer: ClaimIssuer

The issuer of the call. If the transaction that held this CallOp was extracted from L1, it will be "Parser", otherwise, the issuer will be the smart contract that created the transaction that held this CallOp.

Defined in

context.d.ts:33


pos

pos: number

The position of the call in the transaction. This is needed for providing order of utxos.

Defined in

context.d.ts:40


txid

txid: string

The transaction id from the transaction that held this CallOp.

Defined in

context.d.ts:35