⛓ Supported Chains
AgentTech supports multiple source chains, with all payments ultimately settling on Base.
Supported Chains
Settlement Chain
All payments settle on Base regardless of the source chain. The payerChain field in CreateIntentRequest specifies where the payer initiates the payment, but the final USDC transfer always occurs on Base.
Chain Identifiers
Use the chain constants from each SDK instead of hardcoded strings.
Usage
When creating an intent, specify the source chain using SDK constants:
import { Chain } from '@cross402/usdc';
const intent = await client.createIntent({
email: "merchant@example.com",
amount: "100.50",
payerChain: Chain.Base,
});
resp, err := client.CreateIntent(ctx, &pay.CreateIntentRequest{
Email: "merchant@example.com",
Amount: "100.50",
PayerChain: pay.ChainBase,
})