All integrationsCryptocurrency

XRP Ledger

Read the XRP Ledger through its public servers: account balances and settings, transactions and ledgers, tokens and trust lines, NFTs and their offers, order books, AMM pools, price oracles and network fees, and start workflows when an account transacts or is paid.

actions
19
triggers
2

Triggers

Start a workflow when something happens in XRP Ledger.

  • New XRP Ledger transactionRuns for every validated transaction that touches an account: ones it sends, ones sent to it, and others that change it. Optionally only one kind of transaction.
  • XRP Ledger payment receivedRuns when a payment to an account succeeds, with the amount actually delivered. Optionally only one currency or one destination tag.

Actions

Steps a workflow can run in XRP Ledger.

  • Get accountGet an XRP Ledger account's XRP balance, how much of it can be spent after the reserve, its settings (such as whether payments to it need a destination tag), its domain and its last transaction.
  • List trust linesList the tokens an account holds (or, for a token issuer, who holds its tokens): each trust line's token, counterparty, balance and limit, and its freeze and rippling settings.
  • List account transactionsList an account's validated transactions, newest first, optionally between two dates and of one type: what each did in a sentence, the amount delivered, the fee, the result and any memos.
  • Get transactionLook up one transaction by its hash: what it did, the amount delivered, the fee, whether it succeeded, its ledger and date, and how it changed every balance it touched.
  • List account objectsList what an account owns on the ledger, such as escrows, payment channels, checks, offers, NFT offers, tickets and trust lines, optionally only one kind.
  • List account offersList an account's open offers on the XRP Ledger's decentralized exchange: what each sells, what it asks in return and at what price.
  • List account NFTsList the NFTs an account holds, with each one's issuer, collection (taxon), serial number, URI, royalty and transfer rules.
  • Get issued token totalsFor a token issuer, get how much of each of its tokens others hold in total, what its hot wallets hold and which balances it has frozen.
  • Get ledgerGet a ledger (the latest validated one, or one by number or hash): when it closed, how many transactions it holds and how much XRP exists, and optionally every transaction in it.
  • Get order bookSee the offers on the XRP Ledger's decentralized exchange selling one currency for another, best price first: how much each has for sale, what it asks and the price.
  • Get AMM poolGet the automated market maker (AMM) pool for two currencies: how much of each it holds, the price that implies, its trading fee, LP tokens and auction slot, and the fee votes.
  • List NFT offersList the open offers to sell or buy one NFT: who made each, the price, and any expiry or restriction to one buyer.
  • Get NFTLook up one NFT by its id: who holds it now, who minted it, its collection and serial number, its URI, its royalty and whether it has been burned.
  • List NFTs by issuerList the NFTs an account has minted, optionally from one collection (taxon), with who holds each one now.
  • Get network statusGet the XRP Ledger's latest validated ledger and how long ago it closed, the base transaction fee, the account reserves and the server's state.
  • Get transaction feesGet what a transaction costs right now: the minimum, median and open ledger fees, and how full the current ledger and the queue are.
  • Check deposit authorizationCheck whether one account may send payments straight to another, which matters when the recipient has turned on deposit authorization.
  • Check rippling settingsCheck an account's rippling settings against what a token issuer or a regular holder should have, and get each problem with the transaction that would fix it.
  • Get price oracleRead the prices a price oracle publishes on the XRP Ledger, such as DIA's XRP, BTC, ETH and stablecoin prices in US dollars, and when it last updated them.

Automate XRP Ledger with Lodol.

Connect XRP Ledger and ask your AI for your first workflow.

Free plan, no credit card