Skip to main content

Function: constructContractCall()

function constructContractCall(ref, cost, method, authenticated): ContractCall;

Function to create a contract call.

Parameters

ref: ContractRefV0

A reference to the contract.

cost: bigint

The cost of the call.

method: MethodInfo

The method to call.

authenticated: boolean

Whether the call is authenticated.

Returns

ContractCall

A ContractCall object.


Coinweb © 2024