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

account history by contract not available #213

Open
cppfuns opened this issue Feb 3, 2021 · 1 comment
Open

account history by contract not available #213

cppfuns opened this issue Feb 3, 2021 · 1 comment

Comments

@cppfuns
Copy link

cppfuns commented Feb 3, 2021

I try to execute

query($account: String!,$contract: String, $cursor: String, $limit: Int64) {
  getAccountHistoryActions(account: $account,contract: $contract,cursor: $cursor, limit: $limit ) {
    edges {
      cursor
      node {
        blockID
        blockNum
        blockTime
        receiver
        account
        name
        authorization {
          actor
        }
      }
    }
    pageInfo {
      startCursor
      hasNextPage
      hasPreviousPage
    }
  }
}

Query conditions

{
  "account": "eosio",
  "contract": "eosio.token",
  "limit": 100
}

Return error

{
  "errors": [
    {
      "message": "account history by contract not available",
      "path": [
        "getAccountHistoryActions"
      ]
    }
  ],
  "data": null
}

I try to add in dfuse.yml,But still the same error

I added it after it has been running for a while, I don’t know if it will affect

accounthist-mode: account-contract

@cppfuns
Copy link
Author

cppfuns commented Feb 3, 2021

@maoueh

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