# Alta Developer Docs - [What is Alta](https://docs.alta.finance/start/introduction.md): What Alta is and how its assets, privacy, policy, interoperability, and EVM compatibility fit together - [Assets](https://docs.alta.finance/start/assets.md): How Alta represents and moves stablecoins and other tokenized financial assets - [Programmable Compliance](https://docs.alta.finance/start/compliance.md): How institutions enforce payment rules through accounts, receive policy, and private proofs - [Private Payments](https://docs.alta.finance/start/private-payments.md): How Alta hides payment details while proving authorization, value conservation, and policy compliance - [Ethereum Compatibility](https://docs.alta.finance/start/ethereum-compatibility.md): What Ethereum developers can reuse on Alta and what changes for assets, gas, policy, and finality - [Interoperability](https://docs.alta.finance/start/interoperability.md): How Alta coordinates payments and asset movement across networks - [Connect to Testnet](https://docs.alta.finance/start/connect-to-testnet.md): Create an RPC endpoint, configure cast, and verify the Alta Testnet connection - [Make Your First Transfer](https://docs.alta.finance/start/make-your-first-transfer.md): Fund a testnet account, send *USDZ, and verify execution and finality - [Block Explorer](https://docs.alta.finance/start/explorer.md): Inspect your first USDZ transfer - [Design a payment integration](https://docs.alta.finance/build/prepare/design-a-payment-integration.md): Place Alta transactions and payment verification within an existing payment system - [Connect to Alta](https://docs.alta.finance/build/prepare/connect-to-alta.md): RPC endpoints and application clients for Alta Testnet - [Fund a test account](https://docs.alta.finance/build/prepare/fund-a-test-account.md): Testnet tokens for integration development - [Estimate and record fees](https://docs.alta.finance/build/prepare/estimate-and-record-fees.md): Gas tokens and transaction fees on Alta - [Connect a browser wallet](https://docs.alta.finance/build/prepare/connect-a-browser-wallet.md): Connect an EIP-1193 wallet and request user-approved Alta transactions - [Direct payment](https://docs.alta.finance/build/payments/direct-payment.md): Read token balances and send an ALT20 payment - [Authorized payment](https://docs.alta.finance/build/payments/authorized-payment.md): Collect a signed ALT20 payment or accept an agent's exact x402 payment through a facilitator - [Payment from reserved funds](https://docs.alta.finance/build/payments/payment-from-reserved-funds.md): Reserve an owner's tokens for a spender, do a payment, and release the remainder - [Shielded payment](https://docs.alta.finance/build/payments/shielded-payment.md): Integrate shielding, payment acceptance or rejection, expiry recovery, and unshielding with a configured ALT410 pool - [Route incoming payments](https://docs.alta.finance/build/payments/route-incoming-payments.md): Collect and forward a payment through an explicit application call - [Verify and reconcile payments](https://docs.alta.finance/build/payments/verify-and-reconcile-payments.md): Match finalized transfers to orders and recover interrupted processing without counting a payment twice - [Create and manage a smart account](https://docs.alta.finance/build/controls/create-and-manage-a-smart-account.md): Create a smart account, execute approved calls through a relayer, and update its signers - [Build a restricted account](https://docs.alta.finance/build/controls/restrict-token-transfers.md): Deploy a contract that holds funds and enforces incoming and outgoing transfer rules - [Create an ALT20 token](https://docs.alta.finance/build/contracts/create-an-alt20-token.md): Token creation and ownership through ALT20Factory - [Deploy an application contract](https://docs.alta.finance/build/contracts/deploy-an-application-contract.md): An escrow for one payment, built with Solidity and Foundry - [Integrate a contract](https://docs.alta.finance/build/contracts/integrate-a-contract.md): Read contract state, submit authorized writes, and process finalized events - [Schedule a contract call](https://docs.alta.finance/build/contracts/schedule-a-contract-call.md): Authorize a future contract call, fund its execution, and verify the result - [Use oracle data](https://docs.alta.finance/build/data-and-signatures/use-oracle-data.md): Read and validate stored oracle values for applications and contracts - [Submit and challenge claims](https://docs.alta.finance/build/data-and-signatures/submit-and-challenge-claims.md): Submit objective bonded claims, prove contradictions, and reconcile each participant's funds - [Read onchain randomness](https://docs.alta.finance/build/data-and-signatures/read-onchain-randomness.md): Select a participant using network randomness and verify the result onchain - [Request and verify a threshold signature](https://docs.alta.finance/build/data-and-signatures/request-and-verify-a-threshold-signature.md): Request a signature from Alta's validators and verify a document approval - [Send messages from Alta](https://docs.alta.finance/build/interop/send-messages-from-alta.md): Send a message from Alta and verify its execution on the destination chain - [Receive messages on Alta](https://docs.alta.finance/build/interop/receive-messages-on-alta.md): Prove a message commitment from a source outbox and deliver its authenticated call on Alta - [Bridge assets into Alta](https://docs.alta.finance/build/interop/bridge-assets-into-alta.md): Deposit tokens on another chain and receive shielded funds on Alta - [Withdraw bridged assets](https://docs.alta.finance/build/interop/withdraw-bridged-assets.md): Spend bridged notes, deliver a delayed release, and sweep funds back to an authorized destination - [Monitor and recover your integration](https://docs.alta.finance/build/operations/monitor-and-recover-your-integration.md): Track chain and application progress, recover interrupted work, and verify database restoration - [Architecture](https://docs.alta.finance/learn/architecture.md): An introduction to blockchains and how Alta turns transactions into finalized blocks - [Token and Account Model](https://docs.alta.finance/learn/alt20/token-and-account-model.md): How ALT20 tokens hold public balances, control supply, apply account policy, and qualify for gas payment - [Transfers and Authorization](https://docs.alta.finance/learn/alt20/transfers-and-authorization.md): How ALT20 transfers are authorized and applied to sender and recipient balances - [Send and Receive Policies](https://docs.alta.finance/learn/alt20/handlers-and-policy.md): Where ALT20 policy checks run, how they affect transfers, and how FIs configure and combine them - [Shielded Payments](https://docs.alta.finance/learn/alt410/shielded-payments.md): How ALT410 represents shielded value and verifies shielding, payment initiation, resolution, and unshielding - [Notes and Spending](https://docs.alta.finance/learn/alt410/notes-and-spending.md): How notes represent value, how spending is authorized, and how the pool tracks note commitments, spends, and input locks - [Privacy Guarantees](https://docs.alta.finance/learn/alt410/privacy-guarantees.md): What ALT410 hides from public observers and where shielded activity can still be linked - [Keys and Addresses](https://docs.alta.finance/learn/alt410/key-and-addresses.md): How shielded keys control spending, generate payment addresses, and enable delegated viewing and proving - [Roles and Authorization Flow](https://docs.alta.finance/learn/alt410/roles-and-authorization.md): Who holds the keys, prepares proofs, and authorizes each ALT410 transaction - [Proof and Verification](https://docs.alta.finance/learn/alt410/proof-and-verification.md): How verification keys identify circuit rules, how a sender proof is constructed, and how the pool verifies proofs against current state - [Privacy-Preserving Policy](https://docs.alta.finance/learn/alt410/privacy-preserving-policy.md): How ALT410 verifies an institution's payment rules while keeping its policy and private data hidden - [Programmable Compliance](https://docs.alta.finance/learn/compliance/programmable-compliance.md): How Alta enforces payment policies through policy contracts, proofs over private data, and signed offchain decisions - [Payment Messaging](https://docs.alta.finance/learn/compliance/messaging.md): FI-to-FI payment initiation, Travel Rule exchange, and message delivery and authentication - [Evidence and Regulatory Access](https://docs.alta.finance/learn/compliance/regulatory-access.md): How Alta supports payment audits through recorded outcomes, shielded viewing, and verifiable disclosures - [EVM Compatibility and Gas](https://docs.alta.finance/learn/eth-and-gas.md): How Alta combines Ethereum tooling with ALT20 gas payment, priority-fee-only pricing, and millisecond blocks. - [Light Clients and Messages](https://docs.alta.finance/learn/interop/overview.md): How Alta verifies finalized outcomes across blockchains and uses them to authorize contract calls - [Trust and Guarantees](https://docs.alta.finance/learn/interop/guarantees.md): Why a cross-chain message can be trusted, which source-network assumptions it inherits, and what can prevent delivery - [Contract Addresses](https://docs.alta.finance/reference/contract-addresses.md): System contract addresses on Alta - [Transactions](https://docs.alta.finance/reference/network-fundamentals/transactions.md): Supported Ethereum envelopes, Alta's 0x7f transaction type, and transaction admission rules. - [Signing and Typed Data](https://docs.alta.finance/reference/network-fundamentals/signing.md): EIP-712 domains, type strings, digest boundaries, and authorization rules on Alta - [Settlement and Finality](https://docs.alta.finance/reference/network-fundamentals/settlement.md): Payment completion conditions, receipt and finality fields, and reconciliation rules - [Precompiles](https://docs.alta.finance/reference/network-fundamentals/precompiles.md): Addresses, wire formats, and gas behavior for Alta precompiles - [Block Headers](https://docs.alta.finance/reference/network-fundamentals/block-headers.md): Alta's extended Ethereum header, block hash, and RPC fields - [Blob Transactions and Sidecars](https://docs.alta.finance/reference/network-fundamentals/blobs.md): Submitting, paying for, and retrieving EIP-7594 blob sidecars on Alta - [Block Timestamps](https://docs.alta.finance/reference/network-fundamentals/block-timestamps.md): Read Alta's millisecond-precision block time and understand its EVM behavior - [Event Catalog](https://docs.alta.finance/reference/network-fundamentals/events.md): Events emitted by Alta tokens, registries, shielded payments, and interoperability contracts - [ALT20 Contract API](https://docs.alta.finance/reference/assets-and-payments/alt20.md): ALT20 metadata, transfers, allowances, authorizations, holds, receive policy, and token ownership - [ALT410 API](https://docs.alta.finance/reference/assets-and-payments/alt410.md): ALT410 shield, hold, resolution, reclaim, unshield, state, registry, and administration interfaces - [Key Derivation](https://docs.alta.finance/reference/privacy/key-derivation.md): How ALT410 derives spending, viewing, proving, and address capabilities from one wallet seed - [Shielded Note](https://docs.alta.finance/reference/privacy/shielded-note.md): The private fields of a shielded note, its onchain commitment and the nullifier recorded when it is spent - [Shield Circuit](https://docs.alta.finance/reference/privacy/shield-circuit.md): How the shield proof binds a public ALT20 deposit to a private shielded note - [Shielded Payment Circuits](https://docs.alta.finance/reference/privacy/transfer-circuit.md): The sender proof, recipient proof, payment identifiers, and encrypted payloads for an ALT410 shielded payment - [Unshield Circuit](https://docs.alta.finance/reference/privacy/unshield-circuit.md): How the unshield proof spends notes and releases ALT20 value to a public destination - [Circuit Registry](https://docs.alta.finance/reference/privacy/circuit-registry.md): Address, content addressing, storage, ABI, and proof wire for CircuitRegistry - [Receive Policy](https://docs.alta.finance/reference/compliance/receive-policy.md): Choose which ALT20 transfers an account accepts and who can recover refused funds - [IVMS Evidence](https://docs.alta.finance/reference/compliance/ivms-evidence.md): The standalone Travel Rule precompile format and the private record committed in an ALT410 payment payload - [Scheduler](https://docs.alta.finance/reference/contracts-and-automation/scheduler.md): Scheduler parameters, escrow accounting, execution outcomes, and encrypted payload formats - [Assertions](https://docs.alta.finance/reference/data-and-signatures/assertions.md): Bonded claim domains, proof encoding, resolution classes, and payouts - [Oracle reports](https://docs.alta.finance/reference/data-and-signatures/oracle-reports.md): Certified report fields, verifier configuration, and signature encoding - [Finality Certificates](https://docs.alta.finance/reference/interop/finality-certificates.md): How to verify Alta state on foreign chains - [Cross-Chain Messages](https://docs.alta.finance/reference/interop/messages.md): How a contract call on Alta triggers a transaction on foreign chains - [Inbound Messages](https://docs.alta.finance/reference/interop/inbound-messages.md): Proving and executing source-chain messages on Alta - [Light Clients](https://docs.alta.finance/reference/interop/light-clients.md): Checkpoint contracts that authenticate cross-chain state roots - [Bridge vault and gateway](https://docs.alta.finance/reference/interop/bridge.md): Deposit claims, shielded bridge proofs, delayed releases, and claimant-authorized sweeps - [TypeScript SDK](https://docs.alta.finance/reference/typescript-sdk.md): Build, sign, and broadcast Alta transactions with @altaxyz/alta-ts - [Protocol Constants and Limits](https://docs.alta.finance/reference/protocol-constants.md): Alta network constants, transaction bounds, and asset limits - [Error Codes](https://docs.alta.finance/reference/error-codes.md): Transaction admission failures and contract revert reasons across Alta protocol surfaces - [Glossary](https://docs.alta.finance/reference/glossary.md): Definitions for Alta transaction, asset, policy, finality, settlement, and agent payment terminology - [Alta JSON-RPC](https://docs.alta.finance/reference/json-rpc/overview.md): Send JSON-RPC requests to Alta's public RPC endpoint on testnet - [Get the chain ID](https://docs.alta.finance/reference/json-rpc/chain/get-the-chain-id.md): Returns the chain ID as a hex quantity. Testnet is `0xf951` (63825). - [Get the latest block number](https://docs.alta.finance/reference/json-rpc/chain/get-the-latest-block-number.md): Returns the number of the most recent execution head as a hex quantity. - [Get consensus status](https://docs.alta.finance/reference/json-rpc/consensus/get-consensus-status.md): Returns the current Simplex epoch, round, leader, execution head, finalized block, and this node's latest signed round. For settlement decisions, require a successful receipt, compare its block number against `finalized.number`, and check that the canonical block at that height matches `receipt.bloc… - [Get a finality certificate](https://docs.alta.finance/reference/json-rpc/consensus/get-a-finality-certificate.md): Returns the retained Simplex finality certificate and block-header preimage for a finalized block hash. Nodes retain recent certificates, with a default limit of 100,000. Returns `null` when no certificate is retained or the corresponding header cannot be read, such as before finality, during local… - [Get node build info](https://docs.alta.finance/reference/json-rpc/consensus/get-node-build-info.md): Identifies the running node build. Include this response when reporting a node-specific compatibility or operational issue. - [Get gas-token display metadata](https://docs.alta.finance/reference/json-rpc/consensus/get-gas-token-display-metadata.md): Returns wallet display metadata for the chain's default ALT20 gas token. This is display metadata only — it does not create a native asset, and transactions must still set `value` to `0`. - [Get a block by number](https://docs.alta.finance/reference/json-rpc/blocks/get-a-block-by-number.md): Returns the block for the given selector, or `null` if unknown. The standard Ethereum fields are extended with `timestampMillisPart`, `proposer`, `interopMessageRoot`, `ethereumUpdate`, `validatorSetRoot`, `nextValidatorSetRoot`, and optional `subblockMetadataRoot`. Full timestamp in milliseconds =… - [Get a block by hash](https://docs.alta.finance/reference/json-rpc/blocks/get-a-block-by-hash.md): Returns the block for the given hash, or `null` if unknown. The standard Ethereum fields are extended with `timestampMillisPart`, `proposer`, `interopMessageRoot`, `ethereumUpdate`, `validatorSetRoot`, `nextValidatorSetRoot`, and optional `subblockMetadataRoot`. Full timestamp in milliseconds = `tim… - [Get retained blob sidecars](https://docs.alta.finance/reference/json-rpc/blocks/get-retained-blob-sidecars.md): Returns the complete verified EIP-7594 sidecar bundle for a canonical finalized execution block hash. A null result also covers unknown, noncanonical, unfinalized, blob-free, or pruned blocks. Clients must verify the blobs and commitments against the ordered versioned hashes in the block transaction… - [Get gas-token balance](https://docs.alta.finance/reference/json-rpc/state/get-gas-token-balance.md): Returns the account's balance in the chain's default ALT20 gas token. Alta has no native asset, so the method does not report ETH. For any other token, call the ALT20 contract's `balanceOf` via `eth_call`. - [Get account nonce](https://docs.alta.finance/reference/json-rpc/state/get-account-nonce.md): Returns the number of transactions sent from the address, as a hex quantity. Use the `"pending"` selector to pick the next nonce for a new transaction. - [Get contract code](https://docs.alta.finance/reference/json-rpc/state/get-contract-code.md): Returns the deployed bytecode at the address, or `0x` if none. - [Get a storage slot](https://docs.alta.finance/reference/json-rpc/state/get-a-storage-slot.md): Returns the value of the storage slot at the given position for the address. - [Get account and storage proofs](https://docs.alta.finance/reference/json-rpc/state/get-account-and-storage-proofs.md): Returns EIP-1186 account and storage proofs against the selected block state root. Proof availability depends on the node retaining that state. The balance field is the native EVM account balance, not the default ALT20 balance returned by Alta eth_getBalance. To prove an ALT20 balance, query the tok… - [Call a contract (read-only)](https://docs.alta.finance/reference/json-rpc/state/call-a-contract-read-only.md): Executes a call against the selected block's state without creating a transaction. Use this for ALT20 `balanceOf` and other view functions. `value` must be `0` — Alta has no native asset. - [Estimate gas](https://docs.alta.finance/reference/json-rpc/gas/estimate-gas.md): Returns an estimate of the gas needed for the call or transaction, as a hex quantity. - [Get the gas price](https://docs.alta.finance/reference/json-rpc/gas/get-the-gas-price.md): Returns `0x1` — one gas-token base unit per gas. Alta prices gas in the transaction's ALT20 gas token rather than a native asset. - [Get the max priority fee](https://docs.alta.finance/reference/json-rpc/gas/get-the-max-priority-fee.md): Returns `0x1`, in gas-token base units per gas. - [Get fee history](https://docs.alta.finance/reference/json-rpc/gas/get-fee-history.md): Reports zero base fees and priority-fee rewards in ALT20 base units, so EIP-1559 wallets can quote transactions against Alta's gas model. - [Submit a raw transaction](https://docs.alta.finance/reference/json-rpc/transactions/submit-a-raw-transaction.md): Submits a signed raw transaction. Admission applies Alta envelope, chain ID, value (`0` only), gas-token, fee, affordability, nonce, and replacement checks, and failures come back as JSON-RPC errors with a specific message. Replace the placeholder param with your signed transaction bytes before send… - [Get a transaction by hash](https://docs.alta.finance/reference/json-rpc/transactions/get-a-transaction-by-hash.md): Returns the transaction, or `null` if the hash is unknown. - [Get a transaction receipt](https://docs.alta.finance/reference/json-rpc/transactions/get-a-transaction-receipt.md): Returns the receipt, or `null` if this endpoint has no receipt for the transaction yet. Require a successful receipt and compare its block number against `consensus_status.finalized.number`; then check that the canonical block at that height matches `receipt.blockHash` before treating the result as… - [Query event logs](https://docs.alta.finance/reference/json-rpc/logs/query-event-logs.md): Returns logs matching the filter. Constrain `fromBlock`/`toBlock` (or pass `blockHash`) and filter by `address` and `topics` to keep queries fast. - [List pending ALT20 transactions](https://docs.alta.finance/reference/json-rpc/alt20/list-pending-alt20-transactions.md): Returns the hashes of pending `0x7f` (ALT20) transactions currently in the node's pool. - [Get ALT20 gas for a transaction](https://docs.alta.finance/reference/json-rpc/alt20/get-alt20-gas-for-a-transaction.md): Returns the gas token and fee fields for a mined `0x7f` transaction — information standard Ethereum receipts cannot represent. Returns `null` if the hash is unknown or the transaction is not ALT20. - [Get ALT20 gas for a block](https://docs.alta.finance/reference/json-rpc/alt20/get-alt20-gas-for-a-block.md): Returns per-token gas totals and `0x7f` transaction details for a block. Returns `null` if the block is unknown. - [Quickstart: Set Up with Your Agent](https://docs.alta.finance/agents/quickstart.md): Point your coding agent at instructions to have it set up `alta-agent`, fund its key on testnet and make its first payment on Alta - [x402 on Alta](https://docs.alta.finance/agents/x402-on-alta.md): x402 payments on Alta settle in *USDZ with the facilitator paying the gas, as standard exact payments or per call through clearing - [Buyer Quickstart: Pay for an API](https://docs.alta.finance/agents/quickstart-pay.md): Install the alta-agent CLI, create and fund the agent's key on testnet, and make a paid request that settles on Alta - [Mandates](https://docs.alta.finance/agents/mandates.md): How an agent pays from its owner's account: limits the account enforces on chain, a credential the agent carries, and payments that can be checked against it - [Pay Under Spending Limits](https://docs.alta.finance/agents/spending-limits.md): An agent pays from its owner's account within limits the owner set: who it may pay, how much per payment, and how much in total - [Send a Direct Payout](https://docs.alta.finance/agents/payouts.md): Pay suppliers, contractors or your own accounts under a mandate, with no seller on the other end: the agent signs the transfer and the facilitator submits it - [Seller Quickstart: Accept Agent Payments](https://docs.alta.finance/agents/quickstart-accept.md): Charge for a route in an Express service with the official x402 middleware, settle through Alta's facilitator, and receive a paid request - [Require a Signed Order](https://docs.alta.finance/agents/require-signed-order.md): Require a second signature on a route, the agent's own over the order it placed with you, and keep it as proof the agent agreed to that exact purchase - [Offer Pay-per-Call Clearing](https://docs.alta.finance/agents/clearing.md): Charge per request below a transaction's cost: the payer deposits once and signs each payment off chain, and one deposit pays any seller that offers clearing - [alta-agent Reference](https://docs.alta.finance/agents/alta-agent.md): Every alta-agent command, its flags and what it prints, the MCP server's tools, and what a mandate enforces - [Facilitator](https://docs.alta.finance/agents/facilitator.md): Alta's hosted x402 facilitator: one URL that verifies and settles a seller's payments - [RPC Endpoints](https://docs.alta.finance/network/endpoints.md): Create an RPC endpoint of your own in the Alta console, or let an agent buy one over x402: a URL that is its own credential, serves JSON-RPC over HTTP, and draws on prepaid credit - [Credits](https://docs.alta.finance/network/credits.md): RPC is prepaid in USD and drawn down per request at a rate by method; top up with a card, or let an agent top up over x402 ## OpenAPI Specs - [json-rpc](/reference/json-rpc/json-rpc.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.