getTransactionBlock method
Future<SuiTransactionBlockResponse>
getTransactionBlock(
- TransactionDigest digest, {
- SuiTransactionBlockResponseOptions? options,
Implementation
Future<SuiTransactionBlockResponse> getTransactionBlock(
TransactionDigest digest,
{SuiTransactionBlockResponseOptions? options}) async {
final data = await client
.request('sui_getTransactionBlock', [digest, options?.toJson()]);
return SuiTransactionBlockResponse.fromJson(data);
}