Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / CircuitCallTxInterface
Type Alias: CircuitCallTxInterface<C>
CircuitCallTxInterface<
C
> ={ [ICK in ImpureCircuitId<C>]: (args: CircuitParameters<C, ICK>) => Promise<FinalizedCallTxData<C, ICK>> }
A type that lifts each circuit defined in a contract to a function that builds and submits a call transaction.
Type Parameters
C
C
extends Contract