interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
29 lines (28 loc) • 707 B
JavaScript
import { MsgSend } from "./tx";
export const registry = [["/cosmos.nft.v1beta1.MsgSend", MsgSend]];
export const MessageComposer = {
encoded: {
send(value) {
return {
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
value: MsgSend.encode(value).finish()
};
}
},
withTypeUrl: {
send(value) {
return {
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
value
};
}
},
fromPartial: {
send(value) {
return {
typeUrl: "/cosmos.nft.v1beta1.MsgSend",
value: MsgSend.fromPartial(value)
};
}
}
};