wallet

package
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TxStatus_name = map[int32]string{
		0: "NotFound",
		1: "Pending",
		2: "Failed",
		3: "Success",
		4: "ContractExecuteFailed",
		5: "Other",
	}
	TxStatus_value = map[string]int32{
		"NotFound":              0,
		"Pending":               1,
		"Failed":                2,
		"Success":               3,
		"ContractExecuteFailed": 4,
		"Other":                 5,
	}
)

Enum value maps for TxStatus.

View Source
var File_savourrpc_wallet_proto protoreflect.FileDescriptor
View Source
var WalletService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "savourrpc.wallet.WalletService",
	HandlerType: (*WalletServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getSupportCoins",
			Handler:    _WalletService_GetSupportCoins_Handler,
		},
		{
			MethodName: "convertAddress",
			Handler:    _WalletService_ConvertAddress_Handler,
		},
		{
			MethodName: "validAddress",
			Handler:    _WalletService_ValidAddress_Handler,
		},
		{
			MethodName: "getBlock",
			Handler:    _WalletService_GetBlock_Handler,
		},
		{
			MethodName: "getNonce",
			Handler:    _WalletService_GetNonce_Handler,
		},
		{
			MethodName: "getGasPrice",
			Handler:    _WalletService_GetGasPrice_Handler,
		},
		{
			MethodName: "getBalance",
			Handler:    _WalletService_GetBalance_Handler,
		},
		{
			MethodName: "getAccount",
			Handler:    _WalletService_GetAccount_Handler,
		},
		{
			MethodName: "getMinRent",
			Handler:    _WalletService_GetMinRent_Handler,
		},
		{
			MethodName: "SendTx",
			Handler:    _WalletService_SendTx_Handler,
		},
		{
			MethodName: "getTxByAddress",
			Handler:    _WalletService_GetTxByAddress_Handler,
		},
		{
			MethodName: "getTxByHash",
			Handler:    _WalletService_GetTxByHash_Handler,
		},
		{
			MethodName: "getUtxo",
			Handler:    _WalletService_GetUtxo_Handler,
		},
		{
			MethodName: "getUnspentOutputs",
			Handler:    _WalletService_GetUnspentOutputs_Handler,
		},
		{
			MethodName: "getUtxoInsFromData",
			Handler:    _WalletService_GetUtxoInsFromData_Handler,
		},
		{
			MethodName: "getAccountTxFromData",
			Handler:    _WalletService_GetAccountTxFromData_Handler,
		},
		{
			MethodName: "getUtxoTxFromData",
			Handler:    _WalletService_GetUtxoTxFromData_Handler,
		},
		{
			MethodName: "getAccountTxFromSignedData",
			Handler:    _WalletService_GetAccountTxFromSignedData_Handler,
		},
		{
			MethodName: "GetUtxoTxFromSignedData",
			Handler:    _WalletService_GetUtxoTxFromSignedData_Handler,
		},
		{
			MethodName: "createAccountSignedTx",
			Handler:    _WalletService_CreateAccountSignedTx_Handler,
		},
		{
			MethodName: "createAccountTx",
			Handler:    _WalletService_CreateAccountTx_Handler,
		},
		{
			MethodName: "createUtxoSignedTx",
			Handler:    _WalletService_CreateUtxoSignedTx_Handler,
		},
		{
			MethodName: "createUtxoTx",
			Handler:    _WalletService_CreateUtxoTx_Handler,
		},
		{
			MethodName: "verifyAccountSignedTx",
			Handler:    _WalletService_VerifyAccountSignedTx_Handler,
		},
		{
			MethodName: "verifyUtxoSignedTx",
			Handler:    _WalletService_VerifyUtxoSignedTx_Handler,
		},
		{
			MethodName: "ABIBinToJSON",
			Handler:    _WalletService_ABIBinToJSON_Handler,
		},
		{
			MethodName: "ABIJSONToBin",
			Handler:    _WalletService_ABIJSONToBin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "savourrpc/wallet.proto",
}

WalletService_ServiceDesc is the grpc.ServiceDesc for WalletService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterWalletServiceServer

func RegisterWalletServiceServer(s grpc.ServiceRegistrar, srv WalletServiceServer)

Types

type ABIBinToJSONRequest

type ABIBinToJSONRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Code          string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
	Action        string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
	Bin           []byte `protobuf:"bytes,7,opt,name=bin,proto3" json:"bin,omitempty"`
	// contains filtered or unexported fields
}

func (*ABIBinToJSONRequest) Descriptor deprecated

func (*ABIBinToJSONRequest) Descriptor() ([]byte, []int)

Deprecated: Use ABIBinToJSONRequest.ProtoReflect.Descriptor instead.

func (*ABIBinToJSONRequest) GetAction

func (x *ABIBinToJSONRequest) GetAction() string

func (*ABIBinToJSONRequest) GetBin

func (x *ABIBinToJSONRequest) GetBin() []byte

func (*ABIBinToJSONRequest) GetChain

func (x *ABIBinToJSONRequest) GetChain() string

func (*ABIBinToJSONRequest) GetCode

func (x *ABIBinToJSONRequest) GetCode() string

func (*ABIBinToJSONRequest) GetConsumerToken

func (x *ABIBinToJSONRequest) GetConsumerToken() string

func (*ABIBinToJSONRequest) GetNetwork

func (x *ABIBinToJSONRequest) GetNetwork() string

func (*ABIBinToJSONRequest) GetSymbol

func (x *ABIBinToJSONRequest) GetSymbol() string

func (*ABIBinToJSONRequest) ProtoMessage

func (*ABIBinToJSONRequest) ProtoMessage()

func (*ABIBinToJSONRequest) ProtoReflect

func (x *ABIBinToJSONRequest) ProtoReflect() protoreflect.Message

func (*ABIBinToJSONRequest) Reset

func (x *ABIBinToJSONRequest) Reset()

func (*ABIBinToJSONRequest) String

func (x *ABIBinToJSONRequest) String() string

type ABIBinToJSONResponse

type ABIBinToJSONResponse struct {
	Code       common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg        string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	JsonString string            `protobuf:"bytes,3,opt,name=jsonString,proto3" json:"jsonString,omitempty"`
	// contains filtered or unexported fields
}

func (*ABIBinToJSONResponse) Descriptor deprecated

func (*ABIBinToJSONResponse) Descriptor() ([]byte, []int)

Deprecated: Use ABIBinToJSONResponse.ProtoReflect.Descriptor instead.

func (*ABIBinToJSONResponse) GetCode

func (x *ABIBinToJSONResponse) GetCode() common.ReturnCode

func (*ABIBinToJSONResponse) GetJsonString

func (x *ABIBinToJSONResponse) GetJsonString() string

func (*ABIBinToJSONResponse) GetMsg

func (x *ABIBinToJSONResponse) GetMsg() string

func (*ABIBinToJSONResponse) ProtoMessage

func (*ABIBinToJSONResponse) ProtoMessage()

func (*ABIBinToJSONResponse) ProtoReflect

func (x *ABIBinToJSONResponse) ProtoReflect() protoreflect.Message

func (*ABIBinToJSONResponse) Reset

func (x *ABIBinToJSONResponse) Reset()

func (*ABIBinToJSONResponse) String

func (x *ABIBinToJSONResponse) String() string

type ABIJSONToBinRequest

type ABIJSONToBinRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Code          string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"`
	Action        string `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty"`
	JsonString    string `protobuf:"bytes,7,opt,name=jsonString,proto3" json:"jsonString,omitempty"`
	// contains filtered or unexported fields
}

func (*ABIJSONToBinRequest) Descriptor deprecated

func (*ABIJSONToBinRequest) Descriptor() ([]byte, []int)

Deprecated: Use ABIJSONToBinRequest.ProtoReflect.Descriptor instead.

func (*ABIJSONToBinRequest) GetAction

func (x *ABIJSONToBinRequest) GetAction() string

func (*ABIJSONToBinRequest) GetChain

func (x *ABIJSONToBinRequest) GetChain() string

func (*ABIJSONToBinRequest) GetCode

func (x *ABIJSONToBinRequest) GetCode() string

func (*ABIJSONToBinRequest) GetConsumerToken

func (x *ABIJSONToBinRequest) GetConsumerToken() string

func (*ABIJSONToBinRequest) GetJsonString

func (x *ABIJSONToBinRequest) GetJsonString() string

func (*ABIJSONToBinRequest) GetNetwork

func (x *ABIJSONToBinRequest) GetNetwork() string

func (*ABIJSONToBinRequest) GetSymbol

func (x *ABIJSONToBinRequest) GetSymbol() string

func (*ABIJSONToBinRequest) ProtoMessage

func (*ABIJSONToBinRequest) ProtoMessage()

func (*ABIJSONToBinRequest) ProtoReflect

func (x *ABIJSONToBinRequest) ProtoReflect() protoreflect.Message

func (*ABIJSONToBinRequest) Reset

func (x *ABIJSONToBinRequest) Reset()

func (*ABIJSONToBinRequest) String

func (x *ABIJSONToBinRequest) String() string

type ABIJSONToBinResponse

type ABIJSONToBinResponse struct {
	Code common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg  string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Bin  []byte            `protobuf:"bytes,3,opt,name=bin,proto3" json:"bin,omitempty"`
	// contains filtered or unexported fields
}

func (*ABIJSONToBinResponse) Descriptor deprecated

func (*ABIJSONToBinResponse) Descriptor() ([]byte, []int)

Deprecated: Use ABIJSONToBinResponse.ProtoReflect.Descriptor instead.

func (*ABIJSONToBinResponse) GetBin

func (x *ABIJSONToBinResponse) GetBin() []byte

func (*ABIJSONToBinResponse) GetCode

func (x *ABIJSONToBinResponse) GetCode() common.ReturnCode

func (*ABIJSONToBinResponse) GetMsg

func (x *ABIJSONToBinResponse) GetMsg() string

func (*ABIJSONToBinResponse) ProtoMessage

func (*ABIJSONToBinResponse) ProtoMessage()

func (*ABIJSONToBinResponse) ProtoReflect

func (x *ABIJSONToBinResponse) ProtoReflect() protoreflect.Message

func (*ABIJSONToBinResponse) Reset

func (x *ABIJSONToBinResponse) Reset()

func (*ABIJSONToBinResponse) String

func (x *ABIJSONToBinResponse) String() string

type AccountRequest

type AccountRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin          string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Address       string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountRequest) Descriptor deprecated

func (*AccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use AccountRequest.ProtoReflect.Descriptor instead.

func (*AccountRequest) GetAddress

func (x *AccountRequest) GetAddress() string

func (*AccountRequest) GetChain

func (x *AccountRequest) GetChain() string

func (*AccountRequest) GetCoin

func (x *AccountRequest) GetCoin() string

func (*AccountRequest) GetConsumerToken

func (x *AccountRequest) GetConsumerToken() string

func (*AccountRequest) GetNetwork

func (x *AccountRequest) GetNetwork() string

func (*AccountRequest) ProtoMessage

func (*AccountRequest) ProtoMessage()

func (*AccountRequest) ProtoReflect

func (x *AccountRequest) ProtoReflect() protoreflect.Message

func (*AccountRequest) Reset

func (x *AccountRequest) Reset()

func (*AccountRequest) String

func (x *AccountRequest) String() string

type AccountResponse

type AccountResponse struct {
	Code          common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg           string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	AccountNumber string            `protobuf:"bytes,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	Sequence      string            `protobuf:"bytes,4,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Network       string            `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountResponse) Descriptor deprecated

func (*AccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use AccountResponse.ProtoReflect.Descriptor instead.

func (*AccountResponse) GetAccountNumber

func (x *AccountResponse) GetAccountNumber() string

func (*AccountResponse) GetCode

func (x *AccountResponse) GetCode() common.ReturnCode

func (*AccountResponse) GetMsg

func (x *AccountResponse) GetMsg() string

func (*AccountResponse) GetNetwork

func (x *AccountResponse) GetNetwork() string

func (*AccountResponse) GetSequence

func (x *AccountResponse) GetSequence() string

func (*AccountResponse) ProtoMessage

func (*AccountResponse) ProtoMessage()

func (*AccountResponse) ProtoReflect

func (x *AccountResponse) ProtoReflect() protoreflect.Message

func (*AccountResponse) Reset

func (x *AccountResponse) Reset()

func (*AccountResponse) String

func (x *AccountResponse) String() string

type AccountTxResponse

type AccountTxResponse struct {
	Code            common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg             string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	TxHash          string            `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Status          TxStatus          `protobuf:"varint,4,opt,name=status,proto3,enum=savourrpc.wallet.TxStatus" json:"status,omitempty"`
	From            string            `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
	To              string            `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
	Amount          string            `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"`
	Memo            string            `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`
	Nonce           uint64            `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"`
	GasLimit        string            `protobuf:"bytes,10,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasPrice        string            `protobuf:"bytes,11,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	CostFee         string            `protobuf:"bytes,12,opt,name=cost_fee,json=costFee,proto3" json:"cost_fee,omitempty"`
	BlockHeight     uint64            `protobuf:"varint,13,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BlockTime       uint64            `protobuf:"varint,14,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	SignHash        []byte            `protobuf:"bytes,15,opt,name=sign_hash,json=signHash,proto3" json:"sign_hash,omitempty"`
	ContractAddress string            `protobuf:"bytes,16,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountTxResponse) Descriptor deprecated

func (*AccountTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use AccountTxResponse.ProtoReflect.Descriptor instead.

func (*AccountTxResponse) GetAmount

func (x *AccountTxResponse) GetAmount() string

func (*AccountTxResponse) GetBlockHeight

func (x *AccountTxResponse) GetBlockHeight() uint64

func (*AccountTxResponse) GetBlockTime

func (x *AccountTxResponse) GetBlockTime() uint64

func (*AccountTxResponse) GetCode

func (x *AccountTxResponse) GetCode() common.ReturnCode

func (*AccountTxResponse) GetContractAddress

func (x *AccountTxResponse) GetContractAddress() string

func (*AccountTxResponse) GetCostFee

func (x *AccountTxResponse) GetCostFee() string

func (*AccountTxResponse) GetFrom

func (x *AccountTxResponse) GetFrom() string

func (*AccountTxResponse) GetGasLimit

func (x *AccountTxResponse) GetGasLimit() string

func (*AccountTxResponse) GetGasPrice

func (x *AccountTxResponse) GetGasPrice() string

func (*AccountTxResponse) GetMemo

func (x *AccountTxResponse) GetMemo() string

func (*AccountTxResponse) GetMsg

func (x *AccountTxResponse) GetMsg() string

func (*AccountTxResponse) GetNonce

func (x *AccountTxResponse) GetNonce() uint64

func (*AccountTxResponse) GetSignHash

func (x *AccountTxResponse) GetSignHash() []byte

func (*AccountTxResponse) GetStatus

func (x *AccountTxResponse) GetStatus() TxStatus

func (*AccountTxResponse) GetTo

func (x *AccountTxResponse) GetTo() string

func (*AccountTxResponse) GetTxHash

func (x *AccountTxResponse) GetTxHash() string

func (*AccountTxResponse) ProtoMessage

func (*AccountTxResponse) ProtoMessage()

func (*AccountTxResponse) ProtoReflect

func (x *AccountTxResponse) ProtoReflect() protoreflect.Message

func (*AccountTxResponse) Reset

func (x *AccountTxResponse) Reset()

func (*AccountTxResponse) String

func (x *AccountTxResponse) String() string

type Address

type Address struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

func (*Address) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (x *Address) GetAddress() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type BalanceRequest

type BalanceRequest struct {
	ConsumerToken    string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain            string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin             string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network          string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Address          string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	ContractAddress  string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	ProposerKeyIndex uint64 `protobuf:"varint,7,opt,name=proposer_key_index,json=proposerKeyIndex,proto3" json:"proposer_key_index,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceRequest) Descriptor deprecated

func (*BalanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use BalanceRequest.ProtoReflect.Descriptor instead.

func (*BalanceRequest) GetAddress

func (x *BalanceRequest) GetAddress() string

func (*BalanceRequest) GetChain

func (x *BalanceRequest) GetChain() string

func (*BalanceRequest) GetCoin

func (x *BalanceRequest) GetCoin() string

func (*BalanceRequest) GetConsumerToken

func (x *BalanceRequest) GetConsumerToken() string

func (*BalanceRequest) GetContractAddress

func (x *BalanceRequest) GetContractAddress() string

func (*BalanceRequest) GetNetwork

func (x *BalanceRequest) GetNetwork() string

func (*BalanceRequest) GetProposerKeyIndex

func (x *BalanceRequest) GetProposerKeyIndex() uint64

func (*BalanceRequest) ProtoMessage

func (*BalanceRequest) ProtoMessage()

func (*BalanceRequest) ProtoReflect

func (x *BalanceRequest) ProtoReflect() protoreflect.Message

func (*BalanceRequest) Reset

func (x *BalanceRequest) Reset()

func (*BalanceRequest) String

func (x *BalanceRequest) String() string

type BalanceResponse

type BalanceResponse struct {
	Code           common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg            string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Balance        string            `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
	SequenceNumber uint64            `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceResponse) Descriptor deprecated

func (*BalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead.

func (*BalanceResponse) GetBalance

func (x *BalanceResponse) GetBalance() string

func (*BalanceResponse) GetCode

func (x *BalanceResponse) GetCode() common.ReturnCode

func (*BalanceResponse) GetMsg

func (x *BalanceResponse) GetMsg() string

func (*BalanceResponse) GetSequenceNumber

func (x *BalanceResponse) GetSequenceNumber() uint64

func (*BalanceResponse) ProtoMessage

func (*BalanceResponse) ProtoMessage()

func (*BalanceResponse) ProtoReflect

func (x *BalanceResponse) ProtoReflect() protoreflect.Message

func (*BalanceResponse) Reset

func (x *BalanceResponse) Reset()

func (*BalanceResponse) String

func (x *BalanceResponse) String() string

type BlockRequest

type BlockRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockRequest) Descriptor deprecated

func (*BlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead.

func (*BlockRequest) GetChain

func (x *BlockRequest) GetChain() string

func (*BlockRequest) GetConsumerToken

func (x *BlockRequest) GetConsumerToken() string

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) ProtoReflect

func (x *BlockRequest) ProtoReflect() protoreflect.Message

func (*BlockRequest) Reset

func (x *BlockRequest) Reset()

func (*BlockRequest) String

func (x *BlockRequest) String() string

type BlockResponse

type BlockResponse struct {
	Code   common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg    string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Height int64             `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Hash   string            `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockResponse) Descriptor deprecated

func (*BlockResponse) Descriptor() ([]byte, []int)

Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead.

func (*BlockResponse) GetCode

func (x *BlockResponse) GetCode() common.ReturnCode

func (*BlockResponse) GetHash

func (x *BlockResponse) GetHash() string

func (*BlockResponse) GetHeight

func (x *BlockResponse) GetHeight() int64

func (*BlockResponse) GetMsg

func (x *BlockResponse) GetMsg() string

func (*BlockResponse) ProtoMessage

func (*BlockResponse) ProtoMessage()

func (*BlockResponse) ProtoReflect

func (x *BlockResponse) ProtoReflect() protoreflect.Message

func (*BlockResponse) Reset

func (x *BlockResponse) Reset()

func (*BlockResponse) String

func (x *BlockResponse) String() string

type ConvertAddressRequest

type ConvertAddressRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Network       string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	PublicKey     []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ConvertAddressRequest) Descriptor deprecated

func (*ConvertAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConvertAddressRequest.ProtoReflect.Descriptor instead.

func (*ConvertAddressRequest) GetChain

func (x *ConvertAddressRequest) GetChain() string

func (*ConvertAddressRequest) GetConsumerToken

func (x *ConvertAddressRequest) GetConsumerToken() string

func (*ConvertAddressRequest) GetNetwork

func (x *ConvertAddressRequest) GetNetwork() string

func (*ConvertAddressRequest) GetPublicKey

func (x *ConvertAddressRequest) GetPublicKey() []byte

func (*ConvertAddressRequest) ProtoMessage

func (*ConvertAddressRequest) ProtoMessage()

func (*ConvertAddressRequest) ProtoReflect

func (x *ConvertAddressRequest) ProtoReflect() protoreflect.Message

func (*ConvertAddressRequest) Reset

func (x *ConvertAddressRequest) Reset()

func (*ConvertAddressRequest) String

func (x *ConvertAddressRequest) String() string

type ConvertAddressResponse

type ConvertAddressResponse struct {
	Code    common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg     string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Address string            `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ConvertAddressResponse) Descriptor deprecated

func (*ConvertAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConvertAddressResponse.ProtoReflect.Descriptor instead.

func (*ConvertAddressResponse) GetAddress

func (x *ConvertAddressResponse) GetAddress() string

func (*ConvertAddressResponse) GetCode

func (*ConvertAddressResponse) GetMsg

func (x *ConvertAddressResponse) GetMsg() string

func (*ConvertAddressResponse) ProtoMessage

func (*ConvertAddressResponse) ProtoMessage()

func (*ConvertAddressResponse) ProtoReflect

func (x *ConvertAddressResponse) ProtoReflect() protoreflect.Message

func (*ConvertAddressResponse) Reset

func (x *ConvertAddressResponse) Reset()

func (*ConvertAddressResponse) String

func (x *ConvertAddressResponse) String() string

type CreateAccountSignedTxRequest

type CreateAccountSignedTxRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	TxData        []byte `protobuf:"bytes,5,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	Signature     []byte `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
	PublicKey     []byte `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountSignedTxRequest) Descriptor deprecated

func (*CreateAccountSignedTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAccountSignedTxRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountSignedTxRequest) GetChain

func (x *CreateAccountSignedTxRequest) GetChain() string

func (*CreateAccountSignedTxRequest) GetConsumerToken

func (x *CreateAccountSignedTxRequest) GetConsumerToken() string

func (*CreateAccountSignedTxRequest) GetNetwork

func (x *CreateAccountSignedTxRequest) GetNetwork() string

func (*CreateAccountSignedTxRequest) GetPublicKey

func (x *CreateAccountSignedTxRequest) GetPublicKey() []byte

func (*CreateAccountSignedTxRequest) GetSignature

func (x *CreateAccountSignedTxRequest) GetSignature() []byte

func (*CreateAccountSignedTxRequest) GetSymbol

func (x *CreateAccountSignedTxRequest) GetSymbol() string

func (*CreateAccountSignedTxRequest) GetTxData

func (x *CreateAccountSignedTxRequest) GetTxData() []byte

func (*CreateAccountSignedTxRequest) ProtoMessage

func (*CreateAccountSignedTxRequest) ProtoMessage()

func (*CreateAccountSignedTxRequest) ProtoReflect

func (*CreateAccountSignedTxRequest) Reset

func (x *CreateAccountSignedTxRequest) Reset()

func (*CreateAccountSignedTxRequest) String

type CreateAccountTxRequest

type CreateAccountTxRequest struct {
	ConsumerToken   string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain           string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol          string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network         string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	From            string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
	To              string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
	Amount          string `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"`
	Memo            string `protobuf:"bytes,8,opt,name=memo,proto3" json:"memo,omitempty"`
	GasLimit        string `protobuf:"bytes,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasPrice        string `protobuf:"bytes,10,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	Nonce           uint64 `protobuf:"varint,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ContractAddress string `protobuf:"bytes,12,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountTxRequest) Descriptor deprecated

func (*CreateAccountTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAccountTxRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountTxRequest) GetAmount

func (x *CreateAccountTxRequest) GetAmount() string

func (*CreateAccountTxRequest) GetChain

func (x *CreateAccountTxRequest) GetChain() string

func (*CreateAccountTxRequest) GetConsumerToken

func (x *CreateAccountTxRequest) GetConsumerToken() string

func (*CreateAccountTxRequest) GetContractAddress

func (x *CreateAccountTxRequest) GetContractAddress() string

func (*CreateAccountTxRequest) GetFrom

func (x *CreateAccountTxRequest) GetFrom() string

func (*CreateAccountTxRequest) GetGasLimit

func (x *CreateAccountTxRequest) GetGasLimit() string

func (*CreateAccountTxRequest) GetGasPrice

func (x *CreateAccountTxRequest) GetGasPrice() string

func (*CreateAccountTxRequest) GetMemo

func (x *CreateAccountTxRequest) GetMemo() string

func (*CreateAccountTxRequest) GetNetwork

func (x *CreateAccountTxRequest) GetNetwork() string

func (*CreateAccountTxRequest) GetNonce

func (x *CreateAccountTxRequest) GetNonce() uint64

func (*CreateAccountTxRequest) GetSymbol

func (x *CreateAccountTxRequest) GetSymbol() string

func (*CreateAccountTxRequest) GetTo

func (x *CreateAccountTxRequest) GetTo() string

func (*CreateAccountTxRequest) ProtoMessage

func (*CreateAccountTxRequest) ProtoMessage()

func (*CreateAccountTxRequest) ProtoReflect

func (x *CreateAccountTxRequest) ProtoReflect() protoreflect.Message

func (*CreateAccountTxRequest) Reset

func (x *CreateAccountTxRequest) Reset()

func (*CreateAccountTxRequest) String

func (x *CreateAccountTxRequest) String() string

type CreateAccountTxResponse

type CreateAccountTxResponse struct {
	Code     common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg      string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	TxData   []byte            `protobuf:"bytes,3,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	SignHash []byte            `protobuf:"bytes,4,opt,name=sign_hash,json=signHash,proto3" json:"sign_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountTxResponse) Descriptor deprecated

func (*CreateAccountTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateAccountTxResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountTxResponse) GetCode

func (*CreateAccountTxResponse) GetMsg

func (x *CreateAccountTxResponse) GetMsg() string

func (*CreateAccountTxResponse) GetSignHash

func (x *CreateAccountTxResponse) GetSignHash() []byte

func (*CreateAccountTxResponse) GetTxData

func (x *CreateAccountTxResponse) GetTxData() []byte

func (*CreateAccountTxResponse) ProtoMessage

func (*CreateAccountTxResponse) ProtoMessage()

func (*CreateAccountTxResponse) ProtoReflect

func (x *CreateAccountTxResponse) ProtoReflect() protoreflect.Message

func (*CreateAccountTxResponse) Reset

func (x *CreateAccountTxResponse) Reset()

func (*CreateAccountTxResponse) String

func (x *CreateAccountTxResponse) String() string

type CreateSignedTxResponse

type CreateSignedTxResponse struct {
	Code         common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg          string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	SignedTxData []byte            `protobuf:"bytes,3,opt,name=signed_tx_data,json=signedTxData,proto3" json:"signed_tx_data,omitempty"`
	Hash         []byte            `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSignedTxResponse) Descriptor deprecated

func (*CreateSignedTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSignedTxResponse.ProtoReflect.Descriptor instead.

func (*CreateSignedTxResponse) GetCode

func (*CreateSignedTxResponse) GetHash

func (x *CreateSignedTxResponse) GetHash() []byte

func (*CreateSignedTxResponse) GetMsg

func (x *CreateSignedTxResponse) GetMsg() string

func (*CreateSignedTxResponse) GetSignedTxData

func (x *CreateSignedTxResponse) GetSignedTxData() []byte

func (*CreateSignedTxResponse) ProtoMessage

func (*CreateSignedTxResponse) ProtoMessage()

func (*CreateSignedTxResponse) ProtoReflect

func (x *CreateSignedTxResponse) ProtoReflect() protoreflect.Message

func (*CreateSignedTxResponse) Reset

func (x *CreateSignedTxResponse) Reset()

func (*CreateSignedTxResponse) String

func (x *CreateSignedTxResponse) String() string

type CreateUtxoSignedTxRequest

type CreateUtxoSignedTxRequest struct {
	ConsumerToken string   `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string   `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string   `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string   `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	TxData        []byte   `protobuf:"bytes,5,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	Signatures    [][]byte `protobuf:"bytes,6,rep,name=signatures,proto3" json:"signatures,omitempty"`
	PublicKeys    [][]byte `protobuf:"bytes,7,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUtxoSignedTxRequest) Descriptor deprecated

func (*CreateUtxoSignedTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUtxoSignedTxRequest.ProtoReflect.Descriptor instead.

func (*CreateUtxoSignedTxRequest) GetChain

func (x *CreateUtxoSignedTxRequest) GetChain() string

func (*CreateUtxoSignedTxRequest) GetConsumerToken

func (x *CreateUtxoSignedTxRequest) GetConsumerToken() string

func (*CreateUtxoSignedTxRequest) GetNetwork

func (x *CreateUtxoSignedTxRequest) GetNetwork() string

func (*CreateUtxoSignedTxRequest) GetPublicKeys

func (x *CreateUtxoSignedTxRequest) GetPublicKeys() [][]byte

func (*CreateUtxoSignedTxRequest) GetSignatures

func (x *CreateUtxoSignedTxRequest) GetSignatures() [][]byte

func (*CreateUtxoSignedTxRequest) GetSymbol

func (x *CreateUtxoSignedTxRequest) GetSymbol() string

func (*CreateUtxoSignedTxRequest) GetTxData

func (x *CreateUtxoSignedTxRequest) GetTxData() []byte

func (*CreateUtxoSignedTxRequest) ProtoMessage

func (*CreateUtxoSignedTxRequest) ProtoMessage()

func (*CreateUtxoSignedTxRequest) ProtoReflect

func (*CreateUtxoSignedTxRequest) Reset

func (x *CreateUtxoSignedTxRequest) Reset()

func (*CreateUtxoSignedTxRequest) String

func (x *CreateUtxoSignedTxRequest) String() string

type CreateUtxoTxRequest

type CreateUtxoTxRequest struct {
	ConsumerToken string  `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string  `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string  `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string  `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Vins          []*Vin  `protobuf:"bytes,5,rep,name=vins,proto3" json:"vins,omitempty"`
	Vouts         []*Vout `protobuf:"bytes,6,rep,name=vouts,proto3" json:"vouts,omitempty"`
	Fee           string  `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUtxoTxRequest) Descriptor deprecated

func (*CreateUtxoTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUtxoTxRequest.ProtoReflect.Descriptor instead.

func (*CreateUtxoTxRequest) GetChain

func (x *CreateUtxoTxRequest) GetChain() string

func (*CreateUtxoTxRequest) GetConsumerToken

func (x *CreateUtxoTxRequest) GetConsumerToken() string

func (*CreateUtxoTxRequest) GetFee

func (x *CreateUtxoTxRequest) GetFee() string

func (*CreateUtxoTxRequest) GetNetwork

func (x *CreateUtxoTxRequest) GetNetwork() string

func (*CreateUtxoTxRequest) GetSymbol

func (x *CreateUtxoTxRequest) GetSymbol() string

func (*CreateUtxoTxRequest) GetVins

func (x *CreateUtxoTxRequest) GetVins() []*Vin

func (*CreateUtxoTxRequest) GetVouts

func (x *CreateUtxoTxRequest) GetVouts() []*Vout

func (*CreateUtxoTxRequest) ProtoMessage

func (*CreateUtxoTxRequest) ProtoMessage()

func (*CreateUtxoTxRequest) ProtoReflect

func (x *CreateUtxoTxRequest) ProtoReflect() protoreflect.Message

func (*CreateUtxoTxRequest) Reset

func (x *CreateUtxoTxRequest) Reset()

func (*CreateUtxoTxRequest) String

func (x *CreateUtxoTxRequest) String() string

type CreateUtxoTxResponse

type CreateUtxoTxResponse struct {
	Code       common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg        string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	TxData     []byte            `protobuf:"bytes,3,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	SignHashes [][]byte          `protobuf:"bytes,4,rep,name=sign_hashes,json=signHashes,proto3" json:"sign_hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUtxoTxResponse) Descriptor deprecated

func (*CreateUtxoTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUtxoTxResponse.ProtoReflect.Descriptor instead.

func (*CreateUtxoTxResponse) GetCode

func (x *CreateUtxoTxResponse) GetCode() common.ReturnCode

func (*CreateUtxoTxResponse) GetMsg

func (x *CreateUtxoTxResponse) GetMsg() string

func (*CreateUtxoTxResponse) GetSignHashes

func (x *CreateUtxoTxResponse) GetSignHashes() [][]byte

func (*CreateUtxoTxResponse) GetTxData

func (x *CreateUtxoTxResponse) GetTxData() []byte

func (*CreateUtxoTxResponse) ProtoMessage

func (*CreateUtxoTxResponse) ProtoMessage()

func (*CreateUtxoTxResponse) ProtoReflect

func (x *CreateUtxoTxResponse) ProtoReflect() protoreflect.Message

func (*CreateUtxoTxResponse) Reset

func (x *CreateUtxoTxResponse) Reset()

func (*CreateUtxoTxResponse) String

func (x *CreateUtxoTxResponse) String() string

type GasPriceRequest

type GasPriceRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin          string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*GasPriceRequest) Descriptor deprecated

func (*GasPriceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GasPriceRequest.ProtoReflect.Descriptor instead.

func (*GasPriceRequest) GetChain

func (x *GasPriceRequest) GetChain() string

func (*GasPriceRequest) GetCoin

func (x *GasPriceRequest) GetCoin() string

func (*GasPriceRequest) GetConsumerToken

func (x *GasPriceRequest) GetConsumerToken() string

func (*GasPriceRequest) GetNetwork

func (x *GasPriceRequest) GetNetwork() string

func (*GasPriceRequest) ProtoMessage

func (*GasPriceRequest) ProtoMessage()

func (*GasPriceRequest) ProtoReflect

func (x *GasPriceRequest) ProtoReflect() protoreflect.Message

func (*GasPriceRequest) Reset

func (x *GasPriceRequest) Reset()

func (*GasPriceRequest) String

func (x *GasPriceRequest) String() string

type GasPriceResponse

type GasPriceResponse struct {
	Code common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg  string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Gas  string            `protobuf:"bytes,3,opt,name=gas,proto3" json:"gas,omitempty"`
	// contains filtered or unexported fields
}

func (*GasPriceResponse) Descriptor deprecated

func (*GasPriceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GasPriceResponse.ProtoReflect.Descriptor instead.

func (*GasPriceResponse) GetCode

func (x *GasPriceResponse) GetCode() common.ReturnCode

func (*GasPriceResponse) GetGas

func (x *GasPriceResponse) GetGas() string

func (*GasPriceResponse) GetMsg

func (x *GasPriceResponse) GetMsg() string

func (*GasPriceResponse) ProtoMessage

func (*GasPriceResponse) ProtoMessage()

func (*GasPriceResponse) ProtoReflect

func (x *GasPriceResponse) ProtoReflect() protoreflect.Message

func (*GasPriceResponse) Reset

func (x *GasPriceResponse) Reset()

func (*GasPriceResponse) String

func (x *GasPriceResponse) String() string

type MinRentRequest

type MinRentRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin          string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Address       string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*MinRentRequest) Descriptor deprecated

func (*MinRentRequest) Descriptor() ([]byte, []int)

Deprecated: Use MinRentRequest.ProtoReflect.Descriptor instead.

func (*MinRentRequest) GetAddress

func (x *MinRentRequest) GetAddress() string

func (*MinRentRequest) GetChain

func (x *MinRentRequest) GetChain() string

func (*MinRentRequest) GetCoin

func (x *MinRentRequest) GetCoin() string

func (*MinRentRequest) GetConsumerToken

func (x *MinRentRequest) GetConsumerToken() string

func (*MinRentRequest) GetNetwork

func (x *MinRentRequest) GetNetwork() string

func (*MinRentRequest) ProtoMessage

func (*MinRentRequest) ProtoMessage()

func (*MinRentRequest) ProtoReflect

func (x *MinRentRequest) ProtoReflect() protoreflect.Message

func (*MinRentRequest) Reset

func (x *MinRentRequest) Reset()

func (*MinRentRequest) String

func (x *MinRentRequest) String() string

type MinRentResponse

type MinRentResponse struct {
	Code  common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg   string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Value string            `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MinRentResponse) Descriptor deprecated

func (*MinRentResponse) Descriptor() ([]byte, []int)

Deprecated: Use MinRentResponse.ProtoReflect.Descriptor instead.

func (*MinRentResponse) GetCode

func (x *MinRentResponse) GetCode() common.ReturnCode

func (*MinRentResponse) GetMsg

func (x *MinRentResponse) GetMsg() string

func (*MinRentResponse) GetValue

func (x *MinRentResponse) GetValue() string

func (*MinRentResponse) ProtoMessage

func (*MinRentResponse) ProtoMessage()

func (*MinRentResponse) ProtoReflect

func (x *MinRentResponse) ProtoReflect() protoreflect.Message

func (*MinRentResponse) Reset

func (x *MinRentResponse) Reset()

func (*MinRentResponse) String

func (x *MinRentResponse) String() string

type NonceRequest

type NonceRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin          string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Address       string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Network       string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*NonceRequest) Descriptor deprecated

func (*NonceRequest) Descriptor() ([]byte, []int)

Deprecated: Use NonceRequest.ProtoReflect.Descriptor instead.

func (*NonceRequest) GetAddress

func (x *NonceRequest) GetAddress() string

func (*NonceRequest) GetChain

func (x *NonceRequest) GetChain() string

func (*NonceRequest) GetCoin

func (x *NonceRequest) GetCoin() string

func (*NonceRequest) GetConsumerToken

func (x *NonceRequest) GetConsumerToken() string

func (*NonceRequest) GetNetwork

func (x *NonceRequest) GetNetwork() string

func (*NonceRequest) ProtoMessage

func (*NonceRequest) ProtoMessage()

func (*NonceRequest) ProtoReflect

func (x *NonceRequest) ProtoReflect() protoreflect.Message

func (*NonceRequest) Reset

func (x *NonceRequest) Reset()

func (*NonceRequest) String

func (x *NonceRequest) String() string

type NonceResponse

type NonceResponse struct {
	Code  common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg   string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Nonce string            `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*NonceResponse) Descriptor deprecated

func (*NonceResponse) Descriptor() ([]byte, []int)

Deprecated: Use NonceResponse.ProtoReflect.Descriptor instead.

func (*NonceResponse) GetCode

func (x *NonceResponse) GetCode() common.ReturnCode

func (*NonceResponse) GetMsg

func (x *NonceResponse) GetMsg() string

func (*NonceResponse) GetNonce

func (x *NonceResponse) GetNonce() string

func (*NonceResponse) ProtoMessage

func (*NonceResponse) ProtoMessage()

func (*NonceResponse) ProtoReflect

func (x *NonceResponse) ProtoReflect() protoreflect.Message

func (*NonceResponse) Reset

func (x *NonceResponse) Reset()

func (*NonceResponse) String

func (x *NonceResponse) String() string

type SendTxRequest

type SendTxRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin          string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	RawTx         string `protobuf:"bytes,5,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*SendTxRequest) Descriptor deprecated

func (*SendTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendTxRequest.ProtoReflect.Descriptor instead.

func (*SendTxRequest) GetChain

func (x *SendTxRequest) GetChain() string

func (*SendTxRequest) GetCoin

func (x *SendTxRequest) GetCoin() string

func (*SendTxRequest) GetConsumerToken

func (x *SendTxRequest) GetConsumerToken() string

func (*SendTxRequest) GetNetwork

func (x *SendTxRequest) GetNetwork() string

func (*SendTxRequest) GetRawTx

func (x *SendTxRequest) GetRawTx() string

func (*SendTxRequest) ProtoMessage

func (*SendTxRequest) ProtoMessage()

func (*SendTxRequest) ProtoReflect

func (x *SendTxRequest) ProtoReflect() protoreflect.Message

func (*SendTxRequest) Reset

func (x *SendTxRequest) Reset()

func (*SendTxRequest) String

func (x *SendTxRequest) String() string

type SendTxResponse

type SendTxResponse struct {
	Code   common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg    string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	TxHash string            `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*SendTxResponse) Descriptor deprecated

func (*SendTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendTxResponse.ProtoReflect.Descriptor instead.

func (*SendTxResponse) GetCode

func (x *SendTxResponse) GetCode() common.ReturnCode

func (*SendTxResponse) GetMsg

func (x *SendTxResponse) GetMsg() string

func (*SendTxResponse) GetTxHash

func (x *SendTxResponse) GetTxHash() string

func (*SendTxResponse) ProtoMessage

func (*SendTxResponse) ProtoMessage()

func (*SendTxResponse) ProtoReflect

func (x *SendTxResponse) ProtoReflect() protoreflect.Message

func (*SendTxResponse) Reset

func (x *SendTxResponse) Reset()

func (*SendTxResponse) String

func (x *SendTxResponse) String() string

type SupportCoinsRequest

type SupportCoinsRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Network       string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*SupportCoinsRequest) Descriptor deprecated

func (*SupportCoinsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SupportCoinsRequest.ProtoReflect.Descriptor instead.

func (*SupportCoinsRequest) GetChain

func (x *SupportCoinsRequest) GetChain() string

func (*SupportCoinsRequest) GetConsumerToken

func (x *SupportCoinsRequest) GetConsumerToken() string

func (*SupportCoinsRequest) GetNetwork

func (x *SupportCoinsRequest) GetNetwork() string

func (*SupportCoinsRequest) ProtoMessage

func (*SupportCoinsRequest) ProtoMessage()

func (*SupportCoinsRequest) ProtoReflect

func (x *SupportCoinsRequest) ProtoReflect() protoreflect.Message

func (*SupportCoinsRequest) Reset

func (x *SupportCoinsRequest) Reset()

func (*SupportCoinsRequest) String

func (x *SupportCoinsRequest) String() string

type SupportCoinsResponse

type SupportCoinsResponse struct {
	Code    common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg     string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Support bool              `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"`
	// contains filtered or unexported fields
}

func (*SupportCoinsResponse) Descriptor deprecated

func (*SupportCoinsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SupportCoinsResponse.ProtoReflect.Descriptor instead.

func (*SupportCoinsResponse) GetCode

func (x *SupportCoinsResponse) GetCode() common.ReturnCode

func (*SupportCoinsResponse) GetMsg

func (x *SupportCoinsResponse) GetMsg() string

func (*SupportCoinsResponse) GetSupport

func (x *SupportCoinsResponse) GetSupport() bool

func (*SupportCoinsResponse) ProtoMessage

func (*SupportCoinsResponse) ProtoMessage()

func (*SupportCoinsResponse) ProtoReflect

func (x *SupportCoinsResponse) ProtoReflect() protoreflect.Message

func (*SupportCoinsResponse) Reset

func (x *SupportCoinsResponse) Reset()

func (*SupportCoinsResponse) String

func (x *SupportCoinsResponse) String() string

type TxAddressRequest

type TxAddressRequest struct {
	ConsumerToken   string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain           string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin            string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network         string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Address         string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Page            uint32 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	Pagesize        uint32 `protobuf:"varint,8,opt,name=pagesize,proto3" json:"pagesize,omitempty"`
	Cursor          string `protobuf:"bytes,9,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*TxAddressRequest) Descriptor deprecated

func (*TxAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxAddressRequest.ProtoReflect.Descriptor instead.

func (*TxAddressRequest) GetAddress

func (x *TxAddressRequest) GetAddress() string

func (*TxAddressRequest) GetChain

func (x *TxAddressRequest) GetChain() string

func (*TxAddressRequest) GetCoin

func (x *TxAddressRequest) GetCoin() string

func (*TxAddressRequest) GetConsumerToken

func (x *TxAddressRequest) GetConsumerToken() string

func (*TxAddressRequest) GetContractAddress

func (x *TxAddressRequest) GetContractAddress() string

func (*TxAddressRequest) GetCursor

func (x *TxAddressRequest) GetCursor() string

func (*TxAddressRequest) GetNetwork

func (x *TxAddressRequest) GetNetwork() string

func (*TxAddressRequest) GetPage

func (x *TxAddressRequest) GetPage() uint32

func (*TxAddressRequest) GetPagesize

func (x *TxAddressRequest) GetPagesize() uint32

func (*TxAddressRequest) ProtoMessage

func (*TxAddressRequest) ProtoMessage()

func (*TxAddressRequest) ProtoReflect

func (x *TxAddressRequest) ProtoReflect() protoreflect.Message

func (*TxAddressRequest) Reset

func (x *TxAddressRequest) Reset()

func (*TxAddressRequest) String

func (x *TxAddressRequest) String() string

type TxAddressResponse

type TxAddressResponse struct {
	Code        common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg         string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Tx          []*TxMessage      `protobuf:"bytes,3,rep,name=tx,proto3" json:"tx,omitempty"`
	HasNextPage bool              `protobuf:"varint,4,opt,name=hasNextPage,proto3" json:"hasNextPage,omitempty"`
	// contains filtered or unexported fields
}

func (*TxAddressResponse) Descriptor deprecated

func (*TxAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use TxAddressResponse.ProtoReflect.Descriptor instead.

func (*TxAddressResponse) GetCode

func (x *TxAddressResponse) GetCode() common.ReturnCode

func (*TxAddressResponse) GetHasNextPage

func (x *TxAddressResponse) GetHasNextPage() bool

func (*TxAddressResponse) GetMsg

func (x *TxAddressResponse) GetMsg() string

func (*TxAddressResponse) GetTx

func (x *TxAddressResponse) GetTx() []*TxMessage

func (*TxAddressResponse) ProtoMessage

func (*TxAddressResponse) ProtoMessage()

func (*TxAddressResponse) ProtoReflect

func (x *TxAddressResponse) ProtoReflect() protoreflect.Message

func (*TxAddressResponse) Reset

func (x *TxAddressResponse) Reset()

func (*TxAddressResponse) String

func (x *TxAddressResponse) String() string

type TxFromDataRequest

type TxFromDataRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	RawData       []byte `protobuf:"bytes,5,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	Height        int64  `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	Vins          []*Vin `protobuf:"bytes,7,rep,name=vins,proto3" json:"vins,omitempty"`
	// contains filtered or unexported fields
}

func (*TxFromDataRequest) Descriptor deprecated

func (*TxFromDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxFromDataRequest.ProtoReflect.Descriptor instead.

func (*TxFromDataRequest) GetChain

func (x *TxFromDataRequest) GetChain() string

func (*TxFromDataRequest) GetConsumerToken

func (x *TxFromDataRequest) GetConsumerToken() string

func (*TxFromDataRequest) GetHeight

func (x *TxFromDataRequest) GetHeight() int64

func (*TxFromDataRequest) GetNetwork

func (x *TxFromDataRequest) GetNetwork() string

func (*TxFromDataRequest) GetRawData

func (x *TxFromDataRequest) GetRawData() []byte

func (*TxFromDataRequest) GetSymbol

func (x *TxFromDataRequest) GetSymbol() string

func (*TxFromDataRequest) GetVins

func (x *TxFromDataRequest) GetVins() []*Vin

func (*TxFromDataRequest) ProtoMessage

func (*TxFromDataRequest) ProtoMessage()

func (*TxFromDataRequest) ProtoReflect

func (x *TxFromDataRequest) ProtoReflect() protoreflect.Message

func (*TxFromDataRequest) Reset

func (x *TxFromDataRequest) Reset()

func (*TxFromDataRequest) String

func (x *TxFromDataRequest) String() string

type TxFromSignedDataRequest

type TxFromSignedDataRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	SignedTxData  []byte `protobuf:"bytes,5,opt,name=signed_tx_data,json=signedTxData,proto3" json:"signed_tx_data,omitempty"`
	Height        int64  `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	Vins          []*Vin `protobuf:"bytes,7,rep,name=vins,proto3" json:"vins,omitempty"`
	// contains filtered or unexported fields
}

func (*TxFromSignedDataRequest) Descriptor deprecated

func (*TxFromSignedDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxFromSignedDataRequest.ProtoReflect.Descriptor instead.

func (*TxFromSignedDataRequest) GetChain

func (x *TxFromSignedDataRequest) GetChain() string

func (*TxFromSignedDataRequest) GetConsumerToken

func (x *TxFromSignedDataRequest) GetConsumerToken() string

func (*TxFromSignedDataRequest) GetHeight

func (x *TxFromSignedDataRequest) GetHeight() int64

func (*TxFromSignedDataRequest) GetNetwork

func (x *TxFromSignedDataRequest) GetNetwork() string

func (*TxFromSignedDataRequest) GetSignedTxData

func (x *TxFromSignedDataRequest) GetSignedTxData() []byte

func (*TxFromSignedDataRequest) GetSymbol

func (x *TxFromSignedDataRequest) GetSymbol() string

func (*TxFromSignedDataRequest) GetVins

func (x *TxFromSignedDataRequest) GetVins() []*Vin

func (*TxFromSignedDataRequest) ProtoMessage

func (*TxFromSignedDataRequest) ProtoMessage()

func (*TxFromSignedDataRequest) ProtoReflect

func (x *TxFromSignedDataRequest) ProtoReflect() protoreflect.Message

func (*TxFromSignedDataRequest) Reset

func (x *TxFromSignedDataRequest) Reset()

func (*TxFromSignedDataRequest) String

func (x *TxFromSignedDataRequest) String() string

type TxHashRequest

type TxHashRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Coin          string `protobuf:"bytes,3,opt,name=coin,proto3" json:"coin,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Hash          string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*TxHashRequest) Descriptor deprecated

func (*TxHashRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxHashRequest.ProtoReflect.Descriptor instead.

func (*TxHashRequest) GetChain

func (x *TxHashRequest) GetChain() string

func (*TxHashRequest) GetCoin

func (x *TxHashRequest) GetCoin() string

func (*TxHashRequest) GetConsumerToken

func (x *TxHashRequest) GetConsumerToken() string

func (*TxHashRequest) GetHash

func (x *TxHashRequest) GetHash() string

func (*TxHashRequest) GetNetwork

func (x *TxHashRequest) GetNetwork() string

func (*TxHashRequest) ProtoMessage

func (*TxHashRequest) ProtoMessage()

func (*TxHashRequest) ProtoReflect

func (x *TxHashRequest) ProtoReflect() protoreflect.Message

func (*TxHashRequest) Reset

func (x *TxHashRequest) Reset()

func (*TxHashRequest) String

func (x *TxHashRequest) String() string

type TxHashResponse

type TxHashResponse struct {
	Code common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg  string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Tx   *TxMessage        `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

func (*TxHashResponse) Descriptor deprecated

func (*TxHashResponse) Descriptor() ([]byte, []int)

Deprecated: Use TxHashResponse.ProtoReflect.Descriptor instead.

func (*TxHashResponse) GetCode

func (x *TxHashResponse) GetCode() common.ReturnCode

func (*TxHashResponse) GetMsg

func (x *TxHashResponse) GetMsg() string

func (*TxHashResponse) GetTx

func (x *TxHashResponse) GetTx() *TxMessage

func (*TxHashResponse) ProtoMessage

func (*TxHashResponse) ProtoMessage()

func (*TxHashResponse) ProtoReflect

func (x *TxHashResponse) ProtoReflect() protoreflect.Message

func (*TxHashResponse) Reset

func (x *TxHashResponse) Reset()

func (*TxHashResponse) String

func (x *TxHashResponse) String() string

type TxMessage

type TxMessage struct {
	Hash            string     `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Index           uint32     `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Froms           []*Address `protobuf:"bytes,3,rep,name=froms,proto3" json:"froms,omitempty"`
	Tos             []*Address `protobuf:"bytes,4,rep,name=tos,proto3" json:"tos,omitempty"`
	Values          []*Value   `protobuf:"bytes,7,rep,name=values,proto3" json:"values,omitempty"`
	Fee             string     `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,omitempty"`
	Status          TxStatus   `protobuf:"varint,6,opt,name=status,proto3,enum=savourrpc.wallet.TxStatus" json:"status,omitempty"`
	Type            int32      `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"`
	Height          string     `protobuf:"bytes,9,opt,name=height,proto3" json:"height,omitempty"`
	ContractAddress string     `protobuf:"bytes,10,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Datetime        string     `protobuf:"bytes,11,opt,name=datetime,proto3" json:"datetime,omitempty"`
	// contains filtered or unexported fields
}

func (*TxMessage) Descriptor deprecated

func (*TxMessage) Descriptor() ([]byte, []int)

Deprecated: Use TxMessage.ProtoReflect.Descriptor instead.

func (*TxMessage) GetContractAddress

func (x *TxMessage) GetContractAddress() string

func (*TxMessage) GetDatetime

func (x *TxMessage) GetDatetime() string

func (*TxMessage) GetFee

func (x *TxMessage) GetFee() string

func (*TxMessage) GetFroms

func (x *TxMessage) GetFroms() []*Address

func (*TxMessage) GetHash

func (x *TxMessage) GetHash() string

func (*TxMessage) GetHeight

func (x *TxMessage) GetHeight() string

func (*TxMessage) GetIndex

func (x *TxMessage) GetIndex() uint32

func (*TxMessage) GetStatus

func (x *TxMessage) GetStatus() TxStatus

func (*TxMessage) GetTos

func (x *TxMessage) GetTos() []*Address

func (*TxMessage) GetType

func (x *TxMessage) GetType() int32

func (*TxMessage) GetValues

func (x *TxMessage) GetValues() []*Value

func (*TxMessage) ProtoMessage

func (*TxMessage) ProtoMessage()

func (*TxMessage) ProtoReflect

func (x *TxMessage) ProtoReflect() protoreflect.Message

func (*TxMessage) Reset

func (x *TxMessage) Reset()

func (*TxMessage) String

func (x *TxMessage) String() string

type TxStatus

type TxStatus int32
const (
	TxStatus_NotFound              TxStatus = 0
	TxStatus_Pending               TxStatus = 1
	TxStatus_Failed                TxStatus = 2
	TxStatus_Success               TxStatus = 3
	TxStatus_ContractExecuteFailed TxStatus = 4
	TxStatus_Other                 TxStatus = 5
)

func (TxStatus) Descriptor

func (TxStatus) Descriptor() protoreflect.EnumDescriptor

func (TxStatus) Enum

func (x TxStatus) Enum() *TxStatus

func (TxStatus) EnumDescriptor deprecated

func (TxStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TxStatus.Descriptor instead.

func (TxStatus) Number

func (x TxStatus) Number() protoreflect.EnumNumber

func (TxStatus) String

func (x TxStatus) String() string

func (TxStatus) Type

type UnimplementedWalletServiceServer

type UnimplementedWalletServiceServer struct {
}

UnimplementedWalletServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletServiceServer) ABIBinToJSON

func (UnimplementedWalletServiceServer) ABIJSONToBin

func (UnimplementedWalletServiceServer) ConvertAddress

func (UnimplementedWalletServiceServer) CreateAccountSignedTx

func (UnimplementedWalletServiceServer) CreateAccountTx

func (UnimplementedWalletServiceServer) CreateUtxoSignedTx

func (UnimplementedWalletServiceServer) CreateUtxoTx

func (UnimplementedWalletServiceServer) GetAccount

func (UnimplementedWalletServiceServer) GetAccountTxFromData

func (UnimplementedWalletServiceServer) GetAccountTxFromSignedData

func (UnimplementedWalletServiceServer) GetBalance

func (UnimplementedWalletServiceServer) GetBlock

func (UnimplementedWalletServiceServer) GetGasPrice

func (UnimplementedWalletServiceServer) GetMinRent

func (UnimplementedWalletServiceServer) GetNonce

func (UnimplementedWalletServiceServer) GetSupportCoins

func (UnimplementedWalletServiceServer) GetTxByAddress

func (UnimplementedWalletServiceServer) GetTxByHash

func (UnimplementedWalletServiceServer) GetUnspentOutputs

func (UnimplementedWalletServiceServer) GetUtxo

func (UnimplementedWalletServiceServer) GetUtxoInsFromData

func (UnimplementedWalletServiceServer) GetUtxoTxFromData

func (UnimplementedWalletServiceServer) GetUtxoTxFromSignedData

func (UnimplementedWalletServiceServer) SendTx

func (UnimplementedWalletServiceServer) ValidAddress

func (UnimplementedWalletServiceServer) VerifyAccountSignedTx

func (UnimplementedWalletServiceServer) VerifyUtxoSignedTx

type UnsafeWalletServiceServer

type UnsafeWalletServiceServer interface {
}

UnsafeWalletServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletServiceServer will result in compilation errors.

type UnspentOutput

type UnspentOutput struct {
	TxHashBigEndian string `protobuf:"bytes,1,opt,name=tx_hash_big_endian,json=txHashBigEndian,proto3" json:"tx_hash_big_endian,omitempty"`
	TxHash          string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	TxOutputN       uint64 `protobuf:"varint,3,opt,name=tx_output_n,json=txOutputN,proto3" json:"tx_output_n,omitempty"`
	Script          string `protobuf:"bytes,4,opt,name=script,proto3" json:"script,omitempty"`
	Value           uint64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
	Confirmations   uint64 `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	TxIndex         uint64 `protobuf:"varint,7,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	// contains filtered or unexported fields
}

func (*UnspentOutput) Descriptor deprecated

func (*UnspentOutput) Descriptor() ([]byte, []int)

Deprecated: Use UnspentOutput.ProtoReflect.Descriptor instead.

func (*UnspentOutput) GetConfirmations

func (x *UnspentOutput) GetConfirmations() uint64

func (*UnspentOutput) GetScript

func (x *UnspentOutput) GetScript() string

func (*UnspentOutput) GetTxHash

func (x *UnspentOutput) GetTxHash() string

func (*UnspentOutput) GetTxHashBigEndian

func (x *UnspentOutput) GetTxHashBigEndian() string

func (*UnspentOutput) GetTxIndex

func (x *UnspentOutput) GetTxIndex() uint64

func (*UnspentOutput) GetTxOutputN

func (x *UnspentOutput) GetTxOutputN() uint64

func (*UnspentOutput) GetValue

func (x *UnspentOutput) GetValue() uint64

func (*UnspentOutput) ProtoMessage

func (*UnspentOutput) ProtoMessage()

func (*UnspentOutput) ProtoReflect

func (x *UnspentOutput) ProtoReflect() protoreflect.Message

func (*UnspentOutput) Reset

func (x *UnspentOutput) Reset()

func (*UnspentOutput) String

func (x *UnspentOutput) String() string

type UnspentOutputsRequest

type UnspentOutputsRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Address       string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	Cursor        string `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Limit         uint64 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
	CoinType      string `protobuf:"bytes,8,opt,name=coinType,proto3" json:"coinType,omitempty"`
	// contains filtered or unexported fields
}

func (*UnspentOutputsRequest) Descriptor deprecated

func (*UnspentOutputsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnspentOutputsRequest.ProtoReflect.Descriptor instead.

func (*UnspentOutputsRequest) GetAddress

func (x *UnspentOutputsRequest) GetAddress() string

func (*UnspentOutputsRequest) GetChain

func (x *UnspentOutputsRequest) GetChain() string

func (*UnspentOutputsRequest) GetCoinType

func (x *UnspentOutputsRequest) GetCoinType() string

func (*UnspentOutputsRequest) GetConsumerToken

func (x *UnspentOutputsRequest) GetConsumerToken() string

func (*UnspentOutputsRequest) GetCursor

func (x *UnspentOutputsRequest) GetCursor() string

func (*UnspentOutputsRequest) GetLimit

func (x *UnspentOutputsRequest) GetLimit() uint64

func (*UnspentOutputsRequest) GetNetwork

func (x *UnspentOutputsRequest) GetNetwork() string

func (*UnspentOutputsRequest) GetSymbol

func (x *UnspentOutputsRequest) GetSymbol() string

func (*UnspentOutputsRequest) ProtoMessage

func (*UnspentOutputsRequest) ProtoMessage()

func (*UnspentOutputsRequest) ProtoReflect

func (x *UnspentOutputsRequest) ProtoReflect() protoreflect.Message

func (*UnspentOutputsRequest) Reset

func (x *UnspentOutputsRequest) Reset()

func (*UnspentOutputsRequest) String

func (x *UnspentOutputsRequest) String() string

type UnspentOutputsResponse

type UnspentOutputsResponse struct {
	Code           common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg            string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	UnspentOutputs []*UnspentOutput  `protobuf:"bytes,3,rep,name=unspent_outputs,json=unspentOutputs,proto3" json:"unspent_outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*UnspentOutputsResponse) Descriptor deprecated

func (*UnspentOutputsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnspentOutputsResponse.ProtoReflect.Descriptor instead.

func (*UnspentOutputsResponse) GetCode

func (*UnspentOutputsResponse) GetMsg

func (x *UnspentOutputsResponse) GetMsg() string

func (*UnspentOutputsResponse) GetUnspentOutputs

func (x *UnspentOutputsResponse) GetUnspentOutputs() []*UnspentOutput

func (*UnspentOutputsResponse) ProtoMessage

func (*UnspentOutputsResponse) ProtoMessage()

func (*UnspentOutputsResponse) ProtoReflect

func (x *UnspentOutputsResponse) ProtoReflect() protoreflect.Message

func (*UnspentOutputsResponse) Reset

func (x *UnspentOutputsResponse) Reset()

func (*UnspentOutputsResponse) String

func (x *UnspentOutputsResponse) String() string

type UtxoInsFromDataRequest

type UtxoInsFromDataRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Data          []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoInsFromDataRequest) Descriptor deprecated

func (*UtxoInsFromDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use UtxoInsFromDataRequest.ProtoReflect.Descriptor instead.

func (*UtxoInsFromDataRequest) GetChain

func (x *UtxoInsFromDataRequest) GetChain() string

func (*UtxoInsFromDataRequest) GetConsumerToken

func (x *UtxoInsFromDataRequest) GetConsumerToken() string

func (*UtxoInsFromDataRequest) GetData

func (x *UtxoInsFromDataRequest) GetData() []byte

func (*UtxoInsFromDataRequest) GetNetwork

func (x *UtxoInsFromDataRequest) GetNetwork() string

func (*UtxoInsFromDataRequest) GetSymbol

func (x *UtxoInsFromDataRequest) GetSymbol() string

func (*UtxoInsFromDataRequest) ProtoMessage

func (*UtxoInsFromDataRequest) ProtoMessage()

func (*UtxoInsFromDataRequest) ProtoReflect

func (x *UtxoInsFromDataRequest) ProtoReflect() protoreflect.Message

func (*UtxoInsFromDataRequest) Reset

func (x *UtxoInsFromDataRequest) Reset()

func (*UtxoInsFromDataRequest) String

func (x *UtxoInsFromDataRequest) String() string

type UtxoInsResponse

type UtxoInsResponse struct {
	Code common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg  string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Vins []*Vin            `protobuf:"bytes,3,rep,name=vins,proto3" json:"vins,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoInsResponse) Descriptor deprecated

func (*UtxoInsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UtxoInsResponse.ProtoReflect.Descriptor instead.

func (*UtxoInsResponse) GetCode

func (x *UtxoInsResponse) GetCode() common.ReturnCode

func (*UtxoInsResponse) GetMsg

func (x *UtxoInsResponse) GetMsg() string

func (*UtxoInsResponse) GetVins

func (x *UtxoInsResponse) GetVins() []*Vin

func (*UtxoInsResponse) ProtoMessage

func (*UtxoInsResponse) ProtoMessage()

func (*UtxoInsResponse) ProtoReflect

func (x *UtxoInsResponse) ProtoReflect() protoreflect.Message

func (*UtxoInsResponse) Reset

func (x *UtxoInsResponse) Reset()

func (*UtxoInsResponse) String

func (x *UtxoInsResponse) String() string

type UtxoRequest

type UtxoRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Vin           *Vin   `protobuf:"bytes,5,opt,name=vin,proto3" json:"vin,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoRequest) Descriptor deprecated

func (*UtxoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UtxoRequest.ProtoReflect.Descriptor instead.

func (*UtxoRequest) GetChain

func (x *UtxoRequest) GetChain() string

func (*UtxoRequest) GetConsumerToken

func (x *UtxoRequest) GetConsumerToken() string

func (*UtxoRequest) GetNetwork

func (x *UtxoRequest) GetNetwork() string

func (*UtxoRequest) GetSymbol

func (x *UtxoRequest) GetSymbol() string

func (*UtxoRequest) GetVin

func (x *UtxoRequest) GetVin() *Vin

func (*UtxoRequest) ProtoMessage

func (*UtxoRequest) ProtoMessage()

func (*UtxoRequest) ProtoReflect

func (x *UtxoRequest) ProtoReflect() protoreflect.Message

func (*UtxoRequest) Reset

func (x *UtxoRequest) Reset()

func (*UtxoRequest) String

func (x *UtxoRequest) String() string

type UtxoResponse

type UtxoResponse struct {
	Code    common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg     string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Unspent bool              `protobuf:"varint,3,opt,name=unspent,proto3" json:"unspent,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoResponse) Descriptor deprecated

func (*UtxoResponse) Descriptor() ([]byte, []int)

Deprecated: Use UtxoResponse.ProtoReflect.Descriptor instead.

func (*UtxoResponse) GetCode

func (x *UtxoResponse) GetCode() common.ReturnCode

func (*UtxoResponse) GetMsg

func (x *UtxoResponse) GetMsg() string

func (*UtxoResponse) GetUnspent

func (x *UtxoResponse) GetUnspent() bool

func (*UtxoResponse) ProtoMessage

func (*UtxoResponse) ProtoMessage()

func (*UtxoResponse) ProtoReflect

func (x *UtxoResponse) ProtoReflect() protoreflect.Message

func (*UtxoResponse) Reset

func (x *UtxoResponse) Reset()

func (*UtxoResponse) String

func (x *UtxoResponse) String() string

type UtxoTxResponse

type UtxoTxResponse struct {
	Code        common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg         string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	TxHash      string            `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Status      TxStatus          `protobuf:"varint,4,opt,name=status,proto3,enum=savourrpc.wallet.TxStatus" json:"status,omitempty"`
	Vins        []*Vin            `protobuf:"bytes,5,rep,name=vins,proto3" json:"vins,omitempty"`
	Vouts       []*Vout           `protobuf:"bytes,6,rep,name=vouts,proto3" json:"vouts,omitempty"`
	SignHashes  [][]byte          `protobuf:"bytes,7,rep,name=sign_hashes,json=signHashes,proto3" json:"sign_hashes,omitempty"`
	CostFee     string            `protobuf:"bytes,8,opt,name=cost_fee,json=costFee,proto3" json:"cost_fee,omitempty"`
	BlockHeight uint64            `protobuf:"varint,9,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BlockTime   uint64            `protobuf:"varint,10,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UtxoTxResponse) Descriptor deprecated

func (*UtxoTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use UtxoTxResponse.ProtoReflect.Descriptor instead.

func (*UtxoTxResponse) GetBlockHeight

func (x *UtxoTxResponse) GetBlockHeight() uint64

func (*UtxoTxResponse) GetBlockTime

func (x *UtxoTxResponse) GetBlockTime() uint64

func (*UtxoTxResponse) GetCode

func (x *UtxoTxResponse) GetCode() common.ReturnCode

func (*UtxoTxResponse) GetCostFee

func (x *UtxoTxResponse) GetCostFee() string

func (*UtxoTxResponse) GetMsg

func (x *UtxoTxResponse) GetMsg() string

func (*UtxoTxResponse) GetSignHashes

func (x *UtxoTxResponse) GetSignHashes() [][]byte

func (*UtxoTxResponse) GetStatus

func (x *UtxoTxResponse) GetStatus() TxStatus

func (*UtxoTxResponse) GetTxHash

func (x *UtxoTxResponse) GetTxHash() string

func (*UtxoTxResponse) GetVins

func (x *UtxoTxResponse) GetVins() []*Vin

func (*UtxoTxResponse) GetVouts

func (x *UtxoTxResponse) GetVouts() []*Vout

func (*UtxoTxResponse) ProtoMessage

func (*UtxoTxResponse) ProtoMessage()

func (*UtxoTxResponse) ProtoReflect

func (x *UtxoTxResponse) ProtoReflect() protoreflect.Message

func (*UtxoTxResponse) Reset

func (x *UtxoTxResponse) Reset()

func (*UtxoTxResponse) String

func (x *UtxoTxResponse) String() string

type ValidAddressRequest

type ValidAddressRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Network       string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Symbol        string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Address       string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidAddressRequest) Descriptor deprecated

func (*ValidAddressRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidAddressRequest.ProtoReflect.Descriptor instead.

func (*ValidAddressRequest) GetAddress

func (x *ValidAddressRequest) GetAddress() string

func (*ValidAddressRequest) GetChain

func (x *ValidAddressRequest) GetChain() string

func (*ValidAddressRequest) GetConsumerToken

func (x *ValidAddressRequest) GetConsumerToken() string

func (*ValidAddressRequest) GetNetwork

func (x *ValidAddressRequest) GetNetwork() string

func (*ValidAddressRequest) GetSymbol

func (x *ValidAddressRequest) GetSymbol() string

func (*ValidAddressRequest) ProtoMessage

func (*ValidAddressRequest) ProtoMessage()

func (*ValidAddressRequest) ProtoReflect

func (x *ValidAddressRequest) ProtoReflect() protoreflect.Message

func (*ValidAddressRequest) Reset

func (x *ValidAddressRequest) Reset()

func (*ValidAddressRequest) String

func (x *ValidAddressRequest) String() string

type ValidAddressResponse

type ValidAddressResponse struct {
	Code             common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg              string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Valid            bool              `protobuf:"varint,3,opt,name=valid,proto3" json:"valid,omitempty"`
	CanWithdrawal    bool              `protobuf:"varint,4,opt,name=can_withdrawal,json=canWithdrawal,proto3" json:"can_withdrawal,omitempty"`
	CanonicalAddress string            `protobuf:"bytes,5,opt,name=canonical_address,json=canonicalAddress,proto3" json:"canonical_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidAddressResponse) Descriptor deprecated

func (*ValidAddressResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidAddressResponse.ProtoReflect.Descriptor instead.

func (*ValidAddressResponse) GetCanWithdrawal

func (x *ValidAddressResponse) GetCanWithdrawal() bool

func (*ValidAddressResponse) GetCanonicalAddress

func (x *ValidAddressResponse) GetCanonicalAddress() string

func (*ValidAddressResponse) GetCode

func (x *ValidAddressResponse) GetCode() common.ReturnCode

func (*ValidAddressResponse) GetMsg

func (x *ValidAddressResponse) GetMsg() string

func (*ValidAddressResponse) GetValid

func (x *ValidAddressResponse) GetValid() bool

func (*ValidAddressResponse) ProtoMessage

func (*ValidAddressResponse) ProtoMessage()

func (*ValidAddressResponse) ProtoReflect

func (x *ValidAddressResponse) ProtoReflect() protoreflect.Message

func (*ValidAddressResponse) Reset

func (x *ValidAddressResponse) Reset()

func (*ValidAddressResponse) String

func (x *ValidAddressResponse) String() string

type Value

type Value struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetValue

func (x *Value) GetValue() string

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type VerifySignedTxRequest

type VerifySignedTxRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	Chain         string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Network       string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	// Deprecated: Do not use.
	Addresses    []string `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"`
	SignedTxData []byte   `protobuf:"bytes,6,opt,name=signed_tx_data,json=signedTxData,proto3" json:"signed_tx_data,omitempty"`
	Sender       string   `protobuf:"bytes,7,opt,name=sender,proto3" json:"sender,omitempty"`  // eth
	Height       int64    `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` // optional, default to latest
	Vins         []*Vin   `protobuf:"bytes,9,rep,name=vins,proto3" json:"vins,omitempty"`      // btc
	// contains filtered or unexported fields
}

func (*VerifySignedTxRequest) Descriptor deprecated

func (*VerifySignedTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifySignedTxRequest.ProtoReflect.Descriptor instead.

func (*VerifySignedTxRequest) GetAddresses deprecated

func (x *VerifySignedTxRequest) GetAddresses() []string

Deprecated: Do not use.

func (*VerifySignedTxRequest) GetChain

func (x *VerifySignedTxRequest) GetChain() string

func (*VerifySignedTxRequest) GetConsumerToken

func (x *VerifySignedTxRequest) GetConsumerToken() string

func (*VerifySignedTxRequest) GetHeight

func (x *VerifySignedTxRequest) GetHeight() int64

func (*VerifySignedTxRequest) GetNetwork

func (x *VerifySignedTxRequest) GetNetwork() string

func (*VerifySignedTxRequest) GetSender

func (x *VerifySignedTxRequest) GetSender() string

func (*VerifySignedTxRequest) GetSignedTxData

func (x *VerifySignedTxRequest) GetSignedTxData() []byte

func (*VerifySignedTxRequest) GetSymbol

func (x *VerifySignedTxRequest) GetSymbol() string

func (*VerifySignedTxRequest) GetVins

func (x *VerifySignedTxRequest) GetVins() []*Vin

func (*VerifySignedTxRequest) ProtoMessage

func (*VerifySignedTxRequest) ProtoMessage()

func (*VerifySignedTxRequest) ProtoReflect

func (x *VerifySignedTxRequest) ProtoReflect() protoreflect.Message

func (*VerifySignedTxRequest) Reset

func (x *VerifySignedTxRequest) Reset()

func (*VerifySignedTxRequest) String

func (x *VerifySignedTxRequest) String() string

type VerifySignedTxResponse

type VerifySignedTxResponse struct {
	Code     common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=savourrpc.ReturnCode" json:"code,omitempty"`
	Msg      string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Verified bool              `protobuf:"varint,3,opt,name=verified,proto3" json:"verified,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifySignedTxResponse) Descriptor deprecated

func (*VerifySignedTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifySignedTxResponse.ProtoReflect.Descriptor instead.

func (*VerifySignedTxResponse) GetCode

func (*VerifySignedTxResponse) GetMsg

func (x *VerifySignedTxResponse) GetMsg() string

func (*VerifySignedTxResponse) GetVerified

func (x *VerifySignedTxResponse) GetVerified() bool

func (*VerifySignedTxResponse) ProtoMessage

func (*VerifySignedTxResponse) ProtoMessage()

func (*VerifySignedTxResponse) ProtoReflect

func (x *VerifySignedTxResponse) ProtoReflect() protoreflect.Message

func (*VerifySignedTxResponse) Reset

func (x *VerifySignedTxResponse) Reset()

func (*VerifySignedTxResponse) String

func (x *VerifySignedTxResponse) String() string

type Vin

type Vin struct {
	Hash    string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Index   uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Amount  int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Vin) Descriptor deprecated

func (*Vin) Descriptor() ([]byte, []int)

Deprecated: Use Vin.ProtoReflect.Descriptor instead.

func (*Vin) GetAddress

func (x *Vin) GetAddress() string

func (*Vin) GetAmount

func (x *Vin) GetAmount() int64

func (*Vin) GetHash

func (x *Vin) GetHash() string

func (*Vin) GetIndex

func (x *Vin) GetIndex() uint32

func (*Vin) ProtoMessage

func (*Vin) ProtoMessage()

func (*Vin) ProtoReflect

func (x *Vin) ProtoReflect() protoreflect.Message

func (*Vin) Reset

func (x *Vin) Reset()

func (*Vin) String

func (x *Vin) String() string

type Vout

type Vout struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Amount  int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Index   uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*Vout) Descriptor deprecated

func (*Vout) Descriptor() ([]byte, []int)

Deprecated: Use Vout.ProtoReflect.Descriptor instead.

func (*Vout) GetAddress

func (x *Vout) GetAddress() string

func (*Vout) GetAmount

func (x *Vout) GetAmount() int64

func (*Vout) GetIndex

func (x *Vout) GetIndex() uint32

func (*Vout) ProtoMessage

func (*Vout) ProtoMessage()

func (*Vout) ProtoReflect

func (x *Vout) ProtoReflect() protoreflect.Message

func (*Vout) Reset

func (x *Vout) Reset()

func (*Vout) String

func (x *Vout) String() string

type WalletServiceClient

type WalletServiceClient interface {
	GetSupportCoins(ctx context.Context, in *SupportCoinsRequest, opts ...grpc.CallOption) (*SupportCoinsResponse, error)
	ConvertAddress(ctx context.Context, in *ConvertAddressRequest, opts ...grpc.CallOption) (*ConvertAddressResponse, error)
	ValidAddress(ctx context.Context, in *ValidAddressRequest, opts ...grpc.CallOption) (*ValidAddressResponse, error)
	GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	GetNonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error)
	GetGasPrice(ctx context.Context, in *GasPriceRequest, opts ...grpc.CallOption) (*GasPriceResponse, error)
	GetBalance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error)
	GetAccount(ctx context.Context, in *AccountRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	GetMinRent(ctx context.Context, in *MinRentRequest, opts ...grpc.CallOption) (*MinRentResponse, error)
	SendTx(ctx context.Context, in *SendTxRequest, opts ...grpc.CallOption) (*SendTxResponse, error)
	GetTxByAddress(ctx context.Context, in *TxAddressRequest, opts ...grpc.CallOption) (*TxAddressResponse, error)
	GetTxByHash(ctx context.Context, in *TxHashRequest, opts ...grpc.CallOption) (*TxHashResponse, error)
	GetUtxo(ctx context.Context, in *UtxoRequest, opts ...grpc.CallOption) (*UtxoResponse, error)
	GetUnspentOutputs(ctx context.Context, in *UnspentOutputsRequest, opts ...grpc.CallOption) (*UnspentOutputsResponse, error)
	GetUtxoInsFromData(ctx context.Context, in *UtxoInsFromDataRequest, opts ...grpc.CallOption) (*UtxoInsResponse, error)
	GetAccountTxFromData(ctx context.Context, in *TxFromDataRequest, opts ...grpc.CallOption) (*AccountTxResponse, error)
	GetUtxoTxFromData(ctx context.Context, in *TxFromDataRequest, opts ...grpc.CallOption) (*UtxoTxResponse, error)
	GetAccountTxFromSignedData(ctx context.Context, in *TxFromSignedDataRequest, opts ...grpc.CallOption) (*AccountTxResponse, error)
	GetUtxoTxFromSignedData(ctx context.Context, in *TxFromSignedDataRequest, opts ...grpc.CallOption) (*UtxoTxResponse, error)
	CreateAccountSignedTx(ctx context.Context, in *CreateAccountSignedTxRequest, opts ...grpc.CallOption) (*CreateSignedTxResponse, error)
	CreateAccountTx(ctx context.Context, in *CreateAccountTxRequest, opts ...grpc.CallOption) (*CreateAccountTxResponse, error)
	CreateUtxoSignedTx(ctx context.Context, in *CreateUtxoSignedTxRequest, opts ...grpc.CallOption) (*CreateSignedTxResponse, error)
	CreateUtxoTx(ctx context.Context, in *CreateUtxoTxRequest, opts ...grpc.CallOption) (*CreateUtxoTxResponse, error)
	VerifyAccountSignedTx(ctx context.Context, in *VerifySignedTxRequest, opts ...grpc.CallOption) (*VerifySignedTxResponse, error)
	VerifyUtxoSignedTx(ctx context.Context, in *VerifySignedTxRequest, opts ...grpc.CallOption) (*VerifySignedTxResponse, error)
	ABIBinToJSON(ctx context.Context, in *ABIBinToJSONRequest, opts ...grpc.CallOption) (*ABIBinToJSONResponse, error)
	ABIJSONToBin(ctx context.Context, in *ABIJSONToBinRequest, opts ...grpc.CallOption) (*ABIJSONToBinResponse, error)
}

WalletServiceClient is the client API for WalletService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type WalletServiceServer

type WalletServiceServer interface {
	GetSupportCoins(context.Context, *SupportCoinsRequest) (*SupportCoinsResponse, error)
	ConvertAddress(context.Context, *ConvertAddressRequest) (*ConvertAddressResponse, error)
	ValidAddress(context.Context, *ValidAddressRequest) (*ValidAddressResponse, error)
	GetBlock(context.Context, *BlockRequest) (*BlockResponse, error)
	GetNonce(context.Context, *NonceRequest) (*NonceResponse, error)
	GetGasPrice(context.Context, *GasPriceRequest) (*GasPriceResponse, error)
	GetBalance(context.Context, *BalanceRequest) (*BalanceResponse, error)
	GetAccount(context.Context, *AccountRequest) (*AccountResponse, error)
	GetMinRent(context.Context, *MinRentRequest) (*MinRentResponse, error)
	SendTx(context.Context, *SendTxRequest) (*SendTxResponse, error)
	GetTxByAddress(context.Context, *TxAddressRequest) (*TxAddressResponse, error)
	GetTxByHash(context.Context, *TxHashRequest) (*TxHashResponse, error)
	GetUtxo(context.Context, *UtxoRequest) (*UtxoResponse, error)
	GetUnspentOutputs(context.Context, *UnspentOutputsRequest) (*UnspentOutputsResponse, error)
	GetUtxoInsFromData(context.Context, *UtxoInsFromDataRequest) (*UtxoInsResponse, error)
	GetAccountTxFromData(context.Context, *TxFromDataRequest) (*AccountTxResponse, error)
	GetUtxoTxFromData(context.Context, *TxFromDataRequest) (*UtxoTxResponse, error)
	GetAccountTxFromSignedData(context.Context, *TxFromSignedDataRequest) (*AccountTxResponse, error)
	GetUtxoTxFromSignedData(context.Context, *TxFromSignedDataRequest) (*UtxoTxResponse, error)
	CreateAccountSignedTx(context.Context, *CreateAccountSignedTxRequest) (*CreateSignedTxResponse, error)
	CreateAccountTx(context.Context, *CreateAccountTxRequest) (*CreateAccountTxResponse, error)
	CreateUtxoSignedTx(context.Context, *CreateUtxoSignedTxRequest) (*CreateSignedTxResponse, error)
	CreateUtxoTx(context.Context, *CreateUtxoTxRequest) (*CreateUtxoTxResponse, error)
	VerifyAccountSignedTx(context.Context, *VerifySignedTxRequest) (*VerifySignedTxResponse, error)
	VerifyUtxoSignedTx(context.Context, *VerifySignedTxRequest) (*VerifySignedTxResponse, error)
	ABIBinToJSON(context.Context, *ABIBinToJSONRequest) (*ABIBinToJSONResponse, error)
	ABIJSONToBin(context.Context, *ABIJSONToBinRequest) (*ABIJSONToBinResponse, error)
}

WalletServiceServer is the server API for WalletService service. All implementations must embed UnimplementedWalletServiceServer for forward compatibility

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL