Modules§
Structs§
- Atto
Tokens - Types used in the public API An amount in SNT Atto. 10^18 Nanos = 1 SNT.
- Custom
Network - EvmWallet
- Payment
Quote - A payment quote to store data given by a node to a client Note that the PaymentQuote is a contract between the node and itself to make sure the clients aren’t mispaying. It is NOT a contract between the client and the node.
- Proof
OfPayment - The proof of payment for a data payment
- Quoting
Metrics - Quoting metrics that got used to generate a quote, or to track peer’s status.
Enums§
- EvmError
- Transfer errors
- EvmNetwork
- EvmWallet
Error
Constants§
- DATA_
PAYMENTS_ ADDRESS - PAYMENT_
TOKEN_ ADDRESS - RPC_URL
- environment variable to connect to a custom EVM network
Functions§
- get_
evm_ network_ from_ env - Get the
Network
from environment variables.
Type Aliases§
- Amount
- Types used in the public API
- EvmAddress
- Quote
Hash - Quote
Payment - Result
- Specialisation of
std::Result
. - Rewards
Address - TxHash