UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

43 lines (34 loc) 2.61 kB
// package: cosmos.nft.v1beta1 // file: cosmos/nft/v1beta1/tx.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "grpc"; import * as cosmos_nft_v1beta1_tx_pb from "../../../cosmos/nft/v1beta1/tx_pb"; import * as cosmos_msg_v1_msg_pb from "../../../cosmos/msg/v1/msg_pb"; interface IMsgService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> { send: IMsgService_ISend; } interface IMsgService_ISend extends grpc.MethodDefinition<cosmos_nft_v1beta1_tx_pb.MsgSend, cosmos_nft_v1beta1_tx_pb.MsgSendResponse> { path: "/cosmos.nft.v1beta1.Msg/Send"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize<cosmos_nft_v1beta1_tx_pb.MsgSend>; requestDeserialize: grpc.deserialize<cosmos_nft_v1beta1_tx_pb.MsgSend>; responseSerialize: grpc.serialize<cosmos_nft_v1beta1_tx_pb.MsgSendResponse>; responseDeserialize: grpc.deserialize<cosmos_nft_v1beta1_tx_pb.MsgSendResponse>; } export const MsgService: IMsgService; export interface IMsgServer { send: grpc.handleUnaryCall<cosmos_nft_v1beta1_tx_pb.MsgSend, cosmos_nft_v1beta1_tx_pb.MsgSendResponse>; } export interface IMsgClient { send(request: cosmos_nft_v1beta1_tx_pb.MsgSend, callback: (error: grpc.ServiceError | null, response: cosmos_nft_v1beta1_tx_pb.MsgSendResponse) => void): grpc.ClientUnaryCall; send(request: cosmos_nft_v1beta1_tx_pb.MsgSend, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_nft_v1beta1_tx_pb.MsgSendResponse) => void): grpc.ClientUnaryCall; send(request: cosmos_nft_v1beta1_tx_pb.MsgSend, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cosmos_nft_v1beta1_tx_pb.MsgSendResponse) => void): grpc.ClientUnaryCall; } export class MsgClient extends grpc.Client implements IMsgClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); public send(request: cosmos_nft_v1beta1_tx_pb.MsgSend, callback: (error: grpc.ServiceError | null, response: cosmos_nft_v1beta1_tx_pb.MsgSendResponse) => void): grpc.ClientUnaryCall; public send(request: cosmos_nft_v1beta1_tx_pb.MsgSend, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cosmos_nft_v1beta1_tx_pb.MsgSendResponse) => void): grpc.ClientUnaryCall; public send(request: cosmos_nft_v1beta1_tx_pb.MsgSend, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cosmos_nft_v1beta1_tx_pb.MsgSendResponse) => void): grpc.ClientUnaryCall; }