XRP Ledger
GetBlock provides fast and reliable access to XRP Ledger nodes via JSON-RPC and WebSocket APIs. Connect to the XRP Ledger network without running your own infrastructure.
XRP Ledger (XRPL) is a decentralized, open-source blockchain launched in 2012. Unlike Bitcoin or Ethereum, XRPL uses a unique Federated Consensus mechanism that enables fast, low-cost transactions without mining. The network processes over 1,500 transactions per second with settlement times of 3-5 seconds, making it ideal for payments, tokenization, and DeFi applications.
Key Features
Federated Consensus Protocol: Unique consensus mechanism using trusted validators (Unique Node Lists) instead of Proof of Work or Proof of Stake
Fast Settlement: Transactions finalize in 3-5 seconds
High Throughput: Supports 1,500+ transactions per second
Low Transaction Fees: Fees are typically less than $0.01 per transaction
Native DEX: Built-in decentralized exchange for trading any issued tokens
Energy Efficient: Minimal energy consumption compared to PoW blockchains
XRP Native Token: Used for transaction fees, bridging currencies, and as a store of value
Token Issuance: Native support for issuing custom tokens and stablecoins
NFT Support: XLS-20 standard for minting, trading, and burning NFTs
No Smart Contracts by Default: Purpose-built for payments; EVM sidechain available for smart contract functionality
Network Configuration
Network Name
XRP Ledger
Native Token
XRP
Decimals
6 (1 XRP = 1,000,000 drops)
Ledger Close Time
~3-5 seconds
Account Reserve
10 XRP base reserve
Block Explorer
https://xrpscan.com
Base URL
Supported Networks
Mainnet
1600
✅
✅
Quickstart
In this section, you will learn how to make your first call with either:
Axios (JavaScript/Node.js)
Python (Requests library)
Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).
Refer to:
Supported Methods
Account Methods
account_info
Get account information and XRP balance
account_channels
Get payment channels where account is source
account_currencies
Get currencies an account can send/receive
account_lines
Get trust lines for an account
account_objects
Get raw ledger objects owned by account
account_offers
Get outstanding offers by account
account_tx
Get transactions for an account
Ledger Methods
ledger
Get ledger information
ledger_closed
Get most recently closed ledger
ledger_current
Get current working ledger
ledger_data
Get contents of specified ledger
ledger_entry
Get specific ledger entry
Transaction Methods
tx
Get transaction by hash
submit
Submit a signed transaction
submit_multisigned
Submit a multi-signed transaction
transaction_entry
Get transaction from specific ledger
tx_history
Get recent transactions (deprecated)
Path & Order Book Methods
book_offers
Get offers to exchange currencies
deposit_authorized
Check if deposit is authorized
path_find
Find payment paths
ripple_path_find
Find ripple payment paths
Payment Channel Methods
channel_authorize
Authorize payment channel claim
channel_verify
Verify payment channel claim signature
Subscription Methods
subscribe
Subscribe to events
unsubscribe
Unsubscribe from events
Server Methods
fee
Get current transaction fee
server_info
Get server information
server_state
Get server state
manifest
Get validator manifest
ping
Ping the server
random
Generate random number
Utility Methods
json
Proxy for other commands
Signing Methods (Admin)
sign
Sign a transaction
sign_for
Sign for multi-signature
Special Methods
gateway_balances
Get gateway balances
noripple_check
Check NoRipple flag status
Support
For technical support and questions:
Support Email: support@getblock.io
See Also
Last updated
Was this helpful?