Skip to content

Commit

Permalink
fix: rhomarkets adapter query support blockNumber parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl committed Jun 19, 2024
1 parent 9e30116 commit e180c55
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions adapters/rhomarkets/src/sdk/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ query ($limit: Int, $offset: Int, $blockNumber: Int) {
export async function fetchGraphQLData(
blockNumber: number
): Promise<ProtocalData[]> {
// limit: number,
// offset: number,
// data(block: { number: ${blockNumber} }) {
const query = `
query RHO_MARKETS {
data {
query RHO_MARKETS {
data(blockNumber: ${blockNumber}) {
timestamp
block_number
user_address
Expand Down

0 comments on commit e180c55

Please sign in to comment.