Skip to content

likecollective-indexer: book has stake_amount but /staking-events return 0 events, /delta return wrong value #284

Description

@williamchong

Book 0x8b70ce3b9f6856125de0c360d4133444a5a9a307 has 6305920000 staked, same as amount reported on chain

https://indexer.v3.like.co/collective/api/book-nft/0x8b70ce3b9f6856125de0c360d4133444a5a9a307

{
"evm_address": "0x8B70CE3b9F6856125de0c360d4133444a5A9A307",
"staked_amount": "6305920000",
"last_staked_at": "2025-11-05T17:58:28Z",
"number_of_stakers": 3
}

However /staking-events return no staked events

https://indexer.v3.like.co/collective/api/book-nft/0x8b70ce3b9f6856125de0c360d4133444a5a9a307/staking-events/staked

{
"pagination": {
"next_key": 0,
"count": 0
},
"data": []
}

And /delta returns 2205920000 staked, which is wrong

https://indexer.v3.like.co/collective/api/book-nfts/1y/delta?pagination.limit=100&sort_by=staked_amount&sort_order=desc


{
"book_nft": "0x8B70CE3b9F6856125de0c360d4133444a5A9A307",
"staked_amount": "2205920000",
"last_staked_at": "2025-11-29T13:53:17Z",
"number_of_stakers": 3
},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions