RAILGUN Reloaded
    Preparing search index...

    Thrown when the address of a newly allocated index is already used on chain. The stored counter is behind the chain: the wallet was restored from a mnemonic, or the database from an older backup. The caller runs recoverEphemeralIndex and then allocates again.

    Hierarchy

    • Error
      • EphemeralIndexStaleError
    Index
    • Construct an EphemeralIndexStaleError.

      Parameters

      • walletId: string

        Wallet whose counter is behind.

      • chainId: number

        Chain whose counter is behind.

      • index: number

        Allocated index whose address is already used.

      Returns EphemeralIndexStaleError

    walletId: string

    Wallet whose counter is behind.

    chainId: number

    Chain whose counter is behind.

    index: number

    Allocated index whose address is already used.