Operations

Retrieve an Account's Operations

This endpoint represents successful operations for a given account and can be used in streaming mode. Streaming mode allows you to listen for new operations for this account as they are added to the Stellar ledger. If called in streaming mode, Horizon will start at the earliest known operation unless a cursor is set, in which case it will start from that cursor. By setting the cursor value to now, you can stream operations created since your request time.

GEThttps://xlm.nownodes.io/accounts/{account_id}/operations
Path parameters
account_id*string

This account’s public key encoded in a base32 string representation.

Example: "GDMQQNJM4UL7QIA66P7R2PZHMQINWZBM77BEBMHLFXD5JEUAHGJ7R4JZ"
Query parameters
Response

Success

Body
_linksobject
one of
Request
const response = await fetch('https://xlm.nownodes.io/accounts/{account_id}/operations', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "_links": {
    "self": {
      "href": "text",
      "templated": false
    },
    "transaction": {
      "href": "text",
      "templated": false
    },
    "effects": {
      "href": "text",
      "templated": false
    },
    "succeeds": {
      "href": "text",
      "templated": false
    },
    "precedes": {
      "href": "text",
      "templated": false
    }
  },
  "id": "text",
  "paging_token": "text",
  "transaction_successful": false,
  "source_account": "text",
  "type": "create_account",
  "type_i": 0,
  "created_at": "text",
  "transaction_hash": "text",
  "starting_balance": "text",
  "funder": "text",
  "account": "text"
}