Module transaction
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
- 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
- TxFee
Token - A transaction with fee token preference following the Tempo spec.
Enums§
- 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§
- FEE_
TOKEN_ TX_ TYPE_ ID - Fee token transaction type byte (0x77)
- MAGIC
- EIP-7702 authorization magic byte
- MAX_
WEBAUTHN_ SIGNATURE_ LENGTH - P256_
SIGNATURE_ LENGTH - SECP256
K1_ SIGNATURE_ LENGTH - Signature type constants
- TEMPO_
GAS_ PRICE_ SCALING_ FACTOR - Factor by which we scale the gas price for gas spending calculations.
- TEMPO_
TX_ TYPE_ ID - Tempo transaction type byte (0x76)
Functions§
- calc_
gas_ balance_ spending - Calculates gas balance spending with gas price scaled by
TEMPO_GAS_PRICE_SCALING_FACTOR. - derive_
p256_ address - Derives a P256 address from public key coordinates