From 9d2ce84bb9164be30b91c81900087188d56142c2 Mon Sep 17 00:00:00 2001 From: thloyi Date: Mon, 8 Dec 2025 16:35:40 +0800 Subject: [PATCH] return account list --- rawtx.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rawtx.go b/rawtx.go index 3693a39..456dbf2 100644 --- a/rawtx.go +++ b/rawtx.go @@ -68,6 +68,10 @@ type RawTx struct { //EntryContract []string `json:"entryContract,omitempty"` } +func (tx *RawTx) GetAccountLust() []solana.PublicKey { + return tx.getAccountList() +} + func (tx *RawTx) TxHash() string { if len(tx.Transaction.Signatures) > 0 { return tx.Transaction.Signatures[0].String()