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