return account list
This commit is contained in:
4
rawtx.go
4
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()
|
||||
|
||||
Reference in New Issue
Block a user