github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/bank/v1beta1/tx.proto (about) 1 syntax = "proto3"; 2 package cosmos.bank.v1beta1; 3 4 import "gogoproto/gogo.proto"; 5 import "cosmos/base/v1beta1/coin.proto"; 6 import "cosmos/bank/v1beta1/bank.proto"; 7 8 option go_package = "github.com/Finschia/finschia-sdk/x/bank/types"; 9 10 // Msg defines the bank Msg service. 11 service Msg { 12 // Send defines a method for sending coins from one account to another account. 13 rpc Send(MsgSend) returns (MsgSendResponse); 14 15 // MultiSend defines a method for sending coins from some accounts to other accounts. 16 rpc MultiSend(MsgMultiSend) returns (MsgMultiSendResponse); 17 } 18 19 // MsgSend represents a message to send coins from one account to another. 20 message MsgSend { 21 option (gogoproto.equal) = false; 22 option (gogoproto.goproto_getters) = false; 23 24 string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; 25 string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; 26 repeated cosmos.base.v1beta1.Coin amount = 3 27 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/Finschia/finschia-sdk/types.Coins"]; 28 } 29 30 // MsgSendResponse defines the Msg/Send response type. 31 message MsgSendResponse {} 32 33 // MsgMultiSend represents an arbitrary multi-in, multi-out send message. 34 message MsgMultiSend { 35 option (gogoproto.equal) = false; 36 37 repeated Input inputs = 1 [(gogoproto.nullable) = false]; 38 repeated Output outputs = 2 [(gogoproto.nullable) = false]; 39 } 40 41 // MsgMultiSendResponse defines the Msg/MultiSend response type. 42 message MsgMultiSendResponse {}