Skip to main content

ContractCall

scrypt-ts-opcat v1.0.1


scrypt-ts-opcat / ContractCall

Type Alias: ContractCall()\<Contract>

ContractCall\<Contract>: (contract, psbt, backtraceInfo?) => void

Defined in: packages/scrypt-ts-opcat/src/psbt/types.ts:17

Type definition for a contract call function.

Type Parameters

Contract

The contract instance being called.

Parameters

contract

Contract

The contract instance to interact with.

psbt

IExtPsbt

The PSBT (Partially Signed Bitcoin Transaction).

backtraceInfo?

BacktraceInfo

Optional backtrace information for calling B2G contract.

Returns

void