Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7939

How to understand if transaction is a native token transfer?

$
0
0

I'm noob in Solana so sorry for dumb question.

Using rust sdk I got EncodedTransactionWithStatusMeta from the network. I want to filter out all transactions which are not native token transfers (SOL), how can I understand type of transaction? Are there any beautiful methods or I should parse instructions for it? Fields in EncodedTransactionWithStatusMeta look a bit low level for such task...


Viewing all articles
Browse latest Browse all 7939

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>