View a markdown version of this page

PaymentNetwork - AWS WAFV2

PaymentNetwork

A blockchain payment network configuration for receiving AI bot monetization payments. Specifies the blockchain chain, your wallet address on that chain, and the price per request.

Contents

Chain

The blockchain network for receiving payments. Production networks: BASE (Base mainnet), SOLANA (Solana mainnet). Test networks: BASE_SEPOLIA (Base Sepolia testnet), SOLANA_DEVNET (Solana Devnet).

Type: String

Valid Values: BASE | SOLANA | BASE_SEPOLIA | SOLANA_DEVNET

Required: Yes

Prices

The price configuration for this payment network. Currently supports a single price entry in USDC.

Type: Array of Price objects

Array Members: Fixed number of 1 item.

Required: Yes

WalletAddress

Your wallet address on the specified blockchain where payments are sent. For EVM chains (Base, Base Sepolia), provide a valid Ethereum address (42 characters including 0x prefix). For Solana chains, provide a valid Base58-encoded public key (32-44 characters).

For EVM addresses, AWS WAF performs EIP-55 checksum validation for typo detection when the address uses a mix of lower and upper case letters. You can bypass this validation by providing the address in all lowercase or all uppercase.

Type: String

Length Constraints: Minimum length of 26. Maximum length of 44.

Pattern: .*\S.*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: