InjectiveLabs / injective-ts

Collection of TypeScript packages that consume and interact with the Injective Chain
Apache License 2.0
131 stars 195 forks source link

Binary Options market "admin" field not returned #486

Open danvaneijck opened 3 months ago

danvaneijck commented 3 months ago

the BinaryOptionsMarketInfo type is missing the admin field. The admin is not returned when using IndexerGrpcDerivativesApi.fetchBinaryOptionsMarket

This is a useful field to return when deciding whether to render options to adjust the market parameters.

bangjelkoski commented 2 months ago

That field is not stored within the Mongo database (Indexer API). I'll create a task to add it, in the meantime you should query the on-chain binary option markets and retrieve the admin field from there.