Open manojsdoshi opened 10 months ago
Creation confirmation
{ "result": { "deprecated": "Signing support in the 'submit' command has been deprecated and will be removed in a future version of the server. Please migrate to a standalone signing tool.", "engine_result": "tesSUCCESS", "engine_result_code": 0, "engine_result_message": "The transaction was applied. Only final in a validated ledger.", "status": "success", "tx_blob": "120033228000000024000001DC2F65A0717220330000000168400000000000000A73210240DF363F130162EFF41FA0D3F0078C2287723D82FD906D6F9BB0F5DE2FF85B2B7446304402207CFB028CD26DBFE203AED6227B2804343D89CB7917373E1860CF168552217CD30220570DACD93AAC1C4BB160BB0267C5BBD31B6BB8A9B4C237EEB199A252E73FC8607503555249701C0863757272656E6379701D0870726F7669646572811492A3E41D995834FA353A5D1A77DF843F2A937B28F018E020301700000000000002E4041001011A0000000000000000000000000000000000000000021A0000000000000000000000005553440000000000E1E020301700000000000002E4041001011A0000000000000000000000004254430000000000021A0000000000000000000000005553440000000000E1E020301700000000000002E5041001011A0000000000000000000000004254430000000000021A000000000000000000000000494E520000000000E1E020301700000000000002E6041001011A0000000000000000000000004254430000000000021A000000000000000000000000434E590000000000E1F1", "tx_json": { "Account": "rN4MzMFGqFnciV6vv1dD3FRfPKyFxNCYzk", "AssetClass": "63757272656E6379", "Fee": "10", "Flags": 2147483648, "LastUpdateTime": 1705013618, "OracleDocumentID": 1, "PriceDataSeries": [ { "PriceData": { "AssetPrice": "2e4", "BaseAsset": { "currency": "XRP" }, "QuoteAsset": { "currency": "USD" }, "Scale": 1 } }, { "PriceData": { "AssetPrice": "2e4", "BaseAsset": { "currency": "BTC" }, "QuoteAsset": { "currency": "USD" }, "Scale": 1 } }, { "PriceData": { "AssetPrice": "2e5", "BaseAsset": { "currency": "BTC" }, "QuoteAsset": { "currency": "INR" }, "Scale": 1 } }, { "PriceData": { "AssetPrice": "2e6", "BaseAsset": { "currency": "BTC" }, "QuoteAsset": { "currency": "CNY" }, "Scale": 1 } } ], "Provider": "70726F7669646572", "Sequence": 476, "SigningPubKey": "0240DF363F130162EFF41FA0D3F0078C2287723D82FD906D6F9BB0F5DE2FF85B2B", "TransactionType": "OracleSet", "TxnSignature": "304402207CFB028CD26DBFE203AED6227B2804343D89CB7917373E1860CF168552217CD30220570DACD93AAC1C4BB160BB0267C5BBD31B6BB8A9B4C237EEB199A252E73FC860", "URI": "555249", "hash": "F6B965E9EB0C01C84ACFC33763E1824B55C3EAE5AD694246D95BCD172E0CFB72" } } }
Fetching the oracle for an address:
{ "result": { "error": "entryNotFound", "error_message": null, "ledger_hash": "7F96DF723A37A7B2D35C80B74CFFA6648E0D1BD5D43F098B720F0C1A8E8D72CA", "ledger_index": 582, "request": { "command": "ledger_entry", "ledger_index": "validated", "oracle": { "account": "rN4MzMFGqFnciV6vv1dD3FRfPKyFxNCYzk", "oracle_document_id": 1 } }, "status": "error", "validated": true } }
Creation confirmation
{ "result": { "deprecated": "Signing support in the 'submit' command has been deprecated and will be removed in a future version of the server. Please migrate to a standalone signing tool.", "engine_result": "tesSUCCESS", "engine_result_code": 0, "engine_result_message": "The transaction was applied. Only final in a validated ledger.", "status": "success", "tx_blob": "120033228000000024000001DC2F65A0717220330000000168400000000000000A73210240DF363F130162EFF41FA0D3F0078C2287723D82FD906D6F9BB0F5DE2FF85B2B7446304402207CFB028CD26DBFE203AED6227B2804343D89CB7917373E1860CF168552217CD30220570DACD93AAC1C4BB160BB0267C5BBD31B6BB8A9B4C237EEB199A252E73FC8607503555249701C0863757272656E6379701D0870726F7669646572811492A3E41D995834FA353A5D1A77DF843F2A937B28F018E020301700000000000002E4041001011A0000000000000000000000000000000000000000021A0000000000000000000000005553440000000000E1E020301700000000000002E4041001011A0000000000000000000000004254430000000000021A0000000000000000000000005553440000000000E1E020301700000000000002E5041001011A0000000000000000000000004254430000000000021A000000000000000000000000494E520000000000E1E020301700000000000002E6041001011A0000000000000000000000004254430000000000021A000000000000000000000000434E590000000000E1F1", "tx_json": { "Account": "rN4MzMFGqFnciV6vv1dD3FRfPKyFxNCYzk", "AssetClass": "63757272656E6379", "Fee": "10", "Flags": 2147483648, "LastUpdateTime": 1705013618, "OracleDocumentID": 1, "PriceDataSeries": [ { "PriceData": { "AssetPrice": "2e4", "BaseAsset": { "currency": "XRP" }, "QuoteAsset": { "currency": "USD" }, "Scale": 1 } }, { "PriceData": { "AssetPrice": "2e4", "BaseAsset": { "currency": "BTC" }, "QuoteAsset": { "currency": "USD" }, "Scale": 1 } }, { "PriceData": { "AssetPrice": "2e5", "BaseAsset": { "currency": "BTC" }, "QuoteAsset": { "currency": "INR" }, "Scale": 1 } }, { "PriceData": { "AssetPrice": "2e6", "BaseAsset": { "currency": "BTC" }, "QuoteAsset": { "currency": "CNY" }, "Scale": 1 } } ], "Provider": "70726F7669646572", "Sequence": 476, "SigningPubKey": "0240DF363F130162EFF41FA0D3F0078C2287723D82FD906D6F9BB0F5DE2FF85B2B", "TransactionType": "OracleSet", "TxnSignature": "304402207CFB028CD26DBFE203AED6227B2804343D89CB7917373E1860CF168552217CD30220570DACD93AAC1C4BB160BB0267C5BBD31B6BB8A9B4C237EEB199A252E73FC860", "URI": "555249", "hash": "F6B965E9EB0C01C84ACFC33763E1824B55C3EAE5AD694246D95BCD172E0CFB72" } } }
Fetching the oracle for an address:
{ "result": { "error": "entryNotFound", "error_message": null, "ledger_hash": "7F96DF723A37A7B2D35C80B74CFFA6648E0D1BD5D43F098B720F0C1A8E8D72CA", "ledger_index": 582, "request": { "command": "ledger_entry", "ledger_index": "validated", "oracle": { "account": "rN4MzMFGqFnciV6vv1dD3FRfPKyFxNCYzk", "oracle_document_id": 1 } }, "status": "error", "validated": true } }