Skip to main content

Variable.AgentWalletMode

const AgentWalletMode: {
Prepaid: "prepaid";
Wallet: "wallet";
};

How the agent wallets of an organization pay x402 requests.

  • wallet: each agent wallet is an on-chain account the organization funds in USDC. This is the default for an organization that has no mode set.
  • prepaid: agent accounts have no on-chain address; Keyban settles each payment and debits the organization's prepaid credit in EUR.

Type Declaration​

NameTypeDefault value
Prepaid"prepaid"'prepaid'
Wallet"wallet"'wallet'