const query = `
query MyQuery($id: ID!) {
transaction(id: $id) {
id
owner {
address
}
fee {
ar
}
}
}
`;
const variables = {
id: 'QJRUEcVHqNxVX5PNfzIpBSgWJlFwhQ3RmWdYEohrbwo',
};
const res = await toolkit.gql.query(query, variables).toPromise();
console.log(res?.data);