dfuse-eosio icon indicating copy to clipboard operation
dfuse-eosio copied to clipboard

account history by contract not available

Open cppfuns opened this issue 4 years ago • 1 comments

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 avatar Feb 03 '21 10:02 cppfuns

@maoueh

cppfuns avatar Feb 03 '21 10:02 cppfuns