Interface GetOracleObjectReturnType

Hierarchy

Properties

abiVersion: string
extendOracle: Function
getQuery: Function
id: `ok_${string}`
pollQueries: ((cb: ((queries: { fee: bigint; id: string; oracleId: string; query: string; response: string; responseTtl: { type: TTLType; value: string; }; senderId: string; senderNonce: string; ttl: number }[]) => void)) => (() => void))

Type declaration

    • (cb: ((queries: { fee: bigint; id: string; oracleId: string; query: string; response: string; responseTtl: { type: TTLType; value: string; }; senderId: string; senderNonce: string; ttl: number }[]) => void)): (() => void)
    • Parameters

      • cb: ((queries: { fee: bigint; id: string; oracleId: string; query: string; response: string; responseTtl: { type: TTLType; value: string; }; senderId: string; senderNonce: string; ttl: number }[]) => void)
          • (queries: { fee: bigint; id: string; oracleId: string; query: string; response: string; responseTtl: { type: TTLType; value: string; }; senderId: string; senderNonce: string; ttl: number }[]): void
          • Parameters

            • queries: { fee: bigint; id: string; oracleId: string; query: string; response: string; responseTtl: { type: TTLType; value: string; }; senderId: string; senderNonce: string; ttl: number }[]

            Returns void

      Returns (() => void)

        • (): void
        • Poll for oracle queries

          Category

          oracle

          Returns

          Callback to stop polling function

          Returns void

postQuery: Function
queries: { fee: bigint; id: string; oracleId: string; query: string; response: string; responseTtl: { type: TTLType; value: string; }; senderId: string; senderNonce: string; ttl: number }[]
queryFee: bigint
queryFormat: string
respondToQuery: Function
responseFormat: string
ttl: number

Generated using TypeDoc