Import
Signature
Protocol for AVM client-side signing operations. Used by x402Client to sign transactions for payment payloads. The client signer is responsible for:
  • Providing the sender address
  • Signing transactions where the client is the sender

Methods

sign_transactions

Sign specified transactions in a group. Only signs transactions at the specified indexes. Returns None for transactions that should not be signed by this signer. Parameters
list[bytes]
required
List of unsigned transaction bytes (msgpack encoded).
list[int]
required
Indexes of transactions this signer should sign.
Returns
list[bytes | None]
List parallel to unsigned_txns, with signed transaction bytes at indexes_to_sign and None elsewhere.
Source: x402_algorand/signer.py