createBlockHeightExceedencePromiseFactory
Call Signature
Creates a promise that throws when the network progresses past the block height after which the supplied blockhash is considered expired for use as a transaction lifetime specifier.
When a transaction's lifetime is tied to a blockhash, that transaction can be landed on the network until that blockhash expires. All blockhashes have a block height after which they are considered to have expired.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | CreateBlockHeightExceedencePromiseFactoryConfig<"devnet"> |
Returns
GetBlockHeightExceedencePromiseFn
Example
Call Signature
Creates a promise that throws when the network progresses past the block height after which the supplied blockhash is considered expired for use as a transaction lifetime specifier.
When a transaction's lifetime is tied to a blockhash, that transaction can be landed on the network until that blockhash expires. All blockhashes have a block height after which they are considered to have expired.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | CreateBlockHeightExceedencePromiseFactoryConfig<"testnet"> |
Returns
GetBlockHeightExceedencePromiseFn
Example
Call Signature
Creates a promise that throws when the network progresses past the block height after which the supplied blockhash is considered expired for use as a transaction lifetime specifier.
When a transaction's lifetime is tied to a blockhash, that transaction can be landed on the network until that blockhash expires. All blockhashes have a block height after which they are considered to have expired.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | CreateBlockHeightExceedencePromiseFactoryConfig<"mainnet"> |
Returns
GetBlockHeightExceedencePromiseFn