return account list

This commit is contained in:
thloyi
2025-12-08 16:35:40 +08:00
parent 9fd0d6a21b
commit 9d2ce84bb9

View File

@@ -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()