Import
Signature
Exact payment payload for AVM networks. Contains an atomic group of base64-encoded msgpack transactions. The paymentIndex identifies which transaction pays the resource server.

Constructor parameters

list[str]
default:"list()"
int
default:"0"

Attributes

list[str]
List of base64-encoded msgpack transactions.
int
Index of the payment transaction in the group.

Methods

to_dict

Convert to dictionary for JSON serialization. Returns
dict[str, Any]
Dictionary with camelCase keys for JSON.

from_dict

Create from dictionary. Parameters
dict[str, Any]
required
Dictionary with payload data.
Returns
ExactAvmPayload
ExactAvmPayload instance.
Source: x402_algorand/types.py