setDidDocumentsList static method
Future<TransactionResult>
setDidDocumentsList(
- List<
DidDocument> didDocuments, - Wallet wallet, {
- StdFee? fee,
- BroadcastingMode? mode,
- Client? client,
Performs a transaction setting the didDocuments
list as being
associated with the address present inside the specified wallet
.
Optionally fee
and broadcasting mode
parameters can be specified.
Implementation
static Future<TransactionResult> setDidDocumentsList(
List<DidDocument> didDocuments,
Wallet wallet, {
StdFee? fee,
BroadcastingMode? mode,
http.Client? client,
}) {
final msgs = didDocuments
.map((didDocument) => MsgSetDidDocument(didDocument: didDocument))
.toList();
return TxHelper.createSignAndSendTx(
msgs,
wallet,
fee: fee,
mode: mode,
client: client,
);
}