Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Register AVM exact payment schemes to x402Client.
from x402_algorand.exact import register_exact_avm_client
def register_exact_avm_client( client: ClientT, signer: ClientAvmSigner, networks: str | list[str] | None = None, policies: list | None = None, algod_url: str | None = None, algod_token: str | None = None, ) -> ClientT
import os from x402 import x402Client from x402_algorand import PayerAvmSigner from x402_algorand.exact import register_exact_avm_client client = x402Client() register_exact_avm_client( client, PayerAvmSigner.from_mnemonic(os.environ["PAYER_MNEMONIC"]), algod_url="http://localhost:4001", # LocalNet; omit on MainNet / TestNet algod_token="a" * 64, )