Interface GetQueryObjectReturnType

Hierarchy

Properties

decodedQuery: string
decodedResponse: string
fee: bigint
id: string

Base58Check encoded tagged value

oracleId: string

Base58Check encoded tagged pubkey

pollForResponse: ((options?) => Promise<string>)

Type declaration

    • (options?): Promise<string>
    • Parameters

      • Optional options: {
            interval?: number;
            onNode: Node;
        } & {
            _expectedMineRate?: number;
            _maxPollInterval?: number;
            _microBlockCycle?: number;
        }

      Returns Promise<string>

query: string
respond: ((response, options?) => Promise<SendTransactionReturnType & GetOracleObjectReturnType>)

Type declaration

response: string
responseTtl: {
    type: TTLType;
    value: string;
}

Type declaration

senderId: string

Base58Check encoded tagged pubkey

senderNonce: string
ttl: number

Generated using TypeDoc