account

package
v0.0.0-...-eb609b0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WalletAccountService_GetSupportChains_FullMethodName        = "/proto.WalletAccountService/getSupportChains"
	WalletAccountService_ConvertAddress_FullMethodName          = "/proto.WalletAccountService/convertAddress"
	WalletAccountService_ValidAddress_FullMethodName            = "/proto.WalletAccountService/validAddress"
	WalletAccountService_GetBlockByNumber_FullMethodName        = "/proto.WalletAccountService/getBlockByNumber"
	WalletAccountService_GetBlockByHash_FullMethodName          = "/proto.WalletAccountService/getBlockByHash"
	WalletAccountService_GetBlockHeaderByHash_FullMethodName    = "/proto.WalletAccountService/getBlockHeaderByHash"
	WalletAccountService_GetBlockHeaderByNumber_FullMethodName  = "/proto.WalletAccountService/getBlockHeaderByNumber"
	WalletAccountService_GetAccount_FullMethodName              = "/proto.WalletAccountService/getAccount"
	WalletAccountService_GetFee_FullMethodName                  = "/proto.WalletAccountService/getFee"
	WalletAccountService_SendTx_FullMethodName                  = "/proto.WalletAccountService/SendTx"
	WalletAccountService_GetTxByAddress_FullMethodName          = "/proto.WalletAccountService/getTxByAddress"
	WalletAccountService_GetTxByHash_FullMethodName             = "/proto.WalletAccountService/getTxByHash"
	WalletAccountService_GetBlockByRange_FullMethodName         = "/proto.WalletAccountService/getBlockByRange"
	WalletAccountService_CreateUnSignTransaction_FullMethodName = "/proto.WalletAccountService/createUnSignTransaction"
	WalletAccountService_BuildSignedTransaction_FullMethodName  = "/proto.WalletAccountService/buildSignedTransaction"
	WalletAccountService_DecodeTransaction_FullMethodName       = "/proto.WalletAccountService/decodeTransaction"
	WalletAccountService_VerifySignedTransaction_FullMethodName = "/proto.WalletAccountService/verifySignedTransaction"
	WalletAccountService_GetExtraData_FullMethodName            = "/proto.WalletAccountService/getExtraData"
)

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_proto_account_proto protoreflect.FileDescriptor
View Source
var WalletAccountService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.WalletAccountService",
	HandlerType: (*WalletAccountServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getSupportChains",
			Handler:    _WalletAccountService_GetSupportChains_Handler,
		},
		{
			MethodName: "convertAddress",
			Handler:    _WalletAccountService_ConvertAddress_Handler,
		},
		{
			MethodName: "validAddress",
			Handler:    _WalletAccountService_ValidAddress_Handler,
		},
		{
			MethodName: "getBlockByNumber",
			Handler:    _WalletAccountService_GetBlockByNumber_Handler,
		},
		{
			MethodName: "getBlockByHash",
			Handler:    _WalletAccountService_GetBlockByHash_Handler,
		},
		{
			MethodName: "getBlockHeaderByHash",
			Handler:    _WalletAccountService_GetBlockHeaderByHash_Handler,
		},
		{
			MethodName: "getBlockHeaderByNumber",
			Handler:    _WalletAccountService_GetBlockHeaderByNumber_Handler,
		},
		{
			MethodName: "getAccount",
			Handler:    _WalletAccountService_GetAccount_Handler,
		},
		{
			MethodName: "getFee",
			Handler:    _WalletAccountService_GetFee_Handler,
		},
		{
			MethodName: "SendTx",
			Handler:    _WalletAccountService_SendTx_Handler,
		},
		{
			MethodName: "getTxByAddress",
			Handler:    _WalletAccountService_GetTxByAddress_Handler,
		},
		{
			MethodName: "getTxByHash",
			Handler:    _WalletAccountService_GetTxByHash_Handler,
		},
		{
			MethodName: "getBlockByRange",
			Handler:    _WalletAccountService_GetBlockByRange_Handler,
		},
		{
			MethodName: "createUnSignTransaction",
			Handler:    _WalletAccountService_CreateUnSignTransaction_Handler,
		},
		{
			MethodName: "buildSignedTransaction",
			Handler:    _WalletAccountService_BuildSignedTransaction_Handler,
		},
		{
			MethodName: "decodeTransaction",
			Handler:    _WalletAccountService_DecodeTransaction_Handler,
		},
		{
			MethodName: "verifySignedTransaction",
			Handler:    _WalletAccountService_VerifySignedTransaction_Handler,
		},
		{
			MethodName: "getExtraData",
			Handler:    _WalletAccountService_GetExtraData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/account.proto",
}

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

Functions

func RegisterWalletAccountServiceServer

func RegisterWalletAccountServiceServer(s grpc.ServiceRegistrar, srv WalletAccountServiceServer)

Types

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"`
	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 (*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) GetContractAddress

func (x *AccountRequest) GetContractAddress() string

func (*AccountRequest) GetNetwork

func (x *AccountRequest) GetNetwork() string

func (*AccountRequest) GetProposerKeyIndex

func (x *AccountRequest) GetProposerKeyIndex() uint64

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=proto.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"`
	Balance       string            `protobuf:"bytes,6,opt,name=balance,proto3" json:"balance,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) GetBalance

func (x *AccountResponse) GetBalance() 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 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 BlockByRangeRequest

type BlockByRangeRequest struct {
	Chain   string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Start   string `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	End     string `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockByRangeRequest) Descriptor deprecated

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

Deprecated: Use BlockByRangeRequest.ProtoReflect.Descriptor instead.

func (*BlockByRangeRequest) GetChain

func (x *BlockByRangeRequest) GetChain() string

func (*BlockByRangeRequest) GetEnd

func (x *BlockByRangeRequest) GetEnd() string

func (*BlockByRangeRequest) GetNetwork

func (x *BlockByRangeRequest) GetNetwork() string

func (*BlockByRangeRequest) GetStart

func (x *BlockByRangeRequest) GetStart() string

func (*BlockByRangeRequest) ProtoMessage

func (*BlockByRangeRequest) ProtoMessage()

func (*BlockByRangeRequest) ProtoReflect

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

func (*BlockByRangeRequest) Reset

func (x *BlockByRangeRequest) Reset()

func (*BlockByRangeRequest) String

func (x *BlockByRangeRequest) String() string

type BlockByRangeResponse

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

func (*BlockByRangeResponse) Descriptor deprecated

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

Deprecated: Use BlockByRangeResponse.ProtoReflect.Descriptor instead.

func (*BlockByRangeResponse) GetBlocks

func (x *BlockByRangeResponse) GetBlocks() []*BlockData

func (*BlockByRangeResponse) GetCode

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

func (*BlockByRangeResponse) GetMsg

func (x *BlockByRangeResponse) GetMsg() string

func (*BlockByRangeResponse) ProtoMessage

func (*BlockByRangeResponse) ProtoMessage()

func (*BlockByRangeResponse) ProtoReflect

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

func (*BlockByRangeResponse) Reset

func (x *BlockByRangeResponse) Reset()

func (*BlockByRangeResponse) String

func (x *BlockByRangeResponse) String() string

type BlockData

type BlockData struct {
	Hash         string       `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	BaseFee      string       `protobuf:"bytes,2,opt,name=baseFee,proto3" json:"baseFee,omitempty"`
	Transactions []*TxMessage `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockData) Descriptor deprecated

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

Deprecated: Use BlockData.ProtoReflect.Descriptor instead.

func (*BlockData) GetBaseFee

func (x *BlockData) GetBaseFee() string

func (*BlockData) GetHash

func (x *BlockData) GetHash() string

func (*BlockData) GetTransactions

func (x *BlockData) GetTransactions() []*TxMessage

func (*BlockData) ProtoMessage

func (*BlockData) ProtoMessage()

func (*BlockData) ProtoReflect

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

func (*BlockData) Reset

func (x *BlockData) Reset()

func (*BlockData) String

func (x *BlockData) String() string

type BlockHashRequest

type BlockHashRequest 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"`
	Hash          string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	ViewTx        bool   `protobuf:"varint,4,opt,name=view_tx,json=viewTx,proto3" json:"view_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHashRequest) Descriptor deprecated

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

Deprecated: Use BlockHashRequest.ProtoReflect.Descriptor instead.

func (*BlockHashRequest) GetChain

func (x *BlockHashRequest) GetChain() string

func (*BlockHashRequest) GetConsumerToken

func (x *BlockHashRequest) GetConsumerToken() string

func (*BlockHashRequest) GetHash

func (x *BlockHashRequest) GetHash() string

func (*BlockHashRequest) GetViewTx

func (x *BlockHashRequest) GetViewTx() bool

func (*BlockHashRequest) ProtoMessage

func (*BlockHashRequest) ProtoMessage()

func (*BlockHashRequest) ProtoReflect

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

func (*BlockHashRequest) Reset

func (x *BlockHashRequest) Reset()

func (*BlockHashRequest) String

func (x *BlockHashRequest) String() string

type BlockHeader

type BlockHeader struct {
	ParentHash       string `protobuf:"bytes,3,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	UncleHash        string `protobuf:"bytes,4,opt,name=uncle_hash,json=uncleHash,proto3" json:"uncle_hash,omitempty"`
	CoinBase         string `protobuf:"bytes,5,opt,name=coin_base,json=coinBase,proto3" json:"coin_base,omitempty"`
	Root             string `protobuf:"bytes,6,opt,name=root,proto3" json:"root,omitempty"`
	TxHash           string `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	ReceiptHash      string `protobuf:"bytes,8,opt,name=receipt_hash,json=receiptHash,proto3" json:"receipt_hash,omitempty"`
	ParentBeaconRoot string `protobuf:"bytes,9,opt,name=parent_beacon_root,json=parentBeaconRoot,proto3" json:"parent_beacon_root,omitempty"`
	Difficulty       string `protobuf:"bytes,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	Number           string `protobuf:"bytes,11,opt,name=number,proto3" json:"number,omitempty"`
	GasLimit         uint64 `protobuf:"varint,12,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed          uint64 `protobuf:"varint,13,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Time             uint64 `protobuf:"varint,14,opt,name=time,proto3" json:"time,omitempty"`
	Extra            string `protobuf:"bytes,15,opt,name=extra,proto3" json:"extra,omitempty"`
	MixDigest        string `protobuf:"bytes,16,opt,name=mix_digest,json=mixDigest,proto3" json:"mix_digest,omitempty"`
	Nonce            string `protobuf:"bytes,17,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BaseFee          string `protobuf:"bytes,18,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	WithdrawalsHash  string `protobuf:"bytes,19,opt,name=withdrawals_hash,json=withdrawalsHash,proto3" json:"withdrawals_hash,omitempty"`
	BlobGasUsed      uint64 `protobuf:"varint,20,opt,name=blob_gas_used,json=blobGasUsed,proto3" json:"blob_gas_used,omitempty"`
	ExcessBlobGas    uint64 `protobuf:"varint,21,opt,name=excess_blob_gas,json=excessBlobGas,proto3" json:"excess_blob_gas,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeader) Descriptor deprecated

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

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetBaseFee

func (x *BlockHeader) GetBaseFee() string

func (*BlockHeader) GetBlobGasUsed

func (x *BlockHeader) GetBlobGasUsed() uint64

func (*BlockHeader) GetCoinBase

func (x *BlockHeader) GetCoinBase() string

func (*BlockHeader) GetDifficulty

func (x *BlockHeader) GetDifficulty() string

func (*BlockHeader) GetExcessBlobGas

func (x *BlockHeader) GetExcessBlobGas() uint64

func (*BlockHeader) GetExtra

func (x *BlockHeader) GetExtra() string

func (*BlockHeader) GetGasLimit

func (x *BlockHeader) GetGasLimit() uint64

func (*BlockHeader) GetGasUsed

func (x *BlockHeader) GetGasUsed() uint64

func (*BlockHeader) GetMixDigest

func (x *BlockHeader) GetMixDigest() string

func (*BlockHeader) GetNonce

func (x *BlockHeader) GetNonce() string

func (*BlockHeader) GetNumber

func (x *BlockHeader) GetNumber() string

func (*BlockHeader) GetParentBeaconRoot

func (x *BlockHeader) GetParentBeaconRoot() string

func (*BlockHeader) GetParentHash

func (x *BlockHeader) GetParentHash() string

func (*BlockHeader) GetReceiptHash

func (x *BlockHeader) GetReceiptHash() string

func (*BlockHeader) GetRoot

func (x *BlockHeader) GetRoot() string

func (*BlockHeader) GetTime

func (x *BlockHeader) GetTime() uint64

func (*BlockHeader) GetTxHash

func (x *BlockHeader) GetTxHash() string

func (*BlockHeader) GetUncleHash

func (x *BlockHeader) GetUncleHash() string

func (*BlockHeader) GetWithdrawalsHash

func (x *BlockHeader) GetWithdrawalsHash() string

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

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

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockHeaderHashRequest

type BlockHeaderHashRequest struct {
	Chain   string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Hash    string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Status  string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeaderHashRequest) Descriptor deprecated

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

Deprecated: Use BlockHeaderHashRequest.ProtoReflect.Descriptor instead.

func (*BlockHeaderHashRequest) GetChain

func (x *BlockHeaderHashRequest) GetChain() string

func (*BlockHeaderHashRequest) GetHash

func (x *BlockHeaderHashRequest) GetHash() string

func (*BlockHeaderHashRequest) GetNetwork

func (x *BlockHeaderHashRequest) GetNetwork() string

func (*BlockHeaderHashRequest) GetStatus

func (x *BlockHeaderHashRequest) GetStatus() string

func (*BlockHeaderHashRequest) ProtoMessage

func (*BlockHeaderHashRequest) ProtoMessage()

func (*BlockHeaderHashRequest) ProtoReflect

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

func (*BlockHeaderHashRequest) Reset

func (x *BlockHeaderHashRequest) Reset()

func (*BlockHeaderHashRequest) String

func (x *BlockHeaderHashRequest) String() string

type BlockHeaderNumberRequest

type BlockHeaderNumberRequest struct {
	Chain  string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Height int64  `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeaderNumberRequest) Descriptor deprecated

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

Deprecated: Use BlockHeaderNumberRequest.ProtoReflect.Descriptor instead.

func (*BlockHeaderNumberRequest) GetChain

func (x *BlockHeaderNumberRequest) GetChain() string

func (*BlockHeaderNumberRequest) GetHeight

func (x *BlockHeaderNumberRequest) GetHeight() int64

func (*BlockHeaderNumberRequest) GetStatus

func (x *BlockHeaderNumberRequest) GetStatus() string

func (*BlockHeaderNumberRequest) ProtoMessage

func (*BlockHeaderNumberRequest) ProtoMessage()

func (*BlockHeaderNumberRequest) ProtoReflect

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

func (*BlockHeaderNumberRequest) Reset

func (x *BlockHeaderNumberRequest) Reset()

func (*BlockHeaderNumberRequest) String

func (x *BlockHeaderNumberRequest) String() string

type BlockHeaderResponse

type BlockHeaderResponse struct {
	Code             common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.ReturnCode" json:"code,omitempty"`
	Msg              string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	ParentHash       string            `protobuf:"bytes,3,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	UncleHash        string            `protobuf:"bytes,4,opt,name=uncle_hash,json=uncleHash,proto3" json:"uncle_hash,omitempty"`
	CoinBase         string            `protobuf:"bytes,5,opt,name=coin_base,json=coinBase,proto3" json:"coin_base,omitempty"`
	Root             string            `protobuf:"bytes,6,opt,name=root,proto3" json:"root,omitempty"`
	TxHash           string            `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	ReceiptHash      string            `protobuf:"bytes,8,opt,name=receipt_hash,json=receiptHash,proto3" json:"receipt_hash,omitempty"`
	ParentBeaconRoot string            `protobuf:"bytes,9,opt,name=parent_beacon_root,json=parentBeaconRoot,proto3" json:"parent_beacon_root,omitempty"`
	Difficulty       string            `protobuf:"bytes,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	Number           string            `protobuf:"bytes,11,opt,name=number,proto3" json:"number,omitempty"`
	GasLimit         uint64            `protobuf:"varint,12,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed          uint64            `protobuf:"varint,13,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Time             uint64            `protobuf:"varint,14,opt,name=time,proto3" json:"time,omitempty"`
	Extra            string            `protobuf:"bytes,15,opt,name=extra,proto3" json:"extra,omitempty"`
	MixDigest        string            `protobuf:"bytes,16,opt,name=mix_digest,json=mixDigest,proto3" json:"mix_digest,omitempty"`
	Nonce            string            `protobuf:"bytes,17,opt,name=nonce,proto3" json:"nonce,omitempty"`
	BaseFee          string            `protobuf:"bytes,18,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	WithdrawalsHash  string            `protobuf:"bytes,19,opt,name=withdrawals_hash,json=withdrawalsHash,proto3" json:"withdrawals_hash,omitempty"`
	BlobGasUsed      uint64            `protobuf:"varint,20,opt,name=blob_gas_used,json=blobGasUsed,proto3" json:"blob_gas_used,omitempty"`
	ExcessBlobGas    uint64            `protobuf:"varint,21,opt,name=excess_blob_gas,json=excessBlobGas,proto3" json:"excess_blob_gas,omitempty"`
	BlockHeader      *BlockHeader      `protobuf:"bytes,22,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeaderResponse) Descriptor deprecated

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

Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead.

func (*BlockHeaderResponse) GetBaseFee

func (x *BlockHeaderResponse) GetBaseFee() string

func (*BlockHeaderResponse) GetBlobGasUsed

func (x *BlockHeaderResponse) GetBlobGasUsed() uint64

func (*BlockHeaderResponse) GetBlockHeader

func (x *BlockHeaderResponse) GetBlockHeader() *BlockHeader

func (*BlockHeaderResponse) GetCode

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

func (*BlockHeaderResponse) GetCoinBase

func (x *BlockHeaderResponse) GetCoinBase() string

func (*BlockHeaderResponse) GetDifficulty

func (x *BlockHeaderResponse) GetDifficulty() string

func (*BlockHeaderResponse) GetExcessBlobGas

func (x *BlockHeaderResponse) GetExcessBlobGas() uint64

func (*BlockHeaderResponse) GetExtra

func (x *BlockHeaderResponse) GetExtra() string

func (*BlockHeaderResponse) GetGasLimit

func (x *BlockHeaderResponse) GetGasLimit() uint64

func (*BlockHeaderResponse) GetGasUsed

func (x *BlockHeaderResponse) GetGasUsed() uint64

func (*BlockHeaderResponse) GetMixDigest

func (x *BlockHeaderResponse) GetMixDigest() string

func (*BlockHeaderResponse) GetMsg

func (x *BlockHeaderResponse) GetMsg() string

func (*BlockHeaderResponse) GetNonce

func (x *BlockHeaderResponse) GetNonce() string

func (*BlockHeaderResponse) GetNumber

func (x *BlockHeaderResponse) GetNumber() string

func (*BlockHeaderResponse) GetParentBeaconRoot

func (x *BlockHeaderResponse) GetParentBeaconRoot() string

func (*BlockHeaderResponse) GetParentHash

func (x *BlockHeaderResponse) GetParentHash() string

func (*BlockHeaderResponse) GetReceiptHash

func (x *BlockHeaderResponse) GetReceiptHash() string

func (*BlockHeaderResponse) GetRoot

func (x *BlockHeaderResponse) GetRoot() string

func (*BlockHeaderResponse) GetTime

func (x *BlockHeaderResponse) GetTime() uint64

func (*BlockHeaderResponse) GetTxHash

func (x *BlockHeaderResponse) GetTxHash() string

func (*BlockHeaderResponse) GetUncleHash

func (x *BlockHeaderResponse) GetUncleHash() string

func (*BlockHeaderResponse) GetWithdrawalsHash

func (x *BlockHeaderResponse) GetWithdrawalsHash() string

func (*BlockHeaderResponse) ProtoMessage

func (*BlockHeaderResponse) ProtoMessage()

func (*BlockHeaderResponse) ProtoReflect

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

func (*BlockHeaderResponse) Reset

func (x *BlockHeaderResponse) Reset()

func (*BlockHeaderResponse) String

func (x *BlockHeaderResponse) String() string

type BlockInfoTransactionList

type BlockInfoTransactionList struct {
	From   string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To     string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Hash   string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Time   string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Fee    string `protobuf:"bytes,6,opt,name=fee,proto3" json:"fee,omitempty"`
	Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockInfoTransactionList) Descriptor deprecated

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

Deprecated: Use BlockInfoTransactionList.ProtoReflect.Descriptor instead.

func (*BlockInfoTransactionList) GetAmount

func (x *BlockInfoTransactionList) GetAmount() string

func (*BlockInfoTransactionList) GetFee

func (x *BlockInfoTransactionList) GetFee() string

func (*BlockInfoTransactionList) GetFrom

func (x *BlockInfoTransactionList) GetFrom() string

func (*BlockInfoTransactionList) GetHash

func (x *BlockInfoTransactionList) GetHash() string

func (*BlockInfoTransactionList) GetStatus

func (x *BlockInfoTransactionList) GetStatus() string

func (*BlockInfoTransactionList) GetTime

func (x *BlockInfoTransactionList) GetTime() string

func (*BlockInfoTransactionList) GetTo

func (x *BlockInfoTransactionList) GetTo() string

func (*BlockInfoTransactionList) ProtoMessage

func (*BlockInfoTransactionList) ProtoMessage()

func (*BlockInfoTransactionList) ProtoReflect

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

func (*BlockInfoTransactionList) Reset

func (x *BlockInfoTransactionList) Reset()

func (*BlockInfoTransactionList) String

func (x *BlockInfoTransactionList) String() string

type BlockNumberRequest

type BlockNumberRequest 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"`
	Height        int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	ViewTx        bool   `protobuf:"varint,4,opt,name=view_tx,json=viewTx,proto3" json:"view_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockNumberRequest) Descriptor deprecated

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

Deprecated: Use BlockNumberRequest.ProtoReflect.Descriptor instead.

func (*BlockNumberRequest) GetChain

func (x *BlockNumberRequest) GetChain() string

func (*BlockNumberRequest) GetConsumerToken

func (x *BlockNumberRequest) GetConsumerToken() string

func (*BlockNumberRequest) GetHeight

func (x *BlockNumberRequest) GetHeight() int64

func (*BlockNumberRequest) GetViewTx

func (x *BlockNumberRequest) GetViewTx() bool

func (*BlockNumberRequest) ProtoMessage

func (*BlockNumberRequest) ProtoMessage()

func (*BlockNumberRequest) ProtoReflect

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

func (*BlockNumberRequest) Reset

func (x *BlockNumberRequest) Reset()

func (*BlockNumberRequest) String

func (x *BlockNumberRequest) String() string

type BlockResponse

type BlockResponse struct {
	Code         common.ReturnCode           `protobuf:"varint,1,opt,name=code,proto3,enum=proto.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"`
	BaseFee      string                      `protobuf:"bytes,5,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	Transactions []*BlockInfoTransactionList `protobuf:"bytes,6,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockResponse) Descriptor deprecated

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

Deprecated: Use BlockResponse.ProtoReflect.Descriptor instead.

func (*BlockResponse) GetBaseFee

func (x *BlockResponse) GetBaseFee() string

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) GetTransactions

func (x *BlockResponse) GetTransactions() []*BlockInfoTransactionList

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=proto.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 DecodeTransactionRequest

type DecodeTransactionRequest struct {
	Chain   string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	RawTx   string `protobuf:"bytes,3,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeTransactionRequest) Descriptor deprecated

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

Deprecated: Use DecodeTransactionRequest.ProtoReflect.Descriptor instead.

func (*DecodeTransactionRequest) GetChain

func (x *DecodeTransactionRequest) GetChain() string

func (*DecodeTransactionRequest) GetNetwork

func (x *DecodeTransactionRequest) GetNetwork() string

func (*DecodeTransactionRequest) GetRawTx

func (x *DecodeTransactionRequest) GetRawTx() string

func (*DecodeTransactionRequest) ProtoMessage

func (*DecodeTransactionRequest) ProtoMessage()

func (*DecodeTransactionRequest) ProtoReflect

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

func (*DecodeTransactionRequest) Reset

func (x *DecodeTransactionRequest) Reset()

func (*DecodeTransactionRequest) String

func (x *DecodeTransactionRequest) String() string

type DecodeTransactionResponse

type DecodeTransactionResponse struct {
	Code     common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.ReturnCode" json:"code,omitempty"`
	Msg      string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Base64Tx string            `protobuf:"bytes,3,opt,name=base64_tx,json=base64Tx,proto3" json:"base64_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeTransactionResponse) Descriptor deprecated

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

Deprecated: Use DecodeTransactionResponse.ProtoReflect.Descriptor instead.

func (*DecodeTransactionResponse) GetBase64Tx

func (x *DecodeTransactionResponse) GetBase64Tx() string

func (*DecodeTransactionResponse) GetCode

func (*DecodeTransactionResponse) GetMsg

func (x *DecodeTransactionResponse) GetMsg() string

func (*DecodeTransactionResponse) ProtoMessage

func (*DecodeTransactionResponse) ProtoMessage()

func (*DecodeTransactionResponse) ProtoReflect

func (*DecodeTransactionResponse) Reset

func (x *DecodeTransactionResponse) Reset()

func (*DecodeTransactionResponse) String

func (x *DecodeTransactionResponse) String() string

type ExtraDataRequest

type ExtraDataRequest 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"`
	Address       string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Coin          string `protobuf:"bytes,5,opt,name=coin,proto3" json:"coin,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtraDataRequest) Descriptor deprecated

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

Deprecated: Use ExtraDataRequest.ProtoReflect.Descriptor instead.

func (*ExtraDataRequest) GetAddress

func (x *ExtraDataRequest) GetAddress() string

func (*ExtraDataRequest) GetChain

func (x *ExtraDataRequest) GetChain() string

func (*ExtraDataRequest) GetCoin

func (x *ExtraDataRequest) GetCoin() string

func (*ExtraDataRequest) GetConsumerToken

func (x *ExtraDataRequest) GetConsumerToken() string

func (*ExtraDataRequest) GetNetwork

func (x *ExtraDataRequest) GetNetwork() string

func (*ExtraDataRequest) ProtoMessage

func (*ExtraDataRequest) ProtoMessage()

func (*ExtraDataRequest) ProtoReflect

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

func (*ExtraDataRequest) Reset

func (x *ExtraDataRequest) Reset()

func (*ExtraDataRequest) String

func (x *ExtraDataRequest) String() string

type ExtraDataResponse

type ExtraDataResponse struct {
	Code  common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.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 (*ExtraDataResponse) Descriptor deprecated

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

Deprecated: Use ExtraDataResponse.ProtoReflect.Descriptor instead.

func (*ExtraDataResponse) GetCode

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

func (*ExtraDataResponse) GetMsg

func (x *ExtraDataResponse) GetMsg() string

func (*ExtraDataResponse) GetValue

func (x *ExtraDataResponse) GetValue() string

func (*ExtraDataResponse) ProtoMessage

func (*ExtraDataResponse) ProtoMessage()

func (*ExtraDataResponse) ProtoReflect

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

func (*ExtraDataResponse) Reset

func (x *ExtraDataResponse) Reset()

func (*ExtraDataResponse) String

func (x *ExtraDataResponse) String() string

type FeeRequest

type FeeRequest 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=rawTx,proto3" json:"rawTx,omitempty"`
	Address       string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*FeeRequest) Descriptor deprecated

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

Deprecated: Use FeeRequest.ProtoReflect.Descriptor instead.

func (*FeeRequest) GetAddress

func (x *FeeRequest) GetAddress() string

func (*FeeRequest) GetChain

func (x *FeeRequest) GetChain() string

func (*FeeRequest) GetCoin

func (x *FeeRequest) GetCoin() string

func (*FeeRequest) GetConsumerToken

func (x *FeeRequest) GetConsumerToken() string

func (*FeeRequest) GetNetwork

func (x *FeeRequest) GetNetwork() string

func (*FeeRequest) GetRawTx

func (x *FeeRequest) GetRawTx() string

func (*FeeRequest) ProtoMessage

func (*FeeRequest) ProtoMessage()

func (*FeeRequest) ProtoReflect

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

func (*FeeRequest) Reset

func (x *FeeRequest) Reset()

func (*FeeRequest) String

func (x *FeeRequest) String() string

type FeeResponse

type FeeResponse struct {
	Code      common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.ReturnCode" json:"code,omitempty"`
	Msg       string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	SlowFee   string            `protobuf:"bytes,3,opt,name=slow_fee,json=slowFee,proto3" json:"slow_fee,omitempty"`
	NormalFee string            `protobuf:"bytes,4,opt,name=normal_fee,json=normalFee,proto3" json:"normal_fee,omitempty"`
	FastFee   string            `protobuf:"bytes,5,opt,name=fast_fee,json=fastFee,proto3" json:"fast_fee,omitempty"`
	// contains filtered or unexported fields
}

func (*FeeResponse) Descriptor deprecated

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

Deprecated: Use FeeResponse.ProtoReflect.Descriptor instead.

func (*FeeResponse) GetCode

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

func (*FeeResponse) GetFastFee

func (x *FeeResponse) GetFastFee() string

func (*FeeResponse) GetMsg

func (x *FeeResponse) GetMsg() string

func (*FeeResponse) GetNormalFee

func (x *FeeResponse) GetNormalFee() string

func (*FeeResponse) GetSlowFee

func (x *FeeResponse) GetSlowFee() string

func (*FeeResponse) ProtoMessage

func (*FeeResponse) ProtoMessage()

func (*FeeResponse) ProtoReflect

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

func (*FeeResponse) Reset

func (x *FeeResponse) Reset()

func (*FeeResponse) String

func (x *FeeResponse) String() string

type Log

type Log struct {
	Address     string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Topics      []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	Data        string   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	BlockNumber string   `protobuf:"bytes,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	TxHash      string   `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	TxIndex     uint64   `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	BlockHash   string   `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Index       uint64   `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
	Removed     bool     `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAddress

func (x *Log) GetAddress() string

func (*Log) GetBlockHash

func (x *Log) GetBlockHash() string

func (*Log) GetBlockNumber

func (x *Log) GetBlockNumber() string

func (*Log) GetData

func (x *Log) GetData() string

func (*Log) GetIndex

func (x *Log) GetIndex() uint64

func (*Log) GetRemoved

func (x *Log) GetRemoved() bool

func (*Log) GetTopics

func (x *Log) GetTopics() []string

func (*Log) GetTxHash

func (x *Log) GetTxHash() string

func (*Log) GetTxIndex

func (x *Log) GetTxIndex() uint64

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) 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=proto.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 SignedTransactionRequest

type SignedTransactionRequest struct {
	Chain     string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Network   string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Base64Tx  string `protobuf:"bytes,3,opt,name=base64_tx,json=base64Tx,proto3" json:"base64_tx,omitempty"`
	Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTransactionRequest) Descriptor deprecated

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

Deprecated: Use SignedTransactionRequest.ProtoReflect.Descriptor instead.

func (*SignedTransactionRequest) GetBase64Tx

func (x *SignedTransactionRequest) GetBase64Tx() string

func (*SignedTransactionRequest) GetChain

func (x *SignedTransactionRequest) GetChain() string

func (*SignedTransactionRequest) GetNetwork

func (x *SignedTransactionRequest) GetNetwork() string

func (*SignedTransactionRequest) GetSignature

func (x *SignedTransactionRequest) GetSignature() string

func (*SignedTransactionRequest) ProtoMessage

func (*SignedTransactionRequest) ProtoMessage()

func (*SignedTransactionRequest) ProtoReflect

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

func (*SignedTransactionRequest) Reset

func (x *SignedTransactionRequest) Reset()

func (*SignedTransactionRequest) String

func (x *SignedTransactionRequest) String() string

type SignedTransactionResponse

type SignedTransactionResponse struct {
	Code     common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.ReturnCode" json:"code,omitempty"`
	Msg      string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	SignedTx string            `protobuf:"bytes,3,opt,name=signed_tx,json=signedTx,proto3" json:"signed_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTransactionResponse) Descriptor deprecated

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

Deprecated: Use SignedTransactionResponse.ProtoReflect.Descriptor instead.

func (*SignedTransactionResponse) GetCode

func (*SignedTransactionResponse) GetMsg

func (x *SignedTransactionResponse) GetMsg() string

func (*SignedTransactionResponse) GetSignedTx

func (x *SignedTransactionResponse) GetSignedTx() string

func (*SignedTransactionResponse) ProtoMessage

func (*SignedTransactionResponse) ProtoMessage()

func (*SignedTransactionResponse) ProtoReflect

func (*SignedTransactionResponse) Reset

func (x *SignedTransactionResponse) Reset()

func (*SignedTransactionResponse) String

func (x *SignedTransactionResponse) String() string

type SupportChainsRequest

type SupportChainsRequest 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 (*SupportChainsRequest) Descriptor deprecated

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

Deprecated: Use SupportChainsRequest.ProtoReflect.Descriptor instead.

func (*SupportChainsRequest) GetChain

func (x *SupportChainsRequest) GetChain() string

func (*SupportChainsRequest) GetConsumerToken

func (x *SupportChainsRequest) GetConsumerToken() string

func (*SupportChainsRequest) GetNetwork

func (x *SupportChainsRequest) GetNetwork() string

func (*SupportChainsRequest) ProtoMessage

func (*SupportChainsRequest) ProtoMessage()

func (*SupportChainsRequest) ProtoReflect

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

func (*SupportChainsRequest) Reset

func (x *SupportChainsRequest) Reset()

func (*SupportChainsRequest) String

func (x *SupportChainsRequest) String() string

type SupportChainsResponse

type SupportChainsResponse struct {
	Code    common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.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 (*SupportChainsResponse) Descriptor deprecated

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

Deprecated: Use SupportChainsResponse.ProtoReflect.Descriptor instead.

func (*SupportChainsResponse) GetCode

func (*SupportChainsResponse) GetMsg

func (x *SupportChainsResponse) GetMsg() string

func (*SupportChainsResponse) GetSupport

func (x *SupportChainsResponse) GetSupport() bool

func (*SupportChainsResponse) ProtoMessage

func (*SupportChainsResponse) ProtoMessage()

func (*SupportChainsResponse) ProtoReflect

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

func (*SupportChainsResponse) Reset

func (x *SupportChainsResponse) Reset()

func (*SupportChainsResponse) String

func (x *SupportChainsResponse) 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=proto.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"`
	// 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) 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 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=proto.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=proto.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 UnSignTransactionRequest

type UnSignTransactionRequest struct {
	Chain    string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Network  string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Base64Tx string `protobuf:"bytes,3,opt,name=base64_tx,json=base64Tx,proto3" json:"base64_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*UnSignTransactionRequest) Descriptor deprecated

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

Deprecated: Use UnSignTransactionRequest.ProtoReflect.Descriptor instead.

func (*UnSignTransactionRequest) GetBase64Tx

func (x *UnSignTransactionRequest) GetBase64Tx() string

func (*UnSignTransactionRequest) GetChain

func (x *UnSignTransactionRequest) GetChain() string

func (*UnSignTransactionRequest) GetNetwork

func (x *UnSignTransactionRequest) GetNetwork() string

func (*UnSignTransactionRequest) ProtoMessage

func (*UnSignTransactionRequest) ProtoMessage()

func (*UnSignTransactionRequest) ProtoReflect

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

func (*UnSignTransactionRequest) Reset

func (x *UnSignTransactionRequest) Reset()

func (*UnSignTransactionRequest) String

func (x *UnSignTransactionRequest) String() string

type UnSignTransactionResponse

type UnSignTransactionResponse struct {
	Code     common.ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.ReturnCode" json:"code,omitempty"`
	Msg      string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	UnSignTx string            `protobuf:"bytes,3,opt,name=un_sign_tx,json=unSignTx,proto3" json:"un_sign_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*UnSignTransactionResponse) Descriptor deprecated

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

Deprecated: Use UnSignTransactionResponse.ProtoReflect.Descriptor instead.

func (*UnSignTransactionResponse) GetCode

func (*UnSignTransactionResponse) GetMsg

func (x *UnSignTransactionResponse) GetMsg() string

func (*UnSignTransactionResponse) GetUnSignTx

func (x *UnSignTransactionResponse) GetUnSignTx() string

func (*UnSignTransactionResponse) ProtoMessage

func (*UnSignTransactionResponse) ProtoMessage()

func (*UnSignTransactionResponse) ProtoReflect

func (*UnSignTransactionResponse) Reset

func (x *UnSignTransactionResponse) Reset()

func (*UnSignTransactionResponse) String

func (x *UnSignTransactionResponse) String() string

type UnimplementedWalletAccountServiceServer

type UnimplementedWalletAccountServiceServer struct{}

UnimplementedWalletAccountServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedWalletAccountServiceServer) BuildSignedTransaction

func (UnimplementedWalletAccountServiceServer) ConvertAddress

func (UnimplementedWalletAccountServiceServer) CreateUnSignTransaction

func (UnimplementedWalletAccountServiceServer) DecodeTransaction

func (UnimplementedWalletAccountServiceServer) GetAccount

func (UnimplementedWalletAccountServiceServer) GetBlockByHash

func (UnimplementedWalletAccountServiceServer) GetBlockByNumber

func (UnimplementedWalletAccountServiceServer) GetBlockByRange

func (UnimplementedWalletAccountServiceServer) GetBlockHeaderByHash

func (UnimplementedWalletAccountServiceServer) GetBlockHeaderByNumber

func (UnimplementedWalletAccountServiceServer) GetExtraData

func (UnimplementedWalletAccountServiceServer) GetFee

func (UnimplementedWalletAccountServiceServer) GetSupportChains

func (UnimplementedWalletAccountServiceServer) GetTxByAddress

func (UnimplementedWalletAccountServiceServer) GetTxByHash

func (UnimplementedWalletAccountServiceServer) SendTx

func (UnimplementedWalletAccountServiceServer) ValidAddress

func (UnimplementedWalletAccountServiceServer) VerifySignedTransaction

type UnsafeWalletAccountServiceServer

type UnsafeWalletAccountServiceServer interface {
	// contains filtered or unexported methods
}

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

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=proto.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 VerifyTransactionRequest

type VerifyTransactionRequest struct {
	Chain     string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Network   string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTransactionRequest) Descriptor deprecated

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

Deprecated: Use VerifyTransactionRequest.ProtoReflect.Descriptor instead.

func (*VerifyTransactionRequest) GetChain

func (x *VerifyTransactionRequest) GetChain() string

func (*VerifyTransactionRequest) GetNetwork

func (x *VerifyTransactionRequest) GetNetwork() string

func (*VerifyTransactionRequest) GetPublicKey

func (x *VerifyTransactionRequest) GetPublicKey() string

func (*VerifyTransactionRequest) GetSignature

func (x *VerifyTransactionRequest) GetSignature() string

func (*VerifyTransactionRequest) ProtoMessage

func (*VerifyTransactionRequest) ProtoMessage()

func (*VerifyTransactionRequest) ProtoReflect

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

func (*VerifyTransactionRequest) Reset

func (x *VerifyTransactionRequest) Reset()

func (*VerifyTransactionRequest) String

func (x *VerifyTransactionRequest) String() string

type VerifyTransactionResponse

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

func (*VerifyTransactionResponse) Descriptor deprecated

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

Deprecated: Use VerifyTransactionResponse.ProtoReflect.Descriptor instead.

func (*VerifyTransactionResponse) GetCode

func (*VerifyTransactionResponse) GetMsg

func (x *VerifyTransactionResponse) GetMsg() string

func (*VerifyTransactionResponse) GetVerify

func (x *VerifyTransactionResponse) GetVerify() bool

func (*VerifyTransactionResponse) ProtoMessage

func (*VerifyTransactionResponse) ProtoMessage()

func (*VerifyTransactionResponse) ProtoReflect

func (*VerifyTransactionResponse) Reset

func (x *VerifyTransactionResponse) Reset()

func (*VerifyTransactionResponse) String

func (x *VerifyTransactionResponse) String() string

type WalletAccountServiceClient

type WalletAccountServiceClient interface {
	GetSupportChains(ctx context.Context, in *SupportChainsRequest, opts ...grpc.CallOption) (*SupportChainsResponse, error)
	ConvertAddress(ctx context.Context, in *ConvertAddressRequest, opts ...grpc.CallOption) (*ConvertAddressResponse, error)
	ValidAddress(ctx context.Context, in *ValidAddressRequest, opts ...grpc.CallOption) (*ValidAddressResponse, error)
	GetBlockByNumber(ctx context.Context, in *BlockNumberRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	GetBlockByHash(ctx context.Context, in *BlockHashRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	GetBlockHeaderByHash(ctx context.Context, in *BlockHeaderHashRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error)
	GetBlockHeaderByNumber(ctx context.Context, in *BlockHeaderNumberRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error)
	GetAccount(ctx context.Context, in *AccountRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	GetFee(ctx context.Context, in *FeeRequest, opts ...grpc.CallOption) (*FeeResponse, 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)
	GetBlockByRange(ctx context.Context, in *BlockByRangeRequest, opts ...grpc.CallOption) (*BlockByRangeResponse, error)
	CreateUnSignTransaction(ctx context.Context, in *UnSignTransactionRequest, opts ...grpc.CallOption) (*UnSignTransactionResponse, error)
	BuildSignedTransaction(ctx context.Context, in *SignedTransactionRequest, opts ...grpc.CallOption) (*SignedTransactionResponse, error)
	DecodeTransaction(ctx context.Context, in *DecodeTransactionRequest, opts ...grpc.CallOption) (*DecodeTransactionResponse, error)
	VerifySignedTransaction(ctx context.Context, in *VerifyTransactionRequest, opts ...grpc.CallOption) (*VerifyTransactionResponse, error)
	GetExtraData(ctx context.Context, in *ExtraDataRequest, opts ...grpc.CallOption) (*ExtraDataResponse, error)
}

WalletAccountServiceClient is the client API for WalletAccountService 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 WalletAccountServiceServer

type WalletAccountServiceServer interface {
	GetSupportChains(context.Context, *SupportChainsRequest) (*SupportChainsResponse, error)
	ConvertAddress(context.Context, *ConvertAddressRequest) (*ConvertAddressResponse, error)
	ValidAddress(context.Context, *ValidAddressRequest) (*ValidAddressResponse, error)
	GetBlockByNumber(context.Context, *BlockNumberRequest) (*BlockResponse, error)
	GetBlockByHash(context.Context, *BlockHashRequest) (*BlockResponse, error)
	GetBlockHeaderByHash(context.Context, *BlockHeaderHashRequest) (*BlockHeaderResponse, error)
	GetBlockHeaderByNumber(context.Context, *BlockHeaderNumberRequest) (*BlockHeaderResponse, error)
	GetAccount(context.Context, *AccountRequest) (*AccountResponse, error)
	GetFee(context.Context, *FeeRequest) (*FeeResponse, error)
	SendTx(context.Context, *SendTxRequest) (*SendTxResponse, error)
	GetTxByAddress(context.Context, *TxAddressRequest) (*TxAddressResponse, error)
	GetTxByHash(context.Context, *TxHashRequest) (*TxHashResponse, error)
	GetBlockByRange(context.Context, *BlockByRangeRequest) (*BlockByRangeResponse, error)
	CreateUnSignTransaction(context.Context, *UnSignTransactionRequest) (*UnSignTransactionResponse, error)
	BuildSignedTransaction(context.Context, *SignedTransactionRequest) (*SignedTransactionResponse, error)
	DecodeTransaction(context.Context, *DecodeTransactionRequest) (*DecodeTransactionResponse, error)
	VerifySignedTransaction(context.Context, *VerifyTransactionRequest) (*VerifyTransactionResponse, error)
	GetExtraData(context.Context, *ExtraDataRequest) (*ExtraDataResponse, error)
}

WalletAccountServiceServer is the server API for WalletAccountService service. All implementations should embed UnimplementedWalletAccountServiceServer for forward compatibility.

Jump to

Keyboard shortcuts

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