SubmitTxOptions
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / SubmitTxOptions
Type Alias: SubmitTxOptions<ICK>
SubmitTxOptions<
ICK> =object
Configuration for submitTx.
Type Parameters
ICK
ICK extends ImpureCircuitId
Properties
circuitId?
readonlyoptionalcircuitId:ICK
A circuit identifier to use to fetch the ZK artifacts needed to prove the transaction. Only defined if a call transaction is being submitted.
newCoins?
readonlyoptionalnewCoins:CoinInfo[]
Any new coins created during the construction of the transaction. Only defined if the transaction being submitted is a call or deploy transaction.
unprovenTx
readonlyunprovenTx:UnprovenTransaction
The transaction to prove, balance, and submit.