Constructors
constructor
- new default(address, options): default
Parameters
- address: `ok_${string}`
- options: {
onNode: Node;
}
Properties
Readonly
address
address: `ok_${string}`
options
options: { onNode: Node; } Methods
getQuery
- getQuery(queryId, options?): Promise<OracleQuery>
Parameters
- queryId: `oq_${string}`
- options: {
onNode?: Node;
} = {}
This class is needed because
getOracleQuery
would return different values depending on the oracle type.