MCPServers
XRP Ledger - MCP server logo

XRP Ledger

4
0

Summary

XRPL MCP Server provides AI models with direct access to XRP Ledger data and functionality through a standardized interface. It enables querying account information, trust lines, NFTs, transaction history, order book data, and submitting signed transactions to the network. Built with Python using the xrpl-py library and FastMCP framework, it connects to public XRPL nodes by default but can be configured for private node connections. This implementation is valuable for AI assistants that need to retrieve real-time blockchain data or interact with the XRP Ledger ecosystem.

Available Actions(8)

get_account_info

Retrieves information about an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'). Returns: Account balance in XRP, Account sequence number.

get_account_lines

Retrieves trust lines for an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'), peer (string, optional): Address of a counterparty account to filter results, limit (integer, optional): Limit for the number of trust lines returned. Returns: JSON-formatted information about the account's trust lines.

get_account_nfts

Retrieves NFTs owned by an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'), limit (integer, optional): Limit for the number of NFTs returned. Returns: JSON-formatted information about the account's NFTs.

get_account_transactions

Retrieves transaction history for an XRP Ledger account. Parameters: address (string): The XRP Ledger account address (starts with 'r'), limit (integer, optional): Limit for the number of transactions returned, binary (boolean, optional): Flag to return transactions in binary format (default False), forward (boolean, optional): Flag to search forward in ledger history (default False). Returns: JSON-formatted information about the account's transaction history.

get_server_info

Retrieves information about the connected XRP Ledger server. Parameters: None. Returns: JSON-formatted information about the XRP Ledger server.

submit_transaction

Submits a signed transaction blob to the XRP Ledger. Parameters: tx_blob (string): The signed transaction blob in hexadecimal format. Returns: JSON-formatted submission result.

get_transaction_info

Retrieves information about a specific transaction. Parameters: transaction_hash (string): The hash of the transaction. Returns: JSON-formatted transaction details.

get_book_offers

Retrieves order book offers for a currency pair on the DEX. Parameters: taker_gets (object): Currency the taker wants to receive, taker_pays (object): Currency the taker wants to pay, limit (integer, optional): Limit for the number of offers returned. Returns: JSON-formatted order book offers.

Last Updated: May 3, 2025

コミュニティレビュー

0.0
0 レビュー
5
0
4
0
3
0
2
0
1
0

まだレビューはありません. 最初のレビューを投稿しましょう!

会話に参加するにはサインインしてください

Coming soon to
HighlightHighlight AI

言語

TypeScript

カテゴリ

タグ