Skip to main content

Module constants

Module constants 

Source
Expand description

Constants used throughout the API validation

Constantsยง

MAX_AIRDROP_AMOUNT
Maximum airdrop amount in kelvins (1000 RLO)
MAX_BLOCKHASH_LENGTH
Maximum blockhash length in base58 characters
MAX_KELVINS
Maximum possible kelvins (500 million RLO * 1e9 kelvins/RLO)
MAX_NONCE_LENGTH
Maximum nonce length in characters
MAX_PAGINATION_LIMIT
Maximum limit for paginated requests
MAX_SIGNATURE_LENGTH
Maximum signature length in base58 characters (for a 64-byte signature) Note: Minimum can be as low as 64 chars if signature has many leading zeros
MAX_TRANSACTION_SIZE
Maximum transaction size in bytes
MIN_BLOCKHASH_LENGTH
Minimum blockhash length in base58 characters
MIN_TRANSACTION_SIZE
Minimum transaction size in bytes