Account Class Hashes

Latest known account contract class hashes per network

A reference list of the latest account contract class hashes for ArgentX, Braavos, OpenZeppelin, and friends, broken down by network. Wallets use this to pick the right deployment template when creating a new account.

If you're building a wallet or anything that deploys accounts, this is where you look up "what's the current Argent class hash on mainnet?".

List class hashes

GET /api/dapps/account-class-hashes/

FilterNotes
networkmainnet, sepolia, etc.
account_typeargent, braavos, openzeppelin, ...
is_activetrue for currently active hashes
Code
bash
1curl 'https://api.tokenkithq.io/api/dapps/account-class-hashes/?network=mainnet&account_type=argent' \
2 -H 'api-key: YOUR_API_KEY'

GET /api/dapps/account-class-hashes/{id}/ - one hash

Code
bash
1curl 'https://api.tokenkithq.io/api/dapps/account-class-hashes/7/' \
2 -H 'api-key: YOUR_API_KEY'

Just give me the latest

GET /api/dapps/account-class-hashes/latest/

The most useful endpoint here. Returns the latest active class hash per account type, so you don't have to filter manually.

ParameterNotes
networkOptional. Default returns latest across all networks.
Code
bash
1curl 'https://api.tokenkithq.io/api/dapps/account-class-hashes/latest/?network=mainnet' \
2 -H 'api-key: YOUR_API_KEY'

You get back something like:

Code
json
1{
2 "argent": "0x...",
3 "braavos": "0x...",
4 "openzeppelin": "0x..."
5}
Tip
For a wallet, query `/latest/?network=mainnet` once at startup and cache the result for the session. These don't change often.

See also