client.options
Fetches Velo's active options product catalog.
Imports
const velo = require('velo-node')Example
const velo = require('velo-node')
async function main() {
const client = new velo.Client('api_key')
const products = await client.options()
console.log(products)
}
main()Definition
options(): Promise<Object[]>Parameters
None.
Return Type
- Type:
Promise<Object[]>
Resolves to an array of active options products. An empty array is returned when no products match.
| Property | Type | Description |
|---|---|---|
exchange | string | The exchange and options market. |
coin | string | The Velo-aggregated coin symbol. |
product | string | The exchange-native product symbol. |
begin | number | First available timestamp in milliseconds. |