{ "opencollection": "1.0.0", "info": { "name": "Platform Server Accounts Claimable Balances API", "version": "3.0.0" }, "items": [ { "info": { "name": "Claimable Balances", "type": "folder" }, "items": [ { "info": { "name": "List All Claimable Balances", "type": "http" }, "http": { "method": "GET", "url": "https://platform-server.exampleanchor.com/claimable_balances", "params": [ { "name": "sponser", "value": "", "type": "query", "description": "Account ID of the sponsor. Every account in the response will either be sponsored by the given account ID or have a subentry (trustline, offer, or data entry) which is sponsored by the given account ID." }, { "name": "asset", "value": "", "type": "query", "description": "An issued asset represented as “Code:IssuerAccountID”. Every account in the response will have a trustline for the given asset." }, { "name": "claimant", "value": "", "type": "query", "description": "Account ID of the destination address. Only include claimable balances which can be claimed by the given account ID." }, { "name": "cursor", "value": "", "type": "query", "description": "A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record." }, { "name": "order", "value": "", "type": "query", "description": "A designation of the order in which records should appear. Options include `asc` (ascending) or `desc` (descending). If this argument isn’t set, it defaults to `asc`." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10." } ] }, "docs": "This endpoint lists all available claimable balances." }, { "info": { "name": "Retrieve a Claimable Balance", "type": "http" }, "http": { "method": "GET", "url": "https://platform-server.exampleanchor.com/claimable_balances/:claimable_balance_id", "params": [ { "name": "claimable_balance_id", "value": "", "type": "path", "description": "A unique identifier for this claimable balance." } ] }, "docs": "The single claimable balance endpoint provides information on a claimable balance." }, { "info": { "name": "Retrieve Related Transactions", "type": "http" }, "http": { "method": "GET", "url": "https://platform-server.exampleanchor.com/claimable_balances/:claimable_balance_id/transactions", "params": [ { "name": "claimable_balance_id", "value": "", "type": "path", "description": "A unique identifier for this claimable balance." }, { "name": "cursor", "value": "", "type": "query", "description": "A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record." }, { "name": "order", "value": "", "type": "query", "description": "A designation of the order in which records should appear. Options include `asc` (ascending) or `desc` (descending). If this argument isn’t set, it defaults to `asc`." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10." }, { "name": "include_failed", "value": "", "type": "query", "description": "Set to true to include failed operations in results. Options include true and false." } ] }, "docs": "This endpoint represents successful transactions referencing a given claimable balance and can be used in streaming mode. Streaming mode allows you to listen for new transactions referencing this claimable balance as they are added to the Stellar ledger. If called in streaming mode, Horizon will start at the earliest known transaction unless a cursor is set, in which case it will start from that cursor. By setting the cursor value to now, you can stream transactions created since your request ti" }, { "info": { "name": "Retrieve Related Operations", "type": "http" }, "http": { "method": "GET", "url": "https://platform-server.exampleanchor.com/claimable_balances/:claimable_balance_id/operations", "params": [ { "name": "claimable_balance_id", "value": "", "type": "path", "description": "A unique identifier for this claimable balance." }, { "name": "cursor", "value": "", "type": "query", "description": "A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record." }, { "name": "order", "value": "", "type": "query", "description": "A designation of the order in which records should appear. Options include `asc` (ascending) or `desc` (descending). If this argument isn’t set, it defaults to `asc`." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10." }, { "name": "include_failed", "value": "", "type": "query", "description": "Set to true to include failed operations in results. Options include true and false." }, { "name": "join", "value": "", "type": "query", "description": "Set to transactions to include the transactions which created each of the operations in the response." } ] }, "docs": "This endpoint represents successful operations referencing a given claimable balance and can be used in streaming mode. Streaming mode allows you to listen for new operations referencing this claimable balance 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." } ] } ], "bundled": true }