Modules§
Structs§
- AASigned
- A transaction with an AA signature and hash seal.
- Authorization
- An unsigned EIP-7702 authorization.
- Call
- KeyAuthorization
- Key authorization for provisioning access keys
- KeyAuthorization
Chain IdError - Error returned when a
KeyAuthorization’schain_iddoes not match the expected value. - Keychain
Signature - Keychain signature wrapping another signature with a user address. This allows an access key to sign on behalf of a root account.
- Recovered
Tempo Authorization - A recovered EIP-7702 authorization with AA signature support.
- Signed
KeyAuthorization - Signed key authorization that can be attached to a transaction.
- Tempo
Signed Authorization - A signed EIP-7702 authorization with AA signature support.
- Tempo
Transaction - Tempo transaction following the Tempo spec.
- Token
Limit - Token spending limit for access keys
Enums§
- Keychain
Version - Keychain signature version.
- Keychain
Version Error - Keychain version validation error.
- Primitive
Signature - Primitive signature types that can be used standalone or within a Keychain signature. This enum contains only the base signature types: Secp256k1, P256, and WebAuthn. It does NOT support Keychain signatures to prevent recursion.
- Signature
Type - Signature type enumeration
- Tempo
Signature - AA transaction signature supporting multiple signature schemes
- Tempo
TxEnvelope - Tempo transaction envelope containing all supported transaction types
- Tempo
TxType - Transaction types supported by
TempoTxEnvelope. - Tempo
Typed Transaction - Typed transaction enum corresponding to the
TempoTxEnvelopeenvelope.
Constants§
- MAGIC
- EIP-7702 authorization magic byte
- MAX_
WEBAUTHN_ SIGNATURE_ LENGTH - P256_
SIGNATURE_ LENGTH - SECP256
K1_ SIGNATURE_ LENGTH - Signature type constants
- TEMPO_
EXPIRING_ NONCE_ KEY - Nonce key marking an expiring nonce transaction (uses tx hash for replay protection).
- TEMPO_
EXPIRING_ NONCE_ MAX_ EXPIRY_ SECS - Maximum allowed expiry window for expiring nonce transactions (30 seconds).
- TEMPO_
GAS_ PRICE_ SCALING_ FACTOR - Scaling factor for converting gas prices (attodollars) to TIP-20 token amounts (microdollars).
- TEMPO_
TX_ TYPE_ ID - Tempo transaction type byte (0x76)
- TIP20_
PAYMENT_ PREFIX - TIP20 payment address prefix (12 bytes for payment classification) Same as TIP20_TOKEN_PREFIX
Functions§
- calc_
gas_ balance_ spending - Calculates gas balance spending in TIP-20 token units (microdollars).
- derive_
p256_ address - Derives a P256 address from public key coordinates
- validate_
calls - Validates the calls list structure for Tempo transactions.