You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each Solana program (aka "contract" as they are called in Ethereum) has its
own data format. It might be borsh, it might be something completely
original.
You need to know the layout of the data that you are trying to parse, and
then write a parser for it.
func (s *Solana) GetLog(blockNum int64, mapToken map[string]*anychain.Token) ([]*anychain.ContractTokenTran, *cerror.CError) {
latestBlockNum, erc := s.GetBlockNum()
if erc != nil {
return nil, erc
}
}
How to parse the (transaction.Message.Instructions[0].Data)?
The text was updated successfully, but these errors were encountered: