How To Implement Bitquery GraphQL API in React JS

query ($network: EthereumNetwork!, $address: String!) {
ethereum(network: $network) {
address(address: {is: $address}) {
annotation
address
smartContract {
contractType
currency {
symbol
name
decimals
tokenType
}
}
balance
}
}
}

Variables

{
“limit”: 10,
“offset”: 0,
“network”: “bsc”,
“token”: “0x143b67bbf033ec2b74c329cb7b3d2bde266c6b51”,
“from”: “2021-11-28”,
“till”: “2021-12-27T23:59:59”,
“dateFormat”: “%Y-%m-%d”
}