ripple-lib
Version:
Deprecated - consider migrating to xrpl.js: https://xrpl.org/xrpljs2-migration-guide.html
38 lines (37 loc) • 1.13 kB
JSON
{
"$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"]
}