Last updated
Edit

OracleDelete

(Requires the PriceOracle amendment )

[Source]

Delete an Oracle ledger entry.

Example OracleDelete JSON

{
  "TransactionType": "OracleDelete",
  "Account": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
  "OracleDocumentID": 34
}

OracleDelete Fields

FieldJSON TypeInternal TypeRequired?Description
AccountStringAccountIDYesThis account must match the account in the Owner field of the Oracle object.
OracleDocumentIDStringUInt32YesA unique identifier of the price oracle for the Account.

Error Cases

Besides errors that can occur for all transactions, OracleDelete transactions can result in the following transaction result codes.

Error CodeDescription
tecNO_ENTRYThe Oracle object doesn't exist.