INonce
Last updated
Last updated
The INonce
interface provides methods for managing and retrieving nonces associated with cross-chain transactions.
Increases the nonce for a specified chain.
Parameters: _chainId (uint64)
, _pathData (bytes)
Returns: Updated nonce (uint
).
Increases the nonce with validation against an external nonce.
Parameters: _chainId (uint64)
, _pathData (bytes)
, _nonce (uint)
Returns: Updated nonce (uint
).
Retrieves the current nonce for a specified chain.
Parameters: _chainId (uint64)
, _pathData (bytes)
Returns: Current nonce (uint
).
Returns the base nonce for specified source and destination addresses.
Parameters: _chainId (uint64)
, _srcAddress (uint)
, _dstAddress (uint)
Returns: Base nonce (uint
).