12345678910111213141516171819202122232425262728293031323334353637 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "title": "getTrustlinesParameters",
- "description": "Parameters for getTrustlines",
- "type": "object",
- "properties": {
- "address": {
- "$ref": "address",
- "description": "The address of the account to get trustlines for."
- },
- "options": {
- "description": "Options to filter and determine which trustlines to return.",
- "properties": {
- "counterparty": {
- "$ref": "address",
- "description": "Only return trustlines with this counterparty."
- },
- "currency": {
- "$ref": "currency",
- "description": "Only return trustlines for this currency."
- },
- "limit": {
- "type": "integer",
- "minimum": 1,
- "description": "Return at most this many trustlines."
- },
- "ledgerVersion": {
- "$ref": "ledgerVersion",
- "description": "Return trustlines as they were in this historical ledger version."
- }
- },
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": ["address"]
- }
|