Skip to main content
Version: 27.0.x

Interface: MortalProcedureOptValue

api/procedures/types.MortalProcedureOptValue

This transaction will be rejected if not included in a block after a while (default: ~5 minutes)

Properties

immortal

Readonly immortal: false

Defined in

api/procedures/types.ts:129


lifetime

Optional Readonly lifetime: BigNumber

The number of blocks the for which the transaction remains valid. Target block time is 6 seconds. The default should suffice for most use cases

Note

this value will get rounded up to the closest power of 2, e.g. 65 rounds up to 128

Note

this value should not exceed 4096, which is the chain's BlockHashCount as the lesser of the two will be used.

Defined in

api/procedures/types.ts:136