utxo

package
v0.0.0-...-505baef Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WalletUtxoService_GetSupportChains_FullMethodName        = "/dapplink.utxo.WalletUtxoService/getSupportChains"
	WalletUtxoService_ConvertAddress_FullMethodName          = "/dapplink.utxo.WalletUtxoService/convertAddress"
	WalletUtxoService_ValidAddress_FullMethodName            = "/dapplink.utxo.WalletUtxoService/validAddress"
	WalletUtxoService_GetFee_FullMethodName                  = "/dapplink.utxo.WalletUtxoService/getFee"
	WalletUtxoService_GetAccount_FullMethodName              = "/dapplink.utxo.WalletUtxoService/getAccount"
	WalletUtxoService_GetUnspentOutputs_FullMethodName       = "/dapplink.utxo.WalletUtxoService/getUnspentOutputs"
	WalletUtxoService_GetBlockByNumber_FullMethodName        = "/dapplink.utxo.WalletUtxoService/getBlockByNumber"
	WalletUtxoService_GetBlockByHash_FullMethodName          = "/dapplink.utxo.WalletUtxoService/getBlockByHash"
	WalletUtxoService_GetBlockHeaderByHash_FullMethodName    = "/dapplink.utxo.WalletUtxoService/getBlockHeaderByHash"
	WalletUtxoService_GetBlockHeaderByNumber_FullMethodName  = "/dapplink.utxo.WalletUtxoService/getBlockHeaderByNumber"
	WalletUtxoService_SendTx_FullMethodName                  = "/dapplink.utxo.WalletUtxoService/SendTx"
	WalletUtxoService_GetTxByAddress_FullMethodName          = "/dapplink.utxo.WalletUtxoService/getTxByAddress"
	WalletUtxoService_GetTxByHash_FullMethodName             = "/dapplink.utxo.WalletUtxoService/getTxByHash"
	WalletUtxoService_CreateUnSignTransaction_FullMethodName = "/dapplink.utxo.WalletUtxoService/createUnSignTransaction"
	WalletUtxoService_BuildSignedTransaction_FullMethodName  = "/dapplink.utxo.WalletUtxoService/buildSignedTransaction"
	WalletUtxoService_DecodeTransaction_FullMethodName       = "/dapplink.utxo.WalletUtxoService/decodeTransaction"
	WalletUtxoService_VerifySignedTransaction_FullMethodName = "/dapplink.utxo.WalletUtxoService/verifySignedTransaction"
)

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_dapplink_utxo_proto protoreflect.FileDescriptor
View Source
var WalletUtxoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dapplink.utxo.WalletUtxoService",
	HandlerType: (*WalletUtxoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getSupportChains",
			Handler:    _WalletUtxoService_GetSupportChains_Handler,
		},
		{
			MethodName: "convertAddress",
			Handler:    _WalletUtxoService_ConvertAddress_Handler,
		},
		{
			MethodName: "validAddress",
			Handler:    _WalletUtxoService_ValidAddress_Handler,
		},
		{
			MethodName: "getFee",
			Handler:    _WalletUtxoService_GetFee_Handler,
		},
		{
			MethodName: "getAccount",
			Handler:    _WalletUtxoService_GetAccount_Handler,
		},
		{
			MethodName: "getUnspentOutputs",
			Handler:    _WalletUtxoService_GetUnspentOutputs_Handler,
		},
		{
			MethodName: "getBlockByNumber",
			Handler:    _WalletUtxoService_GetBlockByNumber_Handler,
		},
		{
			MethodName: "getBlockByHash",
			Handler:    _WalletUtxoService_GetBlockByHash_Handler,
		},
		{
			MethodName: "getBlockHeaderByHash",
			Handler:    _WalletUtxoService_GetBlockHeaderByHash_Handler,
		},
		{
			MethodName: "getBlockHeaderByNumber",
			Handler:    _WalletUtxoService_GetBlockHeaderByNumber_Handler,
		},
		{
			MethodName: "SendTx",
			Handler:    _WalletUtxoService_SendTx_Handler,
		},
		{
			MethodName: "getTxByAddress",
			Handler:    _WalletUtxoService_GetTxByAddress_Handler,
		},
		{
			MethodName: "getTxByHash",
			Handler:    _WalletUtxoService_GetTxByHash_Handler,
		},
		{
			MethodName: "createUnSignTransaction",
			Handler:    _WalletUtxoService_CreateUnSignTransaction_Handler,
		},
		{
			MethodName: "buildSignedTransaction",
			Handler:    _WalletUtxoService_BuildSignedTransaction_Handler,
		},
		{
			MethodName: "decodeTransaction",
			Handler:    _WalletUtxoService_DecodeTransaction_Handler,
		},
		{
			MethodName: "verifySignedTransaction",
			Handler:    _WalletUtxoService_VerifySignedTransaction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dapplink/utxo.proto",
}

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

Functions

func RegisterWalletUtxoServiceServer

func RegisterWalletUtxoServiceServer(s grpc.ServiceRegistrar, srv WalletUtxoServiceServer)

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"`
	Network       string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Address       string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Brc20Address  string `protobuf:"bytes,5,opt,name=brc20_address,json=brc20Address,proto3" json:"brc20_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) GetBrc20Address

func (x *AccountRequest) GetBrc20Address() string

func (*AccountRequest) GetChain

func (x *AccountRequest) GetChain() 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=dapplink.ReturnCode" json:"code,omitempty"`
	Msg     string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Network string            `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Balance string            `protobuf:"bytes,4,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) 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) 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 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"`
	// 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) 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 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"`
	// 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) 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"`
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Height  int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,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) GetNetwork

func (x *BlockHeaderNumberRequest) GetNetwork() 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=dapplink.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"`
	BlockHash  string            `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	MerkleRoot string            `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	Number     string            `protobuf:"bytes,6,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeaderResponse) Descriptor deprecated

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

Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead.

func (*BlockHeaderResponse) GetBlockHash

func (x *BlockHeaderResponse) GetBlockHash() string

func (*BlockHeaderResponse) GetCode

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

func (*BlockHeaderResponse) GetMerkleRoot

func (x *BlockHeaderResponse) GetMerkleRoot() string

func (*BlockHeaderResponse) GetMsg

func (x *BlockHeaderResponse) GetMsg() string

func (*BlockHeaderResponse) GetNumber

func (x *BlockHeaderResponse) GetNumber() string

func (*BlockHeaderResponse) GetParentHash

func (x *BlockHeaderResponse) GetParentHash() 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 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"`
	// 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) 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=dapplink.ReturnCode" json:"code,omitempty"`
	Msg    string             `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Height uint64             `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Hash   string             `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	TxList []*TransactionList `protobuf:"bytes,5,rep,name=tx_list,json=txList,proto3" json:"tx_list,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() uint64

func (*BlockResponse) GetMsg

func (x *BlockResponse) GetMsg() string

func (*BlockResponse) GetTxList

func (x *BlockResponse) GetTxList() []*TransactionList

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"`
	Format        string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
	PublicKey     string `protobuf:"bytes,5,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) GetFormat

func (x *ConvertAddressRequest) GetFormat() string

func (*ConvertAddressRequest) GetNetwork

func (x *ConvertAddressRequest) GetNetwork() string

func (*ConvertAddressRequest) GetPublicKey

func (x *ConvertAddressRequest) GetPublicKey() string

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=dapplink.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"`
	RawData []byte `protobuf:"bytes,5,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	Vins    []*Vin `protobuf:"bytes,7,rep,name=vins,proto3" json:"vins,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) GetRawData

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

func (*DecodeTransactionRequest) GetVins

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

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=dapplink.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=dapplink.utxo.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 (*DecodeTransactionResponse) Descriptor deprecated

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

Deprecated: Use DecodeTransactionResponse.ProtoReflect.Descriptor instead.

func (*DecodeTransactionResponse) GetBlockHeight

func (x *DecodeTransactionResponse) GetBlockHeight() uint64

func (*DecodeTransactionResponse) GetBlockTime

func (x *DecodeTransactionResponse) GetBlockTime() uint64

func (*DecodeTransactionResponse) GetCode

func (*DecodeTransactionResponse) GetCostFee

func (x *DecodeTransactionResponse) GetCostFee() string

func (*DecodeTransactionResponse) GetMsg

func (x *DecodeTransactionResponse) GetMsg() string

func (*DecodeTransactionResponse) GetSignHashes

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

func (*DecodeTransactionResponse) GetStatus

func (x *DecodeTransactionResponse) GetStatus() TxStatus

func (*DecodeTransactionResponse) GetTxHash

func (x *DecodeTransactionResponse) GetTxHash() string

func (*DecodeTransactionResponse) GetVins

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

func (*DecodeTransactionResponse) GetVouts

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

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 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"`
	// contains filtered or unexported fields
}

func (*FeeRequest) Descriptor deprecated

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

Deprecated: Use FeeRequest.ProtoReflect.Descriptor instead.

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=dapplink.ReturnCode" json:"code,omitempty"`
	Msg        string            `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	BestFee    string            `protobuf:"bytes,3,opt,name=best_fee,json=bestFee,proto3" json:"best_fee,omitempty"`
	BestFeeSat string            `protobuf:"bytes,4,opt,name=best_fee_sat,json=bestFeeSat,proto3" json:"best_fee_sat,omitempty"`
	SlowFee    string            `protobuf:"bytes,5,opt,name=slow_fee,json=slowFee,proto3" json:"slow_fee,omitempty"`
	NormalFee  string            `protobuf:"bytes,6,opt,name=normal_fee,json=normalFee,proto3" json:"normal_fee,omitempty"`
	FastFee    string            `protobuf:"bytes,7,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) GetBestFee

func (x *FeeResponse) GetBestFee() string

func (*FeeResponse) GetBestFeeSat

func (x *FeeResponse) GetBestFeeSat() string

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 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=dapplink.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 {
	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"`
	TxData        []byte   `protobuf:"bytes,4,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	Signatures    [][]byte `protobuf:"bytes,5,rep,name=signatures,proto3" json:"signatures,omitempty"`
	PublicKeys    [][]byte `protobuf:"bytes,6,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTransactionRequest) Descriptor deprecated

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

Deprecated: Use SignedTransactionRequest.ProtoReflect.Descriptor instead.

func (*SignedTransactionRequest) GetChain

func (x *SignedTransactionRequest) GetChain() string

func (*SignedTransactionRequest) GetConsumerToken

func (x *SignedTransactionRequest) GetConsumerToken() string

func (*SignedTransactionRequest) GetNetwork

func (x *SignedTransactionRequest) GetNetwork() string

func (*SignedTransactionRequest) GetPublicKeys

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

func (*SignedTransactionRequest) GetSignatures

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

func (*SignedTransactionRequest) GetTxData

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

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=dapplink.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 (*SignedTransactionResponse) Descriptor deprecated

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

Deprecated: Use SignedTransactionResponse.ProtoReflect.Descriptor instead.

func (*SignedTransactionResponse) GetCode

func (*SignedTransactionResponse) GetHash

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

func (*SignedTransactionResponse) GetMsg

func (x *SignedTransactionResponse) GetMsg() string

func (*SignedTransactionResponse) GetSignedTxData

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

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=dapplink.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 TransactionList

type TransactionList struct {
	Hash string  `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Fee  string  `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	Vin  []*Vin  `protobuf:"bytes,3,rep,name=vin,proto3" json:"vin,omitempty"`
	Vout []*Vout `protobuf:"bytes,4,rep,name=vout,proto3" json:"vout,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionList) Descriptor deprecated

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

Deprecated: Use TransactionList.ProtoReflect.Descriptor instead.

func (*TransactionList) GetFee

func (x *TransactionList) GetFee() string

func (*TransactionList) GetHash

func (x *TransactionList) GetHash() string

func (*TransactionList) GetVin

func (x *TransactionList) GetVin() []*Vin

func (*TransactionList) GetVout

func (x *TransactionList) GetVout() []*Vout

func (*TransactionList) ProtoMessage

func (*TransactionList) ProtoMessage()

func (*TransactionList) ProtoReflect

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

func (*TransactionList) Reset

func (x *TransactionList) Reset()

func (*TransactionList) String

func (x *TransactionList) 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"`
	Brc20Address  string `protobuf:"bytes,6,opt,name=brc20_address,json=brc20Address,proto3" json:"brc20_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) GetBrc20Address

func (x *TxAddressRequest) GetBrc20Address() 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) 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=dapplink.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=dapplink.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=dapplink.utxo.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"`
	Brc20Address string     `protobuf:"bytes,10,opt,name=brc20_address,json=brc20Address,proto3" json:"brc20_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) GetBrc20Address

func (x *TxMessage) GetBrc20Address() 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 {
	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"`
	Fee           string  `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
	Vin           []*Vin  `protobuf:"bytes,5,rep,name=vin,proto3" json:"vin,omitempty"`
	Vout          []*Vout `protobuf:"bytes,6,rep,name=vout,proto3" json:"vout,omitempty"`
	// contains filtered or unexported fields
}

func (*UnSignTransactionRequest) Descriptor deprecated

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

Deprecated: Use UnSignTransactionRequest.ProtoReflect.Descriptor instead.

func (*UnSignTransactionRequest) GetChain

func (x *UnSignTransactionRequest) GetChain() string

func (*UnSignTransactionRequest) GetConsumerToken

func (x *UnSignTransactionRequest) GetConsumerToken() string

func (*UnSignTransactionRequest) GetFee

func (x *UnSignTransactionRequest) GetFee() string

func (*UnSignTransactionRequest) GetNetwork

func (x *UnSignTransactionRequest) GetNetwork() string

func (*UnSignTransactionRequest) GetVin

func (x *UnSignTransactionRequest) GetVin() []*Vin

func (*UnSignTransactionRequest) GetVout

func (x *UnSignTransactionRequest) GetVout() []*Vout

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=dapplink.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 (*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) GetSignHashes

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

func (*UnSignTransactionResponse) GetTxData

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

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 UnimplementedWalletUtxoServiceServer

type UnimplementedWalletUtxoServiceServer struct {
}

UnimplementedWalletUtxoServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedWalletUtxoServiceServer) BuildSignedTransaction

func (UnimplementedWalletUtxoServiceServer) ConvertAddress

func (UnimplementedWalletUtxoServiceServer) CreateUnSignTransaction

func (UnimplementedWalletUtxoServiceServer) DecodeTransaction

func (UnimplementedWalletUtxoServiceServer) GetAccount

func (UnimplementedWalletUtxoServiceServer) GetBlockByHash

func (UnimplementedWalletUtxoServiceServer) GetBlockByNumber

func (UnimplementedWalletUtxoServiceServer) GetBlockHeaderByHash

func (UnimplementedWalletUtxoServiceServer) GetBlockHeaderByNumber

func (UnimplementedWalletUtxoServiceServer) GetFee

func (UnimplementedWalletUtxoServiceServer) GetSupportChains

func (UnimplementedWalletUtxoServiceServer) GetTxByAddress

func (UnimplementedWalletUtxoServiceServer) GetTxByHash

func (UnimplementedWalletUtxoServiceServer) GetUnspentOutputs

func (UnimplementedWalletUtxoServiceServer) SendTx

func (UnimplementedWalletUtxoServiceServer) ValidAddress

func (UnimplementedWalletUtxoServiceServer) VerifySignedTransaction

type UnsafeWalletUtxoServiceServer

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

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

type UnspentOutput

type UnspentOutput struct {
	TxId            string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	TxHashBigEndian string `protobuf:"bytes,2,opt,name=tx_hash_big_endian,json=txHashBigEndian,proto3" json:"tx_hash_big_endian,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"`
	Height          string `protobuf:"bytes,5,opt,name=height,proto3" json:"height,omitempty"`
	BlockTime       string `protobuf:"bytes,6,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	Address         string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	UnspentAmount   string `protobuf:"bytes,8,opt,name=unspent_amount,json=unspentAmount,proto3" json:"unspent_amount,omitempty"`
	ValueHex        string `protobuf:"bytes,9,opt,name=value_hex,json=valueHex,proto3" json:"value_hex,omitempty"`
	Confirmations   uint64 `protobuf:"varint,10,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	Index           uint64 `protobuf:"varint,11,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*UnspentOutput) Descriptor deprecated

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

Deprecated: Use UnspentOutput.ProtoReflect.Descriptor instead.

func (*UnspentOutput) GetAddress

func (x *UnspentOutput) GetAddress() string

func (*UnspentOutput) GetBlockTime

func (x *UnspentOutput) GetBlockTime() string

func (*UnspentOutput) GetConfirmations

func (x *UnspentOutput) GetConfirmations() uint64

func (*UnspentOutput) GetHeight

func (x *UnspentOutput) GetHeight() string

func (*UnspentOutput) GetIndex

func (x *UnspentOutput) GetIndex() uint64

func (*UnspentOutput) GetScript

func (x *UnspentOutput) GetScript() string

func (*UnspentOutput) GetTxHashBigEndian

func (x *UnspentOutput) GetTxHashBigEndian() string

func (*UnspentOutput) GetTxId

func (x *UnspentOutput) GetTxId() string

func (*UnspentOutput) GetTxOutputN

func (x *UnspentOutput) GetTxOutputN() uint64

func (*UnspentOutput) GetUnspentAmount

func (x *UnspentOutput) GetUnspentAmount() string

func (*UnspentOutput) GetValueHex

func (x *UnspentOutput) GetValueHex() string

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"`
	Network       string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Address       string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,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) GetConsumerToken

func (x *UnspentOutputsRequest) GetConsumerToken() string

func (*UnspentOutputsRequest) GetNetwork

func (x *UnspentOutputsRequest) GetNetwork() 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=dapplink.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 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"`
	Format        string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,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) GetFormat

func (x *ValidAddressRequest) GetFormat() string

func (*ValidAddressRequest) GetNetwork

func (x *ValidAddressRequest) GetNetwork() 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=dapplink.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"`
	// contains filtered or unexported fields
}

func (*ValidAddressResponse) Descriptor deprecated

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

Deprecated: Use ValidAddressResponse.ProtoReflect.Descriptor instead.

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=dapplink.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 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 WalletUtxoServiceClient

type WalletUtxoServiceClient 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)
	GetFee(ctx context.Context, in *FeeRequest, opts ...grpc.CallOption) (*FeeResponse, error)
	GetAccount(ctx context.Context, in *AccountRequest, opts ...grpc.CallOption) (*AccountResponse, error)
	GetUnspentOutputs(ctx context.Context, in *UnspentOutputsRequest, opts ...grpc.CallOption) (*UnspentOutputsResponse, 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)
	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)
	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)
}

WalletUtxoServiceClient is the client API for WalletUtxoService 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 WalletUtxoServiceServer

WalletUtxoServiceServer is the server API for WalletUtxoService service. All implementations should embed UnimplementedWalletUtxoServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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