xrpl
    Preparing search index...

    Interface Oracle

    The Oracle object type describes a single Price Oracle instance.

    interface Oracle {
        AssetClass: string;
        Flags: 0;
        index: string;
        LastUpdateTime: number;
        LedgerEntryType: "Oracle";
        Owner: string;
        PreviousTxnID: string;
        PreviousTxnLgrSeq: number;
        PriceDataSeries: PriceData[];
        Provider: string;
    }

    Hierarchy

    • BaseLedgerEntry
    • HasPreviousTxnID
      • Oracle
    Index

    Properties

    AssetClass: string

    Describes the type of asset, such as "currency", "commodity", or "index".

    Flags: 0

    A bit-map of boolean flags. No flags are defined for the Oracle object type, so this value is always 0.

    index: string
    LastUpdateTime: number

    The time the data was last updated, represented as a unix timestamp in seconds.

    LedgerEntryType: "Oracle"
    Owner: string

    The XRPL account with update and delete privileges for the oracle.

    PreviousTxnID: string

    The identifying hash of the transaction that most recently modified this object.

    PreviousTxnLgrSeq: number

    The index of the ledger that contains the transaction that most recently modified this object.

    PriceDataSeries: PriceData[]

    An array of up to 10 PriceData objects.

    Provider: string

    The oracle provider, such as Chainlink, Band, or DIA.