Skip to content

api.procedures.types.MortalProcedureOptValue

polymath-eric edited this page Jun 11, 2024 · 9 revisions

Interface: MortalProcedureOptValue

api/procedures/types.MortalProcedureOptValue

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

Table of contents

Properties

Properties

immortal

Readonly immortal: false

Defined in

api/procedures/types.ts:124


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:131

Clone this wiki locally