iotex-desktop-wallet icon indicating copy to clipboard operation
iotex-desktop-wallet copied to clipboard

support xrc20 transfers in xrc20 contract addresses

Open ququzone opened this issue 4 years ago • 0 comments

we can use below graphql to query those transactions:

query {
  xrc20 {data: byContractAddress(address: "io19fsq8e9krrlng4ay5gyq6q5tqfym28yq9ly0fz", numPerPage: 10, page: 1) {
    exist
    xrc20 {
      contract
      hash
      timestamp 
      from        
      to        
      quantity        
      __typename     
    }      
    count     
    __typename    
  }    
    __typename  
  }
}

So at explorer XRC20 tab, we can first use this QL to query data, if returned data is empty then use origin QL.

ququzone avatar Sep 01 '20 03:09 ququzone