Retrieve a Claimable Balance

The single claimable balance endpoint provides information on a claimable balance.

This method will use 20 Compute Units.


Reference: Here

Retrieve a Claimable Balance

get

The single claimable balance endpoint provides information on a claimable balance.

Path parameters
claimable_balance_idstringRequired

A unique identifier for this claimable balance.

Responses
200
Success
application/json
get
GET /v1/<YOUR_API_KEY_HERE>/claimable_balances/{claimable_balance_id} HTTP/1.1
Host: mainnet.stellar.validationcloud.io
Accept: */*
200

Success

{
  "_links": {
    "self": {
      "href": "https://horizon-testnet.stellar.org/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000"
    },
    "operations": {
      "href": "https://horizon-testnet.stellar.org/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000/operations{?cursor,limit,order}",
      "templated": true
    },
    "transactions": {
      "href": "https://horizon-testnet.stellar.org/claimable_balances/000000000102030000000000000000000000000000000000000000000000000000000000/transactions{?cursor,limit,order}",
      "templated": true
    }
  },
  "id": "000000000102030000000000000000000000000000000000000000000000000000000000",
  "paging_token": "000000000102030000000000000000000000000000000000000000000000000000000000",
  "asset": "native",
  "amount": "10.0000000",
  "claimants": [
    {
      "destination": "GC3C4AKRBQLHOJ45U4XG35ESVWRDECWO5XLDGYADO6DPR3L7KIDVUMML",
      "predicate": {
        "and": [
          {
            "or": [
              {
                "relBefore": "12"
              },
              {
                "absBefore": "2020-08-26T11:15:39Z",
                "absBeforeEpoch": "1598440539"
              }
            ]
          },
          {
            "not": {
              "unconditional": true
            }
          }
        ]
      }
    }
  ],
  "last_modified_ledger": 28411995,
  "last_modified_time": "2020-02-26T19:29:16Z"
}

Last updated

Was this helpful?