diff --git a/rpc/getParsedTransaction.go b/rpc/getParsedTransaction.go index cfc79ff1..a2dbe53e 100644 --- a/rpc/getParsedTransaction.go +++ b/rpc/getParsedTransaction.go @@ -22,6 +22,7 @@ type GetParsedTransactionResult struct { BlockTime *solana.UnixTimeSeconds Transaction *ParsedTransaction Meta *ParsedTransactionMeta + Version TransactionVersion `json:"version"` } func (cl *Client) GetParsedTransaction( diff --git a/rpc/types.go b/rpc/types.go index d65ad0a9..0de139ca 100644 --- a/rpc/types.go +++ b/rpc/types.go @@ -153,6 +153,8 @@ type TokenBalance struct { // Pubkey of token balance's owner. Owner *solana.PublicKey `json:"owner,omitempty"` + // Pubkey of token program. + ProgramId *solana.PublicKey `json:"programId,omitempty"` // Pubkey of the token's mint. Mint solana.PublicKey `json:"mint"`