getConfirmedTransaction method
Returns a Future that resolves to the transaction details for a given
signature
in the specified encoding
encoding
can be "json"
, "jsonParsed"
, "base58"
and "base64"
.
Here a brief description of the formats,
"json"
(default) a simple json object"jsonParsed"
the instructions are made more human friendly"base64"
unparsed binary data"base58"
like"base64"
but according to Solana docs it's slow
Implementation
Future<TransactionDetails> getConfirmedTransaction(
String signature, String encoding) {
return _client.call(
'getConfirmedTransaction',
params: [
signature,
encoding,
],
);
}