sendAndConfirmTransactionFactory
Call Signature
sendAndConfirmTransactionFactory(
config
):SendAndConfirmTransactionWithBlockhashLifetimeFunction
Returns a function that you can call to send a blockhash-based transaction to the network and to wait until it has been confirmed.
Parameters
Parameter | Type | Description |
---|---|---|
config | SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig <"devnet" > |
Returns
SendAndConfirmTransactionWithBlockhashLifetimeFunction
Example
Call Signature
sendAndConfirmTransactionFactory(
config
):SendAndConfirmTransactionWithBlockhashLifetimeFunction
Returns a function that you can call to send a blockhash-based transaction to the network and to wait until it has been confirmed.
Parameters
Parameter | Type | Description |
---|---|---|
config | SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig <"testnet" > |
Returns
SendAndConfirmTransactionWithBlockhashLifetimeFunction
Example
Call Signature
sendAndConfirmTransactionFactory(
config
):SendAndConfirmTransactionWithBlockhashLifetimeFunction
Returns a function that you can call to send a blockhash-based transaction to the network and to wait until it has been confirmed.
Parameters
Parameter | Type | Description |
---|---|---|
config | SendAndConfirmTransactionWithBlockhashLifetimeFactoryConfig <"mainnet" > |
Returns
SendAndConfirmTransactionWithBlockhashLifetimeFunction