Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction parameter for query outputs an empty list #51

Open
rogermas05 opened this issue Nov 12, 2024 · 0 comments
Open

Transaction parameter for query outputs an empty list #51

rogermas05 opened this issue Nov 12, 2024 · 0 comments

Comments

@rogermas05
Copy link

rogermas05 commented Nov 12, 2024

query Account {
    account(id: "0x551e47c9f551d61c3b76a6676292b1906ec7b8bd", subgraphError: allow) {
        id
        creationTimestamp
        lastSeenTimestamp
        collateralVolume
        scaledCollateralVolume
        lastTradedTimestamp
        profit
        scaledProfit
        numTrades
        marketPositions {
            id
            quantityBought
            quantitySold
            netQuantity
            valueBought
            valueSold
            netValue
            feesPaid
            market {
                id
                priceOrderbook
                outcomeIndex
            }
        }
        transactions {
            id
            type
            timestamp
            tradeAmount
            feeAmount
            outcomeIndex
            outcomeTokensAmount
        }
    }
}

This example query returns an empty list for transactions ("transactions": []). How can this be solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant