For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payments

This endpoint returns all payment-related operations in a specific ledger.

Operation types that can be returned by this endpoint include:

  • create_account

  • payment

  • path_payment

  • account_merge

var StellarSdk = require("stellar-sdk");
var server = new StellarSdk.Server("https://expansion-testnet.bantu.network/");

server
  .payments()
  .forLedger("27521176")
  .call()
  .then(function (resp) {
    console.log(resp);
  })
  .catch(function (err) {
    console.error(err);
  });
curl "https://expansion-testnet.bantu.network/ledgers/27521176/payments?limit=1"

Last updated

Was this helpful?