Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / createCircuitCallTxInterface
Function: createCircuitCallTxInterface()
createCircuitCallTxInterface<
C
>(providers
,contract
,contractAddress
,privateStateId
):CircuitCallTxInterface
<C
>
Creates a circuit call transaction interface for a contract.
Type Parameters
C
C
extends Contract
<any
, Witnesses
<any
>>
Parameters
providers
The providers to use to build transactions.
contract
C
The contract to use to execute circuits.
contractAddress
string
The ledger address of the contract.
privateStateId
The identifier of the state of the witnesses of the contract.
undefined
| string