Module models

Source
Expand description

§Models Module

Contains core data structures and type definitions for the relayer service.

Modules§

common_codes
evm
openzeppelin_codes
solana

Structs§

ApiResponse
AppState
Represents the application state, holding various repositories and services required for the application’s operation.
AwsKmsSignerConfig
DeletePendingTransactionsResponse
EncodedSerializedTransaction
EvmNetwork
EvmPolicyResponse
EvmTransactionData
EvmTransactionDataSignature
EvmTransactionRequest
EvmTransactionResponse
FeeEstimateRequestParams
FeeEstimateResult
GetFeaturesEnabledRequestParams
GetFeaturesEnabledResult
GetSupportedTokensItem
GetSupportedTokensRequestParams
GetSupportedTokensResult
GoogleCloudKmsSignerConfig
GoogleCloudKmsSignerKeyConfig
GoogleCloudKmsSignerServiceAccountConfig
JsonRpcError
JSON-RPC 2.0 Error structure.
JsonRpcRequest
JSON-RPC 2.0 Request structure.
JsonRpcResponse
JSON-RPC 2.0 Response structure.
JupiterSwapOptions
LocalSignerConfig
NetworkRepoModel
Network repository model representing a network configuration stored in the repository.
NotificationRepoModel
OpenZeppelinErrorCodes
Custom OpenZeppelin error codes for extended JSON-RPC functionality.
PaginationMeta
PaginationQuery
PluginCallRequest
PluginModel
PrepareTransactionRequestParams
PrepareTransactionResult
RelayerDisabledPayload
RelayerEvmPolicy
RelayerRepoModel
RelayerResponse
RelayerSolanaPolicy
RelayerSolanaSwapConfig
RelayerStellarPolicy
RpcConfig
Configuration for an RPC endpoint.
RpcErrorCodes
JSON-RPC 2.0 error codes as defined in the specification.
SecretString
SignAndSendTransactionRequestParams
SignAndSendTransactionResult
SignTransactionRequestParams
SignTransactionResult
SignerRepoModel
SolanaAllowedTokensPolicy
SolanaAllowedTokensSwapConfig
SolanaDexPayload
SolanaNetwork
SolanaPolicyResponse
SolanaTransactionData
SolanaTransactionRequest
SolanaTransactionResponse
StellarNetwork
StellarPolicyResponse
StellarTransactionData
StellarTransactionRequest
StellarTransactionResponse
TransactionFailurePayload
TransactionRepoModel
TransactionUpdateRequest
TransferTransactionRequestParams
TransferTransactionResult
TurnkeySignerConfig
VaultTransitSignerConfig
WebhookNotification
WebhookResponse

Enums§

Address
AddressError
ApiError
AssetSpec
AuthSpec
Authorization specification for Soroban operations
ContractSource
Represents the source for contract creation
EvmRpcRequest
EvmRpcResult
HostFunctionSpec
Represents different host function specifications
JsonRpcId
Represents a JSON-RPC 2.0 ID value. According to the spec, the ID can be a String or Number. When used in Option: Some(id) = actual ID, None = explicit null.
MemoSpec
NetworkConfigData
Network configuration data enum that can hold different network types.
NetworkError
NetworkPolicyResponse
NetworkRpcRequest
NetworkRpcResult
NetworkTransactionData
NetworkTransactionRequest
NetworkType
NotificationType
OperationSpec
PlainOrEnvValue
PlainOrEnvValueError
RelayerError
RelayerNetworkPolicy
RelayerStatus
RepositoryError
RpcConfigError
SignerConfig
SignerError
SignerFactoryError
SignerType
SolanaEncodingError
SolanaFeePaymentStrategy
SolanaRpcMethod
SolanaRpcRequest
SolanaRpcResult
SolanaSwapStrategy
SolanaWebhookRpcPayload
StellarProviderError
StellarRpcRequest
StellarRpcResult
StellarValidationError
Specific errors that can occur during Stellar transaction validation
TransactionError
TransactionInput
Represents different input types for Stellar transactions
TransactionResponse
TransactionStatus
WasmSource
Represents different ways to provide WASM code
WebhookPayload

Traits§

EvmTransactionDataTrait

Functions§

convert_to_internal_rpc_request
Converts a raw JSON-RPC request to the internal NetworkRpcRequest format.
produce_relayer_disabled_payload
produce_solana_dex_webhook_payload
produce_solana_rpc_webhook_payload
Produces a notification payload for a Solana RPC webhook event
produce_transaction_update_notification_payload
validate_plain_or_env_value

Type Aliases§

DecoratedSignature
DefaultAppState
U256