API Kit Reference
getNextNonce

getNextNonce

Returns the right nonce to propose a new transaction right after the last pending transaction.

Usage


_10
import { apiKit } from './setup.ts'
_10
_10
const safeAddress = '0x...'
_10
_10
const nextNonce = await apiKit.getNextNonce(safeAddress)

Returns

Promise<number>

The right nonce to propose a new transaction after the last pending transaction.

Parameters

safeAddress

  • Type: string

The Safe address.


_10
const nextNonce = await apiKit.getNextNonce(
_10
'0x...'
_10
)

Was this page helpful?