Skip to main content

What constants does the SDK export?

The SDK exports two convenience objects: USDC for contract addresses and CHAIN_ID for network identifiers. These cover the four chains Mandate supports. Use them instead of hardcoding addresses and chain IDs in your agent code.

USDC addresses

Chain IDs

Runtime keys and chain mapping

Your runtime key prefix determines which chains your agent can use.
Test keys only work with testnet chains. Live keys only work with mainnet chains. If you pass a testnet chain ID with a live key, the API returns a 422 error.
Use test keys during development. They connect to the same policy engine and return the same validation responses, but all transactions go to Sepolia testnets where tokens have no real value.

Next Steps

Chain Reference

Full chain support details, RPC endpoints, and block explorers.

SDK Overview

Installation, exports, and quick start guide.