embrio-tech / centrifuge-subql

Subquery for Pools on Centrifuge Chain and Altair
https://explorer.subquery.network/subquery/embrio-tech/centrifuge-subql
MIT License
0 stars 1 forks source link

Track NAV using runtime API #199

Closed hieronx closed 9 months ago

hieronx commented 10 months ago

Runtime API: poolsApi.nav(poolId)

Type definition: https://github.com/centrifuge/apps/blob/pool-fees-follow-up/centrifuge-js/src/CentrifugeBase.ts#L124

filo87 commented 9 months ago

@hieronx the link above seems to point to a deleted branch....

Type definition: https://github.com/centrifuge/apps/blob/pool-fees-follow-up/centrifuge-js/src/CentrifugeBase.ts#L124

do you have an updated one? Or was it merged? because in master I cannot find the method.

hieronx commented 9 months ago

https://github.com/centrifuge/apps/blob/3bd0339b1895d1adcc80ce0038a0bd6937e413fa/centrifuge-js/src/CentrifugeBase.ts#L129 here you go @filo87