You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have studied the structure of the delegations table. I can use SQL queries to retrieve the data I need, such as querying all stakers under finality_provider_pk_hex. Add more query conditions at the API ?
query fields:
stake_tx.start_height
state
is_overflow
finality_provider_pk_hex
sort fields:
stake_tx.start_height
example find:
from pymongo import MongoClient
# Requires the PyMongo package.
# https://api.mongodb.com/python/current
client = MongoClient('mongodb://admin:admin@localhost:27017/?directConnection=true')
filter={
'staking_tx.start_height': 857910
}
result = client['staking-api-service']['delegations'].find(
filter=filter
)
I have studied the structure of the delegations table. I can use SQL queries to retrieve the data I need, such as querying all stakers under finality_provider_pk_hex. Add more query conditions at the API ?
query fields:
sort fields:
example find:
The text was updated successfully, but these errors were encountered: