builder/transaction library
Functions
-
chunk<
T> (List< T> arr, int size) → List<List< T> > -
expectClient(
BuildOptions options) → SuiCoreClient -
simulationResolvePlugin(
SuiCoreClient client, {ResolveSimulate? simulate}) → TransactionPlugin -
The node fills in object versions, gas price, budget and payment, selecting
gas when budget or payment is unset.
simulatedefaults to simulateTransaction.
Typedefs
-
IntentResolver
= Future<
void> Function(TransactionBlockDataBuilder transactionData, BuildOptions options, Future<void> next()) - ResolvedSimulation = ({Uint8List? bcs, String? epoch, ExecutionStatus status})
-
ResolveSimulate
= Future<
ResolvedSimulation> Function(Transaction request, {required bool checksEnabled, required bool doGasSelection}) - TransactionPlugin = IntentResolver
-
An async resolver for a named
$Intentcommand. It may inspect and mutatetransactionData(e.g. viareplaceCommand) and must callnextto run the rest of the resolver chain.