Motivation
To ensure each transaction processed via Action Codes is traceable, validated, and cryptographically anchored to both an issuer and an initiator. This enables cross-system trust, analytics, and branding without compromising privacy or requiring off-chain assumptions.Specification
The meta format is a URL-style key-value structure prefixed by actioncodes:.ver
: Protocol version (e.g. 1)pre
: Registered prefix (e.g. DEFAULT, or a brand-specific prefix like JUP)id
: The unique code hashiss
: Optional issuer public key (for relayer attribution or audits)p
: Optional parameters string (used for UI hints or metadata)
Example
Validation
Validation requires:- Parsing the meta and verifying required fields (ver, pre, id)
- Validating the action code using the signature verification process (see AIP-2)
- Ensuring the code is within its valid time window (2-minute TTL)
Notes
- The meta is publicly visible on-chain.
- It avoids including any sensitive or encrypted data.
- This format may be extended in future protocol versions and ready to use with other blockchains.