Open Chralt98 opened 5 months ago
What do you think about this?
query MyQuery {
historicalAccountBalances(
limit: 10
where: { extrinsic: { name_containsInsensitive: "xtokens" } }
) {
accountId
assetId
blockNumber
dBalance
event
timestamp
}
}
It's currently complicated to filter the
historicalAccountBalances
for xcm transfers. I would expect to queryhistoricalXcmTransfers
. You can index theTransferredMultiAssets
event from here (orml-xtokens pallet). Here is the reference to the subscan information. I would want to know from which account the XCM transfer originated, what the destination account is, what parachain it goes to, how much and which assets are involved etc (the more information the better)..