Expand description
Validation for API request types
Enums§
- Validation
Error - Validation error types for RPC requests
Functions§
- validate_
addresses - Validate array of addresses (public keys)
- validate_
airdrop_ amount - Custom validator for airdrop amounts
- validate_
airdrop_ amount_ i64 - Custom validator for airdrop amounts (i64 version)
- validate_
base58 - Validate base58 encoded data
- validate_
base64 - Validate base64 encoded data
- validate_
blockhash - Validate blockhash format (should be valid base58)
- validate_
encoding - Validate encoding format
- validate_
lamports - Validate lamports amount (should be reasonable)
- validate_
limit - Validate limit parameter for paginated requests
- validate_
limit_ string - Custom validator for limit as string (some endpoints use string format)
- validate_
max_ transaction_ version - Validate max transaction version
- validate_
nonce - Validate nonce format (should be valid UTF-8 and reasonable length)
- validate_
pubkey - Validate Solana public key format
- validate_
pubkey_ array - Custom validator for array of public keys
- validate_
request - Validation middleware that validates a request
- validate_
signature - Validate transaction signature
- validate_
signature_ limit - Validate signature limit (1-1000)
- validate_
signatures - Validate array of signatures
- validate_
signatures_ array - Custom validator for array of signatures
- validate_
transaction_ data - Custom validator for transaction data based on encoding
Type Aliases§
- Validation
Result - Result type for validation operations