createNonceInvalidationPromiseFactory
Call Signature
Creates a promise that throws when the value stored in a nonce account is not the expected one.
When a transaction's lifetime is tied to the value stored in a nonce account, that transaction can be landed on the network until the nonce is advanced to a new value.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | CreateNonceInvalidationPromiseFactoryConfig<"devnet"> |
Returns
GetNonceInvalidationPromiseFn
Example
Call Signature
Creates a promise that throws when the value stored in a nonce account is not the expected one.
When a transaction's lifetime is tied to the value stored in a nonce account, that transaction can be landed on the network until the nonce is advanced to a new value.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | CreateNonceInvalidationPromiseFactoryConfig<"testnet"> |
Returns
GetNonceInvalidationPromiseFn
Example
Call Signature
Creates a promise that throws when the value stored in a nonce account is not the expected one.
When a transaction's lifetime is tied to the value stored in a nonce account, that transaction can be landed on the network until the nonce is advanced to a new value.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | CreateNonceInvalidationPromiseFactoryConfig<"mainnet"> |
Returns
GetNonceInvalidationPromiseFn