Open
Description
Issue Description
For a value of type
in account_objects
, Clio accepts only Short Name
but not Canonical Name
listed in the document, whereas rippled does both.
Steps to Reproduce
Sample Request:
{
"method": "account_objects",
"params": [
{
"account": "rrhHkGLpow1GxEVJhi1LKzBRqzifJEaka5",
"deletion_blockers_only": false,
"limit": 20,
"validated": true,
"type": "Escrow"
}
]
}
Expected Result
Rippled response:
{
"result": {
"account": "rrhHkGLpow1GxEVJhi1LKzBRqzifJEaka5",
"account_objects": [
{
"Account": "rPuijb9MYVFLdv4YjRc4gzUDDrHWNAWrb6",
"Amount": {
"currency": "USD",
"issuer": "rhtTyZXorjvoz1JCMSYNLcY7x6LL7mwC2d",
"value": "10000"
},
"CancelAfter": 804783958,
"Destination": "rrhHkGLpow1GxEVJhi1LKzBRqzifJEaka5",
"DestinationNode": "0",
"FinishAfter": 804783932,
"Flags": 0,
"IssuerNode": "0",
"LedgerEntryType": "Escrow",
"OwnerNode": "0",
"PreviousTxnID": "FF857C63ECCBCF8D27B625497A064AE7BA2E22022BE4DAF9DBDB143600A5E7A4",
"PreviousTxnLgrSeq": 166853,
"index": "1E89B5CEC00DED60972861C31CA13FE2BD2EFCF414C6DB06ABB35A333895AFBA"
}
],
"ledger_current_index": 172498,
"status": "success",
"validated": false
}
}
Actual Result
Clio response:
{
"result": {
"error": "invalidParams",
"error_code": 31,
"error_message": "Invalid field 'type'.",
"status": "error",
"type": "response",
"request": {
"method": "account_objects",
"params": [
{
"account": "rrhHkGLpow1GxEVJhi1LKzBRqzifJEaka5",
"deletion_blockers_only": false,
"limit": 20,
"validated": true,
"type": "Escrow"
}
]
}
},
"warnings": [
{
"id": 2001,
"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"
}
]
}
Environment
Supporting Files
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
📋 Backlog