Skip to main content

FundCommunityPool()

atmon3rLess than 1 minute

Info

This doc is generated with

FundCommunityPool()

import { defaultRegistryTypes } from "@cosmjs/stargate";
 
const foundMsgType = defaultRegistryTypes.find(
  (element) => element[0] === "/cosmos.distribution.v1beta1.MsgFundCommunityPool"
)
  
const finalMsg = {
  typeUrl: foundMsgType[0],
  value: foundMsgType[1].fromPartial({
    "amount": [],
    "depositor": ""
}),
}

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