RequestType
in package
Request type constants for internal request handling and response parsing.
This class defines string constants that identify the type of HTTP request being made to Horizon or SEP service endpoints. The RequestType is used internally by the ResponseHandler to determine which response class to instantiate and how to parse the JSON response data.
Request types are organized by category:
- Horizon Core: ROOT, HEALTH, FEE_STATS
- Horizon Resources: Single resource and paginated list endpoints
- SEP-10: Authentication challenge
- SEP-12: Customer KYC operations
- SEP-06: Transfer server operations
- SEP-24: Interactive anchor operations
- Federation: Federation protocol lookups
Tags
Table of Contents
Constants
- ACCOUNT_DATA_VALUE = "account_data_value"
- ACCOUNTS_PAGE = "accounts_page"
- ANCHOR_DEPOSIT = "anchor_deposit"
- ANCHOR_FEE = "anchor_fee"
- ANCHOR_INFO = "anchor_info"
- ANCHOR_TRANSACTION = "anchor_transaction"
- ANCHOR_TRANSACTIONS = "anchor_transactions"
- ANCHOR_WITHDRAW = "anchor_withdraw"
- ASSETS_PAGE = "assets_page"
- CHALLENGE = "challenge"
- CLAIMABLE_BALANCES_PAGE = "claimable_balances_page"
- CONTRACT_CHALLENGE = "contract_challenge"
- EFFECTS_PAGE = "effects_page"
- FEDERATION = "federation"
- FEE_STATS = "fee_stats"
- GET_CUSTOMER_FILES = "get_customer_files"
- GET_CUSTOMER_INFO = "get_customer_info"
- HEALTH = "health"
- LEDGERS_PAGE = "ledgers_page"
- LIQUIDITY_POOLS_PAGE = "liquidity_pools_page"
- OFFERS_PAGE = "offers_page"
- OPERATIONS_PAGE = "operations_page"
- ORDER_BOOK = "order_book"
- PATHS_PAGE = "paths_page"
- POST_CUSTOMER_FILE = "post_customer_file"
- PUT_CUSTOMER_INFO = "put_customer_info"
- PUT_CUSTOMER_VERIFICATION = "put_customer_verification"
- ROOT = "root"
- SEP24_FEE = "sep24_fee"
- SEP24_INFO = "sep24_info"
- SEP24_POST = "sep24_post"
- SEP24_TRANSACTION = "sep24_transaction"
- SEP24_TRANSACTIONS = "sep24_transactions"
- SINGLE_ACCOUNT = "account_single"
- SINGLE_CLAIMABLE_BALANCE = "claimable_balance_single"
- SINGLE_LEDGER = "ledger_single"
- SINGLE_LIQUIDITY_POOL = "liquidity_pool_single"
- SINGLE_OFFER = "offer_single"
- SINGLE_OPERATION = "operation_single"
- SINGLE_TRADE = "trade_single"
- SINGLE_TRANSACTION = "transaction_single"
- SUBMIT_ASYNC_TRANSACTION = "submit_async_transaction"
- SUBMIT_TRANSACTION = "submit_transaction"
- TRADE_AGGREGATIONS_PAGE = "trade_aggregation_page"
- TRADES_PAGE = "trades_page"
- TRANSACTIONS_PAGE = "transactions_page"
Constants
ACCOUNT_DATA_VALUE
public
string
ACCOUNT_DATA_VALUE
= "account_data_value"
Account data value endpoint for specific data entries
ACCOUNTS_PAGE
public
string
ACCOUNTS_PAGE
= "accounts_page"
Paginated accounts list endpoint
ANCHOR_DEPOSIT
public
string
ANCHOR_DEPOSIT
= "anchor_deposit"
SEP-06 deposit initiation endpoint
ANCHOR_FEE
public
string
ANCHOR_FEE
= "anchor_fee"
SEP-06 fee query endpoint
ANCHOR_INFO
public
string
ANCHOR_INFO
= "anchor_info"
SEP-06 transfer server info endpoint
ANCHOR_TRANSACTION
public
string
ANCHOR_TRANSACTION
= "anchor_transaction"
SEP-06 single transaction detail endpoint
ANCHOR_TRANSACTIONS
public
string
ANCHOR_TRANSACTIONS
= "anchor_transactions"
SEP-06 transactions list endpoint
ANCHOR_WITHDRAW
public
string
ANCHOR_WITHDRAW
= "anchor_withdraw"
SEP-06 withdrawal initiation endpoint
ASSETS_PAGE
public
string
ASSETS_PAGE
= "assets_page"
Paginated assets list endpoint
CHALLENGE
public
string
CHALLENGE
= "challenge"
SEP-10 authentication challenge endpoint
CLAIMABLE_BALANCES_PAGE
public
string
CLAIMABLE_BALANCES_PAGE
= "claimable_balances_page"
Paginated claimable balances list endpoint
CONTRACT_CHALLENGE
public
string
CONTRACT_CHALLENGE
= "contract_challenge"
SEP-45 contract authentication challenge endpoint
EFFECTS_PAGE
public
string
EFFECTS_PAGE
= "effects_page"
Paginated effects list endpoint
FEDERATION
public
string
FEDERATION
= "federation"
Federation protocol lookup endpoint
FEE_STATS
public
string
FEE_STATS
= "fee_stats"
Fee statistics endpoint for network fee data
GET_CUSTOMER_FILES
public
string
GET_CUSTOMER_FILES
= "get_customer_files"
SEP-12 GET customer files endpoint
GET_CUSTOMER_INFO
public
string
GET_CUSTOMER_INFO
= "get_customer_info"
SEP-12 GET customer info endpoint
HEALTH
public
string
HEALTH
= "health"
Health check endpoint for Horizon instance status
LEDGERS_PAGE
public
string
LEDGERS_PAGE
= "ledgers_page"
Paginated ledgers list endpoint
LIQUIDITY_POOLS_PAGE
public
string
LIQUIDITY_POOLS_PAGE
= "liquidity_pools_page"
Paginated liquidity pools list endpoint
OFFERS_PAGE
public
string
OFFERS_PAGE
= "offers_page"
Paginated offers list endpoint
OPERATIONS_PAGE
public
string
OPERATIONS_PAGE
= "operations_page"
Paginated operations list endpoint
ORDER_BOOK
public
string
ORDER_BOOK
= "order_book"
Order book endpoint for trading pair data
PATHS_PAGE
public
string
PATHS_PAGE
= "paths_page"
Paginated payment paths endpoint
POST_CUSTOMER_FILE
public
string
POST_CUSTOMER_FILE
= "post_customer_file"
SEP-12 POST customer file upload endpoint
PUT_CUSTOMER_INFO
public
string
PUT_CUSTOMER_INFO
= "put_customer_info"
SEP-12 PUT customer info endpoint
PUT_CUSTOMER_VERIFICATION
public
string
PUT_CUSTOMER_VERIFICATION
= "put_customer_verification"
SEP-12 PUT customer verification endpoint
ROOT
public
string
ROOT
= "root"
Root endpoint for Horizon instance information
SEP24_FEE
public
string
SEP24_FEE
= "sep24_fee"
SEP-24 interactive anchor fee endpoint
SEP24_INFO
public
string
SEP24_INFO
= "sep24_info"
SEP-24 interactive anchor info endpoint
SEP24_POST
public
string
SEP24_POST
= "sep24_post"
SEP-24 interactive anchor deposit/withdraw initiation endpoint
SEP24_TRANSACTION
public
string
SEP24_TRANSACTION
= "sep24_transaction"
SEP-24 single transaction detail endpoint
SEP24_TRANSACTIONS
public
string
SEP24_TRANSACTIONS
= "sep24_transactions"
SEP-24 transactions list endpoint
SINGLE_ACCOUNT
public
string
SINGLE_ACCOUNT
= "account_single"
Single account detail endpoint
SINGLE_CLAIMABLE_BALANCE
public
string
SINGLE_CLAIMABLE_BALANCE
= "claimable_balance_single"
Single claimable balance detail endpoint
SINGLE_LEDGER
public
string
SINGLE_LEDGER
= "ledger_single"
Single ledger detail endpoint
SINGLE_LIQUIDITY_POOL
public
string
SINGLE_LIQUIDITY_POOL
= "liquidity_pool_single"
Single liquidity pool detail endpoint
SINGLE_OFFER
public
string
SINGLE_OFFER
= "offer_single"
Single offer detail endpoint
SINGLE_OPERATION
public
string
SINGLE_OPERATION
= "operation_single"
Single operation detail endpoint
SINGLE_TRADE
public
string
SINGLE_TRADE
= "trade_single"
Single trade detail endpoint
SINGLE_TRANSACTION
public
string
SINGLE_TRANSACTION
= "transaction_single"
Single transaction detail endpoint
SUBMIT_ASYNC_TRANSACTION
public
string
SUBMIT_ASYNC_TRANSACTION
= "submit_async_transaction"
Async transaction submission endpoint
SUBMIT_TRANSACTION
public
string
SUBMIT_TRANSACTION
= "submit_transaction"
Transaction submission endpoint
TRADE_AGGREGATIONS_PAGE
public
string
TRADE_AGGREGATIONS_PAGE
= "trade_aggregation_page"
Paginated trade aggregations endpoint
TRADES_PAGE
public
string
TRADES_PAGE
= "trades_page"
Paginated trades list endpoint
TRANSACTIONS_PAGE
public
string
TRANSACTIONS_PAGE
= "transactions_page"
Paginated transactions list endpoint