⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

account_nextIndex

Description

Return the next valid account nonce. Use to construct signed extrinsics and avoid “future proof” or “bad nonce” errors.

Returns the next valid transaction index (nonce) for an account. Equivalent to system_accountNextIndex.

Code Examples

curl -X POST https://api-bittensor-mainnet.n.dwellir.com/YOUR_API_KEY \
+ -H 'Content-Type: application/json' \
+ -d '{"jsonrpc":"2.0","method":"account_nextIndex","params":[],"id":1}'