The cluster connection where the program is deployed.
The wallet used to pay for and sign all transactions.
Transaction confirmation options to use by default.
Similar to send
, but for an array of transactions and signers.
All transactions need to be of the same type, it doesn't support a mix of VersionedTransaction
s and Transaction
s.
Array of transactions and signers.
Transaction confirmation options.
Sends the given transaction, paid for and signed by the provider's wallet.
The transaction to send.
The signers of the transaction.
Transaction confirmation options.
Simulates the given transaction, returning emitted logs from execution.
The transaction to send.
The signers of the transaction. If unset, the transaction will be simulated with the "sigVerify: false" option. This allows for simulation of transactions without asking the wallet for a signature.
Returns a Provider
read from the ANCHOR_PROVIDER_URL
environment
variable
(This api is for Node only.)
Returns a Provider
with a wallet read from the local filesystem.
The network cluster url.
The default transaction confirmation options.
(This api is for Node only.)
Generated using TypeDoc
The network and wallet context used to send transactions paid for and signed by the provider.