The sequence module

The Sequence module handles all logic related to the nonce.

It should verify the nonce for all transactions and increment it if valid.

Name Property

Name

sequence

ID

3

Assets

none

Reducers

none

Actions

none

Events

none

Account schema

The sequence module adds a new property nonce under the key sequence to every account in the network as follows:

{
    type: 'object',
    properties: {
        nonce: {
            fieldNumber: 1,
            dataType: 'uint64',
        },
    },
    default: {
        nonce: BigInt(0),
    },
}