Skip to main content

Module transaction

Module transaction 

Source

Modules§

envelope
key_authorization
tempo_transaction
tt_authorization
tt_signature
tt_signed

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
KeyAuthorizationChainIdError
Error returned when a KeyAuthorization’s chain_id does not match the expected value.
KeychainSignature
Keychain signature wrapping another signature with a user address. This allows an access key to sign on behalf of a root account.
RecoveredTempoAuthorization
A recovered EIP-7702 authorization with AA signature support.
SignedKeyAuthorization
Signed key authorization that can be attached to a transaction.
TempoSignedAuthorization
A signed EIP-7702 authorization with AA signature support.
TempoTransaction
Tempo transaction following the Tempo spec.
TokenLimit
Token spending limit for access keys

Enums§

KeychainVersion
Keychain signature version.
KeychainVersionError
Keychain version validation error.
PrimitiveSignature
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.
SignatureType
Signature type enumeration
TempoSignature
AA transaction signature supporting multiple signature schemes
TempoTxEnvelope
Tempo transaction envelope containing all supported transaction types
TempoTxType
Transaction types supported by TempoTxEnvelope.
TempoTypedTransaction
Typed transaction enum corresponding to the TempoTxEnvelope envelope.

Constants§

MAGIC
EIP-7702 authorization magic byte
MAX_WEBAUTHN_SIGNATURE_LENGTH
P256_SIGNATURE_LENGTH
SECP256K1_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.