Skip to main content

EditValidator()

atmon3rLess than 1 minute

Info

This doc is generated with

EditValidator()

import { defaultRegistryTypes } from "@cosmjs/stargate";
 
const foundMsgType = defaultRegistryTypes.find(
  (element) => element[0] === "/cosmos.staking.v1beta1.MsgEditValidator"
)
  
const finalMsg = {
  typeUrl: foundMsgType[0],
  value: foundMsgType[1].fromPartial({
    "description": {
        "moniker": "",
        "identity": "",
        "website": "",
        "securityContact": "",
        "details": ""
    },
    "validatorAddress": "",
    "commissionRate": "",
    "minSelfDelegation": ""
}),
}

// const result = await signer.client.signAndBroadcast('address', [finalMsg], "auto", "")