Import
Signature
Create an unsigned identity proof payment transaction. This transaction is never submitted to the network. It proves account ownership by signing a zero-amount, zero-fee self-payment containing a timestamped identity note.

Parameters

str
required
Algorand public address of the sender/prover.
str
required
Base64-encoded genesis hash of the target network.
algosdk.transaction.SuggestedParams | None
default:"None"
Base suggested transaction parameters. If omitted, default parameters with fee=0, first=1, last=1000, and flat_fee=True are generated.
int | None
default:"None"
Unix timestamp (seconds) embedded in the transaction note. Defaults to current system time (int(time.time())).

Returns

algosdk.transaction.PaymentTxn
Unsigned PaymentTxn with sender=address, receiver=address, amount=0, fee=0, and note x402-identity:<address>:<ts>.

Examples

See also

  • sign_identity_txn: Create and sign this transaction into an X-Identity-Txn header.
  • verify_identity_txn: Validate and decode the signed transaction.
Source: ai_economy_sdk/identity.py