/AWS1/CL_WA2MONETIZATIONCONFIG¶
The monetization configuration for a web ACL or rule group. Specifies the cryptocurrency payment networks and currency mode for AI bot monetization. You must provide this configuration when any rule in the web ACL or rule group uses the Monetize action.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_cryptoconfig TYPE REF TO /AWS1/CL_WA2CRYPTOCONFIG /AWS1/CL_WA2CRYPTOCONFIG¶
The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.
iv_currencymode TYPE /AWS1/WA2CURRENCYMODE /AWS1/WA2CURRENCYMODE¶
Specifies whether the configuration uses real or test currency. Set to
REALto settle payments in USDC on production blockchain networks (Base, Solana). Set toTESTto settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults toREAL.
Queryable Attributes¶
CryptoConfig¶
The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CRYPTOCONFIG() |
Getter for CRYPTOCONFIG |
CurrencyMode¶
Specifies whether the configuration uses real or test currency. Set to
REALto settle payments in USDC on production blockchain networks (Base, Solana). Set toTESTto settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults toREAL.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENCYMODE() |
Getter for CURRENCYMODE, with configurable default |
ASK_CURRENCYMODE() |
Getter for CURRENCYMODE w/ exceptions if field has no value |
HAS_CURRENCYMODE() |
Determine if CURRENCYMODE has a value |