Skip to main content

Function: constructContractCallLegacy()

function constructContractCallLegacy(
ref,
cost,
data,
authenticated
): ContractCall;

Function to create a contract call. This is the legacy version of contractCall.

Parameters​

• ref: ContractRef

A reference to the contract.

• cost: bigint

The cost of the call.

• data: any

The data for the call.

• authenticated: boolean

Whether the call is authenticated.

Returns​

ContractCall

A ContractCall object.

Deprecated​

Use contractCall instead.


Coinweb © 2025