New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to decode instruction: no known type for type [12 0 225 245 0 0 0 0] #189
Comments
hello, pls help me! |
hey, @elvis-hp , you can use package main
import (
"context"
"github.com/davecgh/go-spew/spew"
"github.com/gagliardetto/solana-go"
"github.com/gagliardetto/solana-go/rpc"
)
func main() {
client := rpc.New(rpc.MainNetBeta.RPC)
sig := solana.MustSignatureFromBase58("vfXRWpvaQWAg8DZ4eoKX3ngt6gifm12Lv1XbZ25sNJD888w8YBJw7LQ2kCP3dwUDC62kiThYELmLyzsBG6nQybt")
tx, err := client.GetParsedTransaction(context.TODO(), sig, nil)
if err != nil {
panic(err)
}
spew.Dump(tx)
} Output:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, how to fix this error:
The text was updated successfully, but these errors were encountered: