add instr sol transfer and cufee
This commit is contained in:
@@ -35,7 +35,7 @@ func TransferParser(result *RawTx, instruction Instruction, offset [2]uint, tx *
|
||||
to := result.accountList[instruction.Accounts[1]]
|
||||
|
||||
if offset[1] == 0 {
|
||||
tx.Transfer = append(tx.Transfer, SolTransfer{
|
||||
tx.SolTransfer = append(tx.SolTransfer, SolTransfer{
|
||||
From: from,
|
||||
To: to,
|
||||
Amount: decimal.NewFromInt(int64(lamports)), // solana decimals
|
||||
|
||||
Reference in New Issue
Block a user