Leveraging our open source functions, you can readily get token transfers across any of the networks we support.Here’s how simple it is to get all token transfers:
Copy
function tokenTransfers(block) { return templates.token_transfers(block);}
This will return transfers matching the following type:
Notably, the above output includes a tokenType key. You can leverage this to focus in on particular token types that might be useful.For instance, this is how you could fetch only NFT transfers: