INonce
The INonce interface provides methods for managing and retrieving nonces associated with cross-chain transactions.
Unexpected error with integration github-files: Integration is not installed on this space
Functions
increaseNonce
Increases the nonce for a specified chain.
Parameters: _chainId (uint64), _pathData (bytes)
Returns: Updated nonce (uint).
increaseNonceWithValidation
Increases the nonce with validation against an external nonce.
Parameters: _chainId (uint64), _pathData (bytes), _nonce (uint)
Returns: Updated nonce (uint).
getNonce
Retrieves the current nonce for a specified chain.
Parameters: _chainId (uint64), _pathData (bytes)
Returns: Current nonce (uint).
getNonceBase
Returns the base nonce for specified source and destination addresses.
Parameters: _chainId (uint64), _srcAddress (uint), _dstAddress (uint)
Returns: Base nonce (uint).
Last updated