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/
| Filter | Notes |
|---|---|
network | mainnet, sepolia, etc. |
account_type | argent, braavos, openzeppelin, ... |
is_active | true for currently active hashes |
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
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.
| Parameter | Notes |
|---|---|
network | Optional. Default returns latest across all networks. |
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:
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
- Keon Wallets Directory - register wallets that use these class hashes