mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-28 16:15:49 +00:00
29 lines
1.1 KiB
JSON
29 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "getTransactionParameters",
|
|
"description": "Parameters for getTransaction",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {"$ref": "transactionHash"},
|
|
"options": {
|
|
"description": "Options to limit the ledger versions to search and/or to include raw transaction data.",
|
|
"properties": {
|
|
"minLedgerVersion": {
|
|
"$ref": "ledgerVersion",
|
|
"description": "The lowest ledger version to search. This must be an integer greater than 0, or one of the following strings: 'validated', 'closed', 'current'."
|
|
},
|
|
"maxLedgerVersion": {
|
|
"$ref": "ledgerVersion",
|
|
"description": "The highest ledger version to search. This must be an integer greater than 0, or one of the following strings: 'validated', 'closed', 'current'."
|
|
},
|
|
"includeRawTransaction": {
|
|
"description": "Include raw transaction data. For advanced users; exercise caution when interpreting this data."
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["id"]
|
|
}
|