Documentation ¶
Overview ¶
Package eth is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package eth is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package eth is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package eth is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package eth is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAddressServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAddressServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AddressServiceClient) error
- func RegisterAddressServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAddressServiceServer(s *grpc.Server, srv AddressServiceServer)
- func RegisterBlockchainServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBlockchainServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BlockchainServiceClient) error
- func RegisterBlockchainServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBlockchainServiceServer(s *grpc.Server, srv BlockchainServiceServer)
- func RegisterContractServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterContractServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContractServiceClient) error
- func RegisterContractServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterContractServiceServer(s *grpc.Server, srv ContractServiceServer)
- func RegisterTransactionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTransactionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionServiceClient) error
- func RegisterTransactionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTransactionServiceServer(s *grpc.Server, srv TransactionServiceServer)
- func RegisterWebHooksServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWebHooksServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebHooksServiceClient) error
- func RegisterWebHooksServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWebHooksServiceServer(s *grpc.Server, srv WebHooksServiceServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddress() string
- func (m *Address) GetBalance() []byte
- func (m *Address) GetBalanceHex() string
- func (m *Address) GetFinalBalance() []byte
- func (m *Address) GetFinalBalanceHex() string
- func (m *Address) GetFinalNTx() uint32
- func (m *Address) GetHasMore() bool
- func (m *Address) GetNTx() uint32
- func (m *Address) GetTotalReceived() []byte
- func (m *Address) GetTotalReceivedHex() string
- func (m *Address) GetTotalSent() []byte
- func (m *Address) GetTotalSentHex() string
- func (m *Address) GetTxUrl() string
- func (m *Address) GetTxrefs() []*TXRef
- func (m *Address) GetUnconfirmedBalance() []byte
- func (m *Address) GetUnconfirmedBalanceHex() string
- func (m *Address) GetUnconfirmedNTx() uint32
- func (m *Address) GetUnconfirmedTxrefs() []*TXRef
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type AddressBalanceEndpointRequest
- func (*AddressBalanceEndpointRequest) Descriptor() ([]byte, []int)
- func (m *AddressBalanceEndpointRequest) GetAddress() string
- func (m *AddressBalanceEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (*AddressBalanceEndpointRequest) ProtoMessage()
- func (m *AddressBalanceEndpointRequest) Reset()
- func (m *AddressBalanceEndpointRequest) String() string
- func (m *AddressBalanceEndpointRequest) XXX_DiscardUnknown()
- func (m *AddressBalanceEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressBalanceEndpointRequest) XXX_Merge(src proto.Message)
- func (m *AddressBalanceEndpointRequest) XXX_Size() int
- func (m *AddressBalanceEndpointRequest) XXX_Unmarshal(b []byte) error
- type AddressEndpointRequest
- func (*AddressEndpointRequest) Descriptor() ([]byte, []int)
- func (m *AddressEndpointRequest) GetAddress() string
- func (m *AddressEndpointRequest) GetAfter() int32
- func (m *AddressEndpointRequest) GetBefore() int32
- func (m *AddressEndpointRequest) GetConfirmations() int32
- func (m *AddressEndpointRequest) GetLimit() int32
- func (m *AddressEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (*AddressEndpointRequest) ProtoMessage()
- func (m *AddressEndpointRequest) Reset()
- func (m *AddressEndpointRequest) String() string
- func (m *AddressEndpointRequest) XXX_DiscardUnknown()
- func (m *AddressEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressEndpointRequest) XXX_Merge(src proto.Message)
- func (m *AddressEndpointRequest) XXX_Size() int
- func (m *AddressEndpointRequest) XXX_Unmarshal(b []byte) error
- type AddressKeychain
- func (*AddressKeychain) Descriptor() ([]byte, []int)
- func (m *AddressKeychain) GetAddress() string
- func (m *AddressKeychain) GetPrivate() string
- func (m *AddressKeychain) GetPublic() string
- func (*AddressKeychain) ProtoMessage()
- func (m *AddressKeychain) Reset()
- func (m *AddressKeychain) String() string
- func (m *AddressKeychain) XXX_DiscardUnknown()
- func (m *AddressKeychain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddressKeychain) XXX_Merge(src proto.Message)
- func (m *AddressKeychain) XXX_Size() int
- func (m *AddressKeychain) XXX_Unmarshal(b []byte) error
- type AddressServiceClient
- type AddressServiceServer
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetChain() string
- func (m *Block) GetCoinbaseAddr() string
- func (m *Block) GetDepth() uint32
- func (m *Block) GetFees() []byte
- func (m *Block) GetFeesHex() string
- func (m *Block) GetHash() string
- func (m *Block) GetHeight() uint32
- func (m *Block) GetInternalTxids() []string
- func (m *Block) GetMrklRoot() string
- func (m *Block) GetNTx() uint32
- func (m *Block) GetNextInternalTxids() string
- func (m *Block) GetNextTxids() string
- func (m *Block) GetNonce() []byte
- func (m *Block) GetPrevBlock() string
- func (m *Block) GetPrevBlockUrl() string
- func (m *Block) GetReceivedTime() string
- func (m *Block) GetRelayedBy() string
- func (m *Block) GetSize() uint32
- func (m *Block) GetTime() string
- func (m *Block) GetTotal() []byte
- func (m *Block) GetTotalHex() string
- func (m *Block) GetTxUrl() string
- func (m *Block) GetTxids() []string
- func (m *Block) GetUncles() []string
- func (m *Block) GetVer() uint32
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type BlockHashEndpointRequest
- func (*BlockHashEndpointRequest) Descriptor() ([]byte, []int)
- func (m *BlockHashEndpointRequest) GetBlockHash() string
- func (m *BlockHashEndpointRequest) GetLimit() int32
- func (m *BlockHashEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *BlockHashEndpointRequest) GetTxstart() int32
- func (*BlockHashEndpointRequest) ProtoMessage()
- func (m *BlockHashEndpointRequest) Reset()
- func (m *BlockHashEndpointRequest) String() string
- func (m *BlockHashEndpointRequest) XXX_DiscardUnknown()
- func (m *BlockHashEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHashEndpointRequest) XXX_Merge(src proto.Message)
- func (m *BlockHashEndpointRequest) XXX_Size() int
- func (m *BlockHashEndpointRequest) XXX_Unmarshal(b []byte) error
- type BlockHeightEndpointRequest
- func (*BlockHeightEndpointRequest) Descriptor() ([]byte, []int)
- func (m *BlockHeightEndpointRequest) GetBlockHeight() string
- func (m *BlockHeightEndpointRequest) GetLimit() int32
- func (m *BlockHeightEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *BlockHeightEndpointRequest) GetTxstart() int32
- func (*BlockHeightEndpointRequest) ProtoMessage()
- func (m *BlockHeightEndpointRequest) Reset()
- func (m *BlockHeightEndpointRequest) String() string
- func (m *BlockHeightEndpointRequest) XXX_DiscardUnknown()
- func (m *BlockHeightEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockHeightEndpointRequest) XXX_Merge(src proto.Message)
- func (m *BlockHeightEndpointRequest) XXX_Size() int
- func (m *BlockHeightEndpointRequest) XXX_Unmarshal(b []byte) error
- type Blockchain
- func (*Blockchain) Descriptor() ([]byte, []int)
- func (m *Blockchain) GetHash() string
- func (m *Blockchain) GetHeight() uint32
- func (m *Blockchain) GetHighGasPrice() []byte
- func (m *Blockchain) GetHighGasPriceHex() string
- func (m *Blockchain) GetLastForkHash() string
- func (m *Blockchain) GetLastForkHeight() uint32
- func (m *Blockchain) GetLatestUrl() string
- func (m *Blockchain) GetLowGasPrice() []byte
- func (m *Blockchain) GetLowGasPriceHex() string
- func (m *Blockchain) GetMediumGasPrice() []byte
- func (m *Blockchain) GetMediumGasPriceHex() string
- func (m *Blockchain) GetName() string
- func (m *Blockchain) GetPreviousHash() string
- func (m *Blockchain) GetPreviousUrl() string
- func (m *Blockchain) GetTime() string
- func (m *Blockchain) GetUnconfirmedCount() uint32
- func (*Blockchain) ProtoMessage()
- func (m *Blockchain) Reset()
- func (m *Blockchain) String() string
- func (m *Blockchain) XXX_DiscardUnknown()
- func (m *Blockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Blockchain) XXX_Merge(src proto.Message)
- func (m *Blockchain) XXX_Size() int
- func (m *Blockchain) XXX_Unmarshal(b []byte) error
- type BlockchainServiceClient
- type BlockchainServiceServer
- type CallContractMethodEndpointRequest
- func (*CallContractMethodEndpointRequest) Descriptor() ([]byte, []int)
- func (m *CallContractMethodEndpointRequest) GetAbi() string
- func (m *CallContractMethodEndpointRequest) GetAddress() string
- func (m *CallContractMethodEndpointRequest) GetBin() string
- func (m *CallContractMethodEndpointRequest) GetCreated() string
- func (m *CallContractMethodEndpointRequest) GetCreationTxHash() string
- func (m *CallContractMethodEndpointRequest) GetGasLimit() []byte
- func (m *CallContractMethodEndpointRequest) GetGasLimitHex() string
- func (m *CallContractMethodEndpointRequest) GetMethod() string
- func (m *CallContractMethodEndpointRequest) GetName() string
- func (m *CallContractMethodEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *CallContractMethodEndpointRequest) GetParams() []string
- func (m *CallContractMethodEndpointRequest) GetPrivate() string
- func (m *CallContractMethodEndpointRequest) GetPublish() []string
- func (m *CallContractMethodEndpointRequest) GetQueryAddress() string
- func (m *CallContractMethodEndpointRequest) GetResults() []string
- func (m *CallContractMethodEndpointRequest) GetSolidity() string
- func (m *CallContractMethodEndpointRequest) GetValue() int32
- func (*CallContractMethodEndpointRequest) ProtoMessage()
- func (m *CallContractMethodEndpointRequest) Reset()
- func (m *CallContractMethodEndpointRequest) String() string
- func (m *CallContractMethodEndpointRequest) XXX_DiscardUnknown()
- func (m *CallContractMethodEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallContractMethodEndpointRequest) XXX_Merge(src proto.Message)
- func (m *CallContractMethodEndpointRequest) XXX_Size() int
- func (m *CallContractMethodEndpointRequest) XXX_Unmarshal(b []byte) error
- type ChainEndpointRequest
- func (*ChainEndpointRequest) Descriptor() ([]byte, []int)
- func (m *ChainEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (*ChainEndpointRequest) ProtoMessage()
- func (m *ChainEndpointRequest) Reset()
- func (m *ChainEndpointRequest) String() string
- func (m *ChainEndpointRequest) XXX_DiscardUnknown()
- func (m *ChainEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ChainEndpointRequest) XXX_Merge(src proto.Message)
- func (m *ChainEndpointRequest) XXX_Size() int
- func (m *ChainEndpointRequest) XXX_Unmarshal(b []byte) error
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) GetAbi() string
- func (m *Contract) GetAddress() string
- func (m *Contract) GetBin() string
- func (m *Contract) GetCreated() string
- func (m *Contract) GetCreationTxHash() string
- func (m *Contract) GetGasLimit() []byte
- func (m *Contract) GetGasLimitHex() string
- func (m *Contract) GetName() string
- func (m *Contract) GetParams() []string
- func (m *Contract) GetPrivate() string
- func (m *Contract) GetPublish() []string
- func (m *Contract) GetResults() []string
- func (m *Contract) GetSolidity() string
- func (m *Contract) GetValue() []byte
- func (m *Contract) GetValueHex() string
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) String() string
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type ContractAddressEndpointRequest
- func (*ContractAddressEndpointRequest) Descriptor() ([]byte, []int)
- func (m *ContractAddressEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *ContractAddressEndpointRequest) GetQueryAddress() string
- func (*ContractAddressEndpointRequest) ProtoMessage()
- func (m *ContractAddressEndpointRequest) Reset()
- func (m *ContractAddressEndpointRequest) String() string
- func (m *ContractAddressEndpointRequest) XXX_DiscardUnknown()
- func (m *ContractAddressEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ContractAddressEndpointRequest) XXX_Merge(src proto.Message)
- func (m *ContractAddressEndpointRequest) XXX_Size() int
- func (m *ContractAddressEndpointRequest) XXX_Unmarshal(b []byte) error
- type ContractServiceClient
- type ContractServiceServer
- type Contracts
- func (*Contracts) Descriptor() ([]byte, []int)
- func (m *Contracts) GetContract() []*Contract
- func (*Contracts) ProtoMessage()
- func (m *Contracts) Reset()
- func (m *Contracts) String() string
- func (m *Contracts) XXX_DiscardUnknown()
- func (m *Contracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Contracts) XXX_Merge(src proto.Message)
- func (m *Contracts) XXX_Size() int
- func (m *Contracts) XXX_Unmarshal(b []byte) error
- type CreateContractEndpointRequest
- func (*CreateContractEndpointRequest) Descriptor() ([]byte, []int)
- func (m *CreateContractEndpointRequest) GetAbi() string
- func (m *CreateContractEndpointRequest) GetAddress() string
- func (m *CreateContractEndpointRequest) GetBin() string
- func (m *CreateContractEndpointRequest) GetCreated() string
- func (m *CreateContractEndpointRequest) GetCreationTxHash() string
- func (m *CreateContractEndpointRequest) GetGasLimit() []byte
- func (m *CreateContractEndpointRequest) GetGasLimitHex() string
- func (m *CreateContractEndpointRequest) GetName() string
- func (m *CreateContractEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *CreateContractEndpointRequest) GetParams() []string
- func (m *CreateContractEndpointRequest) GetPrivate() string
- func (m *CreateContractEndpointRequest) GetPublish() []string
- func (m *CreateContractEndpointRequest) GetResults() []string
- func (m *CreateContractEndpointRequest) GetSolidity() string
- func (m *CreateContractEndpointRequest) GetValue() []byte
- func (m *CreateContractEndpointRequest) GetValueHex() string
- func (*CreateContractEndpointRequest) ProtoMessage()
- func (m *CreateContractEndpointRequest) Reset()
- func (m *CreateContractEndpointRequest) String() string
- func (m *CreateContractEndpointRequest) XXX_DiscardUnknown()
- func (m *CreateContractEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateContractEndpointRequest) XXX_Merge(src proto.Message)
- func (m *CreateContractEndpointRequest) XXX_Size() int
- func (m *CreateContractEndpointRequest) XXX_Unmarshal(b []byte) error
- type CreateTransactionEndpointRequest
- func (*CreateTransactionEndpointRequest) Descriptor() ([]byte, []int)
- func (m *CreateTransactionEndpointRequest) GetAddresses() []string
- func (m *CreateTransactionEndpointRequest) GetBlockHash() string
- func (m *CreateTransactionEndpointRequest) GetBlockHeight() int32
- func (m *CreateTransactionEndpointRequest) GetBlockIndex() int32
- func (m *CreateTransactionEndpointRequest) GetConfirmations() int32
- func (m *CreateTransactionEndpointRequest) GetConfirmed() string
- func (m *CreateTransactionEndpointRequest) GetContractCreation() bool
- func (m *CreateTransactionEndpointRequest) GetDoubleOf() string
- func (m *CreateTransactionEndpointRequest) GetDoubleSpend() bool
- func (m *CreateTransactionEndpointRequest) GetExecutionError() string
- func (m *CreateTransactionEndpointRequest) GetFees() []byte
- func (m *CreateTransactionEndpointRequest) GetFeesHex() string
- func (m *CreateTransactionEndpointRequest) GetGasLimit() []byte
- func (m *CreateTransactionEndpointRequest) GetGasLimitHex() string
- func (m *CreateTransactionEndpointRequest) GetGasPrice() []byte
- func (m *CreateTransactionEndpointRequest) GetGasPriceHex() string
- func (m *CreateTransactionEndpointRequest) GetGasUsed() []byte
- func (m *CreateTransactionEndpointRequest) GetGasUsedHex() string
- func (m *CreateTransactionEndpointRequest) GetHash() string
- func (m *CreateTransactionEndpointRequest) GetInputs() []*InputType
- func (m *CreateTransactionEndpointRequest) GetInternalTxids() []string
- func (m *CreateTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *CreateTransactionEndpointRequest) GetOutputs() []*OutputType
- func (m *CreateTransactionEndpointRequest) GetParentTx() string
- func (m *CreateTransactionEndpointRequest) GetReceiveCount() int32
- func (m *CreateTransactionEndpointRequest) GetReceived() string
- func (m *CreateTransactionEndpointRequest) GetRelayedBy() string
- func (m *CreateTransactionEndpointRequest) GetSize() uint32
- func (m *CreateTransactionEndpointRequest) GetTotal() []byte
- func (m *CreateTransactionEndpointRequest) GetTotalHex() string
- func (m *CreateTransactionEndpointRequest) GetVer() int32
- func (m *CreateTransactionEndpointRequest) GetVinSz() int32
- func (m *CreateTransactionEndpointRequest) GetVoutSz() int32
- func (*CreateTransactionEndpointRequest) ProtoMessage()
- func (m *CreateTransactionEndpointRequest) Reset()
- func (m *CreateTransactionEndpointRequest) String() string
- func (m *CreateTransactionEndpointRequest) XXX_DiscardUnknown()
- func (m *CreateTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateTransactionEndpointRequest) XXX_Merge(src proto.Message)
- func (m *CreateTransactionEndpointRequest) XXX_Size() int
- func (m *CreateTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
- type CreateWebHookEndpointRequest
- func (*CreateWebHookEndpointRequest) Descriptor() ([]byte, []int)
- func (m *CreateWebHookEndpointRequest) GetAddress() string
- func (m *CreateWebHookEndpointRequest) GetCallbackErrors() int32
- func (m *CreateWebHookEndpointRequest) GetConfirmations() int32
- func (m *CreateWebHookEndpointRequest) GetEvent() string
- func (m *CreateWebHookEndpointRequest) GetHash() string
- func (m *CreateWebHookEndpointRequest) GetId() string
- func (m *CreateWebHookEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *CreateWebHookEndpointRequest) GetUrl() string
- func (*CreateWebHookEndpointRequest) ProtoMessage()
- func (m *CreateWebHookEndpointRequest) Reset()
- func (m *CreateWebHookEndpointRequest) String() string
- func (m *CreateWebHookEndpointRequest) XXX_DiscardUnknown()
- func (m *CreateWebHookEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateWebHookEndpointRequest) XXX_Merge(src proto.Message)
- func (m *CreateWebHookEndpointRequest) XXX_Size() int
- func (m *CreateWebHookEndpointRequest) XXX_Unmarshal(b []byte) error
- type DecodeRawTransactionEndpointRequest
- func (*DecodeRawTransactionEndpointRequest) Descriptor() ([]byte, []int)
- func (m *DecodeRawTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *DecodeRawTransactionEndpointRequest) GetTx() string
- func (*DecodeRawTransactionEndpointRequest) ProtoMessage()
- func (m *DecodeRawTransactionEndpointRequest) Reset()
- func (m *DecodeRawTransactionEndpointRequest) String() string
- func (m *DecodeRawTransactionEndpointRequest) XXX_DiscardUnknown()
- func (m *DecodeRawTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DecodeRawTransactionEndpointRequest) XXX_Merge(src proto.Message)
- func (m *DecodeRawTransactionEndpointRequest) XXX_Size() int
- func (m *DecodeRawTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
- type DeleteWebHookEndpointRequest
- func (*DeleteWebHookEndpointRequest) Descriptor() ([]byte, []int)
- func (m *DeleteWebHookEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *DeleteWebHookEndpointRequest) GetWebhookid() string
- func (*DeleteWebHookEndpointRequest) ProtoMessage()
- func (m *DeleteWebHookEndpointRequest) Reset()
- func (m *DeleteWebHookEndpointRequest) String() string
- func (m *DeleteWebHookEndpointRequest) XXX_DiscardUnknown()
- func (m *DeleteWebHookEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteWebHookEndpointRequest) XXX_Merge(src proto.Message)
- func (m *DeleteWebHookEndpointRequest) XXX_Size() int
- func (m *DeleteWebHookEndpointRequest) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetAddress() string
- func (m *Event) GetCallbackErrors() uint32
- func (m *Event) GetConfirmations() uint32
- func (m *Event) GetEvent() string
- func (m *Event) GetFilter() string
- func (m *Event) GetHash() string
- func (m *Event) GetId() string
- func (m *Event) GetUrl() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type Events
- func (*Events) Descriptor() ([]byte, []int)
- func (m *Events) GetEvent() []*Event
- func (*Events) ProtoMessage()
- func (m *Events) Reset()
- func (m *Events) String() string
- func (m *Events) XXX_DiscardUnknown()
- func (m *Events) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Events) XXX_Merge(src proto.Message)
- func (m *Events) XXX_Size() int
- func (m *Events) XXX_Unmarshal(b []byte) error
- type GenerateAddressEndpointRequest
- func (*GenerateAddressEndpointRequest) Descriptor() ([]byte, []int)
- func (m *GenerateAddressEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (*GenerateAddressEndpointRequest) ProtoMessage()
- func (m *GenerateAddressEndpointRequest) Reset()
- func (m *GenerateAddressEndpointRequest) String() string
- func (m *GenerateAddressEndpointRequest) XXX_DiscardUnknown()
- func (m *GenerateAddressEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GenerateAddressEndpointRequest) XXX_Merge(src proto.Message)
- func (m *GenerateAddressEndpointRequest) XXX_Size() int
- func (m *GenerateAddressEndpointRequest) XXX_Unmarshal(b []byte) error
- type InputType
- func (*InputType) Descriptor() ([]byte, []int)
- func (m *InputType) GetAddresses() []string
- func (m *InputType) GetSequence() uint32
- func (*InputType) ProtoMessage()
- func (m *InputType) Reset()
- func (m *InputType) String() string
- func (m *InputType) XXX_DiscardUnknown()
- func (m *InputType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InputType) XXX_Merge(src proto.Message)
- func (m *InputType) XXX_Size() int
- func (m *InputType) XXX_Unmarshal(b []byte) error
- type ListWebHooksEndpointRequest
- func (*ListWebHooksEndpointRequest) Descriptor() ([]byte, []int)
- func (m *ListWebHooksEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (*ListWebHooksEndpointRequest) ProtoMessage()
- func (m *ListWebHooksEndpointRequest) Reset()
- func (m *ListWebHooksEndpointRequest) String() string
- func (m *ListWebHooksEndpointRequest) XXX_DiscardUnknown()
- func (m *ListWebHooksEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListWebHooksEndpointRequest) XXX_Merge(src proto.Message)
- func (m *ListWebHooksEndpointRequest) XXX_Size() int
- func (m *ListWebHooksEndpointRequest) XXX_Unmarshal(b []byte) error
- type NetworkAllowingAlias
- type NullValue
- func (*NullValue) Descriptor() ([]byte, []int)
- func (*NullValue) ProtoMessage()
- func (m *NullValue) Reset()
- func (m *NullValue) String() string
- func (m *NullValue) XXX_DiscardUnknown()
- func (m *NullValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NullValue) XXX_Merge(src proto.Message)
- func (m *NullValue) XXX_Size() int
- func (m *NullValue) XXX_Unmarshal(b []byte) error
- type OutputType
- func (*OutputType) Descriptor() ([]byte, []int)
- func (m *OutputType) GetAddresses() []string
- func (m *OutputType) GetScript() string
- func (m *OutputType) GetValue() []byte
- func (m *OutputType) GetValueHex() string
- func (*OutputType) ProtoMessage()
- func (m *OutputType) Reset()
- func (m *OutputType) String() string
- func (m *OutputType) XXX_DiscardUnknown()
- func (m *OutputType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutputType) XXX_Merge(src proto.Message)
- func (m *OutputType) XXX_Size() int
- func (m *OutputType) XXX_Unmarshal(b []byte) error
- type PushRawTransactionEndpointRequest
- func (*PushRawTransactionEndpointRequest) Descriptor() ([]byte, []int)
- func (m *PushRawTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *PushRawTransactionEndpointRequest) GetTx() string
- func (*PushRawTransactionEndpointRequest) ProtoMessage()
- func (m *PushRawTransactionEndpointRequest) Reset()
- func (m *PushRawTransactionEndpointRequest) String() string
- func (m *PushRawTransactionEndpointRequest) XXX_DiscardUnknown()
- func (m *PushRawTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PushRawTransactionEndpointRequest) XXX_Merge(src proto.Message)
- func (m *PushRawTransactionEndpointRequest) XXX_Size() int
- func (m *PushRawTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
- type SendTransactionEndpointRequest
- func (*SendTransactionEndpointRequest) Descriptor() ([]byte, []int)
- func (m *SendTransactionEndpointRequest) GetErrors() []string
- func (m *SendTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *SendTransactionEndpointRequest) GetSignatures() []string
- func (m *SendTransactionEndpointRequest) GetTosign() []string
- func (m *SendTransactionEndpointRequest) GetTx() *TX
- func (*SendTransactionEndpointRequest) ProtoMessage()
- func (m *SendTransactionEndpointRequest) Reset()
- func (m *SendTransactionEndpointRequest) String() string
- func (m *SendTransactionEndpointRequest) XXX_DiscardUnknown()
- func (m *SendTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SendTransactionEndpointRequest) XXX_Merge(src proto.Message)
- func (m *SendTransactionEndpointRequest) XXX_Size() int
- func (m *SendTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
- type TX
- func (*TX) Descriptor() ([]byte, []int)
- func (m *TX) GetAddresses() []string
- func (m *TX) GetBlockHash() string
- func (m *TX) GetBlockHeight() int32
- func (m *TX) GetBlockIndex() uint32
- func (m *TX) GetConfirmations() uint32
- func (m *TX) GetConfirmed() string
- func (m *TX) GetContractCreation() bool
- func (m *TX) GetDoubleOf() string
- func (m *TX) GetDoubleSpend() bool
- func (m *TX) GetExecutionError() string
- func (m *TX) GetFees() []byte
- func (m *TX) GetFeesHex() string
- func (m *TX) GetGasLimit() []byte
- func (m *TX) GetGasLimitHex() string
- func (m *TX) GetGasPrice() []byte
- func (m *TX) GetGasPriceHex() string
- func (m *TX) GetGasUsed() []byte
- func (m *TX) GetGasUsedHex() string
- func (m *TX) GetHash() string
- func (m *TX) GetInputs() []*InputType
- func (m *TX) GetInternalTxids() []string
- func (m *TX) GetOutputs() []*OutputType
- func (m *TX) GetParentTx() string
- func (m *TX) GetReceiveCount() uint32
- func (m *TX) GetReceived() string
- func (m *TX) GetRelayedBy() string
- func (m *TX) GetSize() uint32
- func (m *TX) GetTotal() []byte
- func (m *TX) GetTotalHex() string
- func (m *TX) GetVer() uint32
- func (m *TX) GetVinSz() uint32
- func (m *TX) GetVoutSz() uint32
- func (*TX) ProtoMessage()
- func (m *TX) Reset()
- func (m *TX) String() string
- func (m *TX) XXX_DiscardUnknown()
- func (m *TX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TX) XXX_Merge(src proto.Message)
- func (m *TX) XXX_Size() int
- func (m *TX) XXX_Unmarshal(b []byte) error
- type TXRef
- func (*TXRef) Descriptor() ([]byte, []int)
- func (m *TXRef) GetBlockHeight() int32
- func (m *TXRef) GetConfirmations() uint32
- func (m *TXRef) GetConfirmed() string
- func (m *TXRef) GetDoubleOf() string
- func (m *TXRef) GetDoubleSpend() bool
- func (m *TXRef) GetRefBalance() []byte
- func (m *TXRef) GetRefBalanceHex() string
- func (m *TXRef) GetTxHash() string
- func (m *TXRef) GetTxInputN() uint32
- func (m *TXRef) GetTxOutputN() uint32
- func (m *TXRef) GetValue() []byte
- func (m *TXRef) GetValueHex() string
- func (*TXRef) ProtoMessage()
- func (m *TXRef) Reset()
- func (m *TXRef) String() string
- func (m *TXRef) XXX_DiscardUnknown()
- func (m *TXRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXRef) XXX_Merge(src proto.Message)
- func (m *TXRef) XXX_Size() int
- func (m *TXRef) XXX_Unmarshal(b []byte) error
- type TXSkeleton
- func (*TXSkeleton) Descriptor() ([]byte, []int)
- func (m *TXSkeleton) GetErrors() []string
- func (m *TXSkeleton) GetSignatures() []string
- func (m *TXSkeleton) GetTosign() []string
- func (m *TXSkeleton) GetTx() *TX
- func (*TXSkeleton) ProtoMessage()
- func (m *TXSkeleton) Reset()
- func (m *TXSkeleton) String() string
- func (m *TXSkeleton) XXX_DiscardUnknown()
- func (m *TXSkeleton) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXSkeleton) XXX_Merge(src proto.Message)
- func (m *TXSkeleton) XXX_Size() int
- func (m *TXSkeleton) XXX_Unmarshal(b []byte) error
- type TXs
- func (*TXs) Descriptor() ([]byte, []int)
- func (m *TXs) GetResult() []*TX
- func (*TXs) ProtoMessage()
- func (m *TXs) Reset()
- func (m *TXs) String() string
- func (m *TXs) XXX_DiscardUnknown()
- func (m *TXs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TXs) XXX_Merge(src proto.Message)
- func (m *TXs) XXX_Size() int
- func (m *TXs) XXX_Unmarshal(b []byte) error
- type TransactionHashEndpointRequest
- func (*TransactionHashEndpointRequest) Descriptor() ([]byte, []int)
- func (m *TransactionHashEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *TransactionHashEndpointRequest) GetTxhash() string
- func (*TransactionHashEndpointRequest) ProtoMessage()
- func (m *TransactionHashEndpointRequest) Reset()
- func (m *TransactionHashEndpointRequest) String() string
- func (m *TransactionHashEndpointRequest) XXX_DiscardUnknown()
- func (m *TransactionHashEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TransactionHashEndpointRequest) XXX_Merge(src proto.Message)
- func (m *TransactionHashEndpointRequest) XXX_Size() int
- func (m *TransactionHashEndpointRequest) XXX_Unmarshal(b []byte) error
- type TransactionServiceClient
- type TransactionServiceServer
- type UnconfirmedTransactionsEndpointRequest
- func (*UnconfirmedTransactionsEndpointRequest) Descriptor() ([]byte, []int)
- func (m *UnconfirmedTransactionsEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (*UnconfirmedTransactionsEndpointRequest) ProtoMessage()
- func (m *UnconfirmedTransactionsEndpointRequest) Reset()
- func (m *UnconfirmedTransactionsEndpointRequest) String() string
- func (m *UnconfirmedTransactionsEndpointRequest) XXX_DiscardUnknown()
- func (m *UnconfirmedTransactionsEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnconfirmedTransactionsEndpointRequest) XXX_Merge(src proto.Message)
- func (m *UnconfirmedTransactionsEndpointRequest) XXX_Size() int
- func (m *UnconfirmedTransactionsEndpointRequest) XXX_Unmarshal(b []byte) error
- type WebHookIDEndpointRequest
- func (*WebHookIDEndpointRequest) Descriptor() ([]byte, []int)
- func (m *WebHookIDEndpointRequest) GetNetwork() NetworkAllowingAlias
- func (m *WebHookIDEndpointRequest) GetWebhookid() string
- func (*WebHookIDEndpointRequest) ProtoMessage()
- func (m *WebHookIDEndpointRequest) Reset()
- func (m *WebHookIDEndpointRequest) String() string
- func (m *WebHookIDEndpointRequest) XXX_DiscardUnknown()
- func (m *WebHookIDEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WebHookIDEndpointRequest) XXX_Merge(src proto.Message)
- func (m *WebHookIDEndpointRequest) XXX_Size() int
- func (m *WebHookIDEndpointRequest) XXX_Unmarshal(b []byte) error
- type WebHooksServiceClient
- type WebHooksServiceServer
Constants ¶
This section is empty.
Variables ¶
var NetworkAllowingAlias_name = map[int32]string{
0: "MAIN",
1: "ROPSTEN",
}
var NetworkAllowingAlias_value = map[string]int32{
"MAIN": 0,
"main": 0,
"ROPSTEN": 1,
"ropsten": 1,
}
Functions ¶
func RegisterAddressServiceHandler ¶
func RegisterAddressServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAddressServiceHandler registers the http handlers for service AddressService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAddressServiceHandlerClient ¶
func RegisterAddressServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AddressServiceClient) error
RegisterAddressServiceHandlerClient registers the http handlers for service AddressService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AddressServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AddressServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AddressServiceClient" to call the correct interceptors.
func RegisterAddressServiceHandlerFromEndpoint ¶
func RegisterAddressServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAddressServiceHandlerFromEndpoint is same as RegisterAddressServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAddressServiceServer ¶
func RegisterAddressServiceServer(s *grpc.Server, srv AddressServiceServer)
func RegisterBlockchainServiceHandler ¶
func RegisterBlockchainServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterBlockchainServiceHandler registers the http handlers for service BlockchainService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBlockchainServiceHandlerClient ¶
func RegisterBlockchainServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BlockchainServiceClient) error
RegisterBlockchainServiceHandlerClient registers the http handlers for service BlockchainService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BlockchainServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BlockchainServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BlockchainServiceClient" to call the correct interceptors.
func RegisterBlockchainServiceHandlerFromEndpoint ¶
func RegisterBlockchainServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBlockchainServiceHandlerFromEndpoint is same as RegisterBlockchainServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBlockchainServiceServer ¶
func RegisterBlockchainServiceServer(s *grpc.Server, srv BlockchainServiceServer)
func RegisterContractServiceHandler ¶
func RegisterContractServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterContractServiceHandler registers the http handlers for service ContractService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterContractServiceHandlerClient ¶
func RegisterContractServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContractServiceClient) error
RegisterContractServiceHandlerClient registers the http handlers for service ContractService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ContractServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ContractServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ContractServiceClient" to call the correct interceptors.
func RegisterContractServiceHandlerFromEndpoint ¶
func RegisterContractServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterContractServiceHandlerFromEndpoint is same as RegisterContractServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterContractServiceServer ¶
func RegisterContractServiceServer(s *grpc.Server, srv ContractServiceServer)
func RegisterTransactionServiceHandler ¶
func RegisterTransactionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTransactionServiceHandler registers the http handlers for service TransactionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTransactionServiceHandlerClient ¶
func RegisterTransactionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionServiceClient) error
RegisterTransactionServiceHandlerClient registers the http handlers for service TransactionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TransactionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TransactionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TransactionServiceClient" to call the correct interceptors.
func RegisterTransactionServiceHandlerFromEndpoint ¶
func RegisterTransactionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTransactionServiceHandlerFromEndpoint is same as RegisterTransactionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTransactionServiceServer ¶
func RegisterTransactionServiceServer(s *grpc.Server, srv TransactionServiceServer)
func RegisterWebHooksServiceHandler ¶
func RegisterWebHooksServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWebHooksServiceHandler registers the http handlers for service WebHooksService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWebHooksServiceHandlerClient ¶
func RegisterWebHooksServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WebHooksServiceClient) error
RegisterWebHooksServiceHandlerClient registers the http handlers for service WebHooksService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WebHooksServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WebHooksServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WebHooksServiceClient" to call the correct interceptors.
func RegisterWebHooksServiceHandlerFromEndpoint ¶
func RegisterWebHooksServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWebHooksServiceHandlerFromEndpoint is same as RegisterWebHooksServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWebHooksServiceServer ¶
func RegisterWebHooksServiceServer(s *grpc.Server, srv WebHooksServiceServer)
Types ¶
type Address ¶
type Address struct { // The requested address. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Total amount of confirmed wei received by this address. TotalReceived []byte `protobuf:"bytes,2,opt,name=total_received,json=totalReceived,proto3" json:"total_received,omitempty"` // Total amount of confirmed wei received by this address. This is a hex string. TotalReceivedHex string `protobuf:"bytes,3,opt,name=total_received_hex,json=totalReceivedHex,proto3" json:"total_received_hex,omitempty"` // Total amount of confirmed wei sent by this address. TotalSent []byte `protobuf:"bytes,4,opt,name=total_sent,json=totalSent,proto3" json:"total_sent,omitempty"` // Total amount of confirmed wei sent by this address. This is a hex string. TotalSentHex string `protobuf:"bytes,5,opt,name=total_sent_hex,json=totalSentHex,proto3" json:"total_sent_hex,omitempty"` // Balance of confirmed wei on this address. (i.e., for transactions whose confirmations > 0). Balance []byte `protobuf:"bytes,6,opt,name=balance,proto3" json:"balance,omitempty"` // Balance of confirmed wei on this address. (i.e., for transactions whose confirmations > 0). This is a hex string. BalanceHex string `protobuf:"bytes,7,opt,name=balance_hex,json=balanceHex,proto3" json:"balance_hex,omitempty"` // Balance of unconfirmed wei on this address. Can be negative (if unconfirmed transactions are just spending part of an address balance). Only unconfirmed transactions (haven’t made it into a block) are included in this calculation. UnconfirmedBalance []byte `protobuf:"bytes,8,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"` // Balance of unconfirmed wei on this address. Can be negative (if unconfirmed transactions are just spending part of an address balance). Only unconfirmed transactions (haven’t made it into a block) are included in this calculation. This is a hex string. UnconfirmedBalanceHex string `` /* 126-byte string literal not displayed */ // Total balance of wei, including confirmed and unconfirmed transactions, for this address. FinalBalance []byte `protobuf:"bytes,10,opt,name=final_balance,json=finalBalance,proto3" json:"final_balance,omitempty"` // Total balance of wei, including confirmed and unconfirmed transactions, for this address. This is a hex string. FinalBalanceHex string `protobuf:"bytes,11,opt,name=final_balance_hex,json=finalBalanceHex,proto3" json:"final_balance_hex,omitempty"` // Number of confirmed transactions on this address. Only transactions that have made it into a block (confirmations > 0) are counted. NTx uint32 `protobuf:"varint,12,opt,name=n_tx,json=nTx,proto3" json:"n_tx,omitempty"` // Number of unconfirmed transactions for this address. Only unconfirmed transactions (confirmations == 0) are counted. UnconfirmedNTx uint32 `protobuf:"varint,13,opt,name=unconfirmed_n_tx,json=unconfirmedNTx,proto3" json:"unconfirmed_n_tx,omitempty"` // Final number of transactions, including confirmed and unconfirmed transactions, for this address. FinalNTx uint32 `protobuf:"varint,14,opt,name=final_n_tx,json=finalNTx,proto3" json:"final_n_tx,omitempty"` // Optional To retrieve base URL transactions. To get the full URL, concatenate this URL with a transaction’s hash. TxUrl string `protobuf:"bytes,15,opt,name=tx_url,json=txUrl,proto3" json:"tx_url,omitempty"` // Optional Array of transaction summaries for this address. Usually only returned from the standard Address Endpoint. Txrefs []*TXRef `protobuf:"bytes,16,rep,name=txrefs,proto3" json:"txrefs,omitempty"` // Optional All unconfirmed transaction summaries for this address. Usually only returned from the standard Address Endpoint. UnconfirmedTxrefs []*TXRef `protobuf:"bytes,17,rep,name=unconfirmed_txrefs,json=unconfirmedTxrefs,proto3" json:"unconfirmed_txrefs,omitempty"` // Optional If true, then the Address object contains more transactions than shown. Useful for determining whether to poll the API for more transaction information. HasMore bool `protobuf:"varint,18,opt,name=hasMore,proto3" json:"hasMore,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) GetBalance ¶
func (*Address) GetBalanceHex ¶
func (*Address) GetFinalBalance ¶
func (*Address) GetFinalBalanceHex ¶
func (*Address) GetFinalNTx ¶
func (*Address) GetHasMore ¶
func (*Address) GetTotalReceived ¶
func (*Address) GetTotalReceivedHex ¶
func (*Address) GetTotalSent ¶
func (*Address) GetTotalSentHex ¶
func (*Address) GetUnconfirmedBalance ¶
func (*Address) GetUnconfirmedBalanceHex ¶
func (*Address) GetUnconfirmedNTx ¶
func (*Address) GetUnconfirmedTxrefs ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type AddressBalanceEndpointRequest ¶
type AddressBalanceEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressBalanceEndpointRequest) Descriptor ¶
func (*AddressBalanceEndpointRequest) Descriptor() ([]byte, []int)
func (*AddressBalanceEndpointRequest) GetAddress ¶
func (m *AddressBalanceEndpointRequest) GetAddress() string
func (*AddressBalanceEndpointRequest) GetNetwork ¶
func (m *AddressBalanceEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*AddressBalanceEndpointRequest) ProtoMessage ¶
func (*AddressBalanceEndpointRequest) ProtoMessage()
func (*AddressBalanceEndpointRequest) Reset ¶
func (m *AddressBalanceEndpointRequest) Reset()
func (*AddressBalanceEndpointRequest) String ¶
func (m *AddressBalanceEndpointRequest) String() string
func (*AddressBalanceEndpointRequest) XXX_DiscardUnknown ¶
func (m *AddressBalanceEndpointRequest) XXX_DiscardUnknown()
func (*AddressBalanceEndpointRequest) XXX_Marshal ¶
func (m *AddressBalanceEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressBalanceEndpointRequest) XXX_Merge ¶
func (dst *AddressBalanceEndpointRequest) XXX_Merge(src proto.Message)
func (*AddressBalanceEndpointRequest) XXX_Size ¶
func (m *AddressBalanceEndpointRequest) XXX_Size() int
func (*AddressBalanceEndpointRequest) XXX_Unmarshal ¶
func (m *AddressBalanceEndpointRequest) XXX_Unmarshal(b []byte) error
type AddressEndpointRequest ¶
type AddressEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Filters response to only include transactions below before height in the blockchain. ( < before ) Before int32 `protobuf:"varint,3,opt,name=before,proto3" json:"before,omitempty"` // Filters response to only include transactions above after height in the blockchain. ( after <= ) After int32 `protobuf:"varint,4,opt,name=after,proto3" json:"after,omitempty"` // limit sets the minimum number of returned TXRefs; there can be less if there are less than limit TXRefs associated with this address, but there can be more in the rare case of more TXRefs in the block at the bottom of your call. This ensures paging by block height never misses TXRefs. Defaults to 200, maximum is 2000. Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // If set, only returns the balance and TXRefs that have at least this number of confirmations. Confirmations int32 `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressEndpointRequest) Descriptor ¶
func (*AddressEndpointRequest) Descriptor() ([]byte, []int)
func (*AddressEndpointRequest) GetAddress ¶
func (m *AddressEndpointRequest) GetAddress() string
func (*AddressEndpointRequest) GetAfter ¶
func (m *AddressEndpointRequest) GetAfter() int32
func (*AddressEndpointRequest) GetBefore ¶
func (m *AddressEndpointRequest) GetBefore() int32
func (*AddressEndpointRequest) GetConfirmations ¶
func (m *AddressEndpointRequest) GetConfirmations() int32
func (*AddressEndpointRequest) GetLimit ¶
func (m *AddressEndpointRequest) GetLimit() int32
func (*AddressEndpointRequest) GetNetwork ¶
func (m *AddressEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*AddressEndpointRequest) ProtoMessage ¶
func (*AddressEndpointRequest) ProtoMessage()
func (*AddressEndpointRequest) Reset ¶
func (m *AddressEndpointRequest) Reset()
func (*AddressEndpointRequest) String ¶
func (m *AddressEndpointRequest) String() string
func (*AddressEndpointRequest) XXX_DiscardUnknown ¶
func (m *AddressEndpointRequest) XXX_DiscardUnknown()
func (*AddressEndpointRequest) XXX_Marshal ¶
func (m *AddressEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressEndpointRequest) XXX_Merge ¶
func (dst *AddressEndpointRequest) XXX_Merge(src proto.Message)
func (*AddressEndpointRequest) XXX_Size ¶
func (m *AddressEndpointRequest) XXX_Size() int
func (*AddressEndpointRequest) XXX_Unmarshal ¶
func (m *AddressEndpointRequest) XXX_Unmarshal(b []byte) error
type AddressKeychain ¶
type AddressKeychain struct { // Standard address representation. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Hex-encoded Public key. Public string `protobuf:"bytes,2,opt,name=public,proto3" json:"public,omitempty"` // Hex-encoded Private key. Private string `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddressKeychain) Descriptor ¶
func (*AddressKeychain) Descriptor() ([]byte, []int)
func (*AddressKeychain) GetAddress ¶
func (m *AddressKeychain) GetAddress() string
func (*AddressKeychain) GetPrivate ¶
func (m *AddressKeychain) GetPrivate() string
func (*AddressKeychain) GetPublic ¶
func (m *AddressKeychain) GetPublic() string
func (*AddressKeychain) ProtoMessage ¶
func (*AddressKeychain) ProtoMessage()
func (*AddressKeychain) Reset ¶
func (m *AddressKeychain) Reset()
func (*AddressKeychain) String ¶
func (m *AddressKeychain) String() string
func (*AddressKeychain) XXX_DiscardUnknown ¶
func (m *AddressKeychain) XXX_DiscardUnknown()
func (*AddressKeychain) XXX_Marshal ¶
func (m *AddressKeychain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddressKeychain) XXX_Merge ¶
func (dst *AddressKeychain) XXX_Merge(src proto.Message)
func (*AddressKeychain) XXX_Size ¶
func (m *AddressKeychain) XXX_Size() int
func (*AddressKeychain) XXX_Unmarshal ¶
func (m *AddressKeychain) XXX_Unmarshal(b []byte) error
type AddressServiceClient ¶
type AddressServiceClient interface { AddressBalanceEndpoint(ctx context.Context, in *AddressBalanceEndpointRequest, opts ...grpc.CallOption) (*Address, error) AddressEndpoint(ctx context.Context, in *AddressEndpointRequest, opts ...grpc.CallOption) (*Address, error) GenerateAddressEndpoint(ctx context.Context, in *GenerateAddressEndpointRequest, opts ...grpc.CallOption) (*AddressKeychain, error) }
AddressServiceClient is the client API for AddressService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAddressServiceClient ¶
func NewAddressServiceClient(cc *grpc.ClientConn) AddressServiceClient
type AddressServiceServer ¶
type AddressServiceServer interface { AddressBalanceEndpoint(context.Context, *AddressBalanceEndpointRequest) (*Address, error) AddressEndpoint(context.Context, *AddressEndpointRequest) (*Address, error) GenerateAddressEndpoint(context.Context, *GenerateAddressEndpointRequest) (*AddressKeychain, error) }
AddressServiceServer is the server API for AddressService service.
type Block ¶
type Block struct { // The hash of the block; in Ethereum, the hashing function is Keccak/SHA3 Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The height of the block in the blockchain; i.e., there are height earlier blocks in its blockchain. Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // The depth of the block in the blockchain; i.e., there are depth later blocks in its blockchain. Depth uint32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` // The name of the blockchain represented, in the form of $COIN.$CHAIN Chain string `protobuf:"bytes,4,opt,name=chain,proto3" json:"chain,omitempty"` // The total number of wei transacted in this block. Total []byte `protobuf:"bytes,5,opt,name=total,proto3" json:"total,omitempty"` // The total number of wei transacted in this block. This is a hex string. TotalHex string `protobuf:"bytes,6,opt,name=total_hex,json=totalHex,proto3" json:"total_hex,omitempty"` // The total number of fees—in wei—collected by miners in this block. Fees []byte `protobuf:"bytes,7,opt,name=fees,proto3" json:"fees,omitempty"` // The total number of fees—in wei—collected by miners in this block. This is a hex string. FeesHex string `protobuf:"bytes,8,opt,name=fees_hex,json=feesHex,proto3" json:"fees_hex,omitempty"` // Raw size of block (including header and all transactions) in bytes. Size uint32 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"` // Block version. Ver uint32 `protobuf:"varint,10,opt,name=ver,proto3" json:"ver,omitempty"` // Recorded time at which block was built. Time string `protobuf:"bytes,11,opt,name=time,proto3" json:"time,omitempty"` // The time BlockCypher’s servers receive the block. ReceivedTime string `protobuf:"bytes,12,opt,name=received_time,json=receivedTime,proto3" json:"received_time,omitempty"` // The Ethereum address of the miner that received the coinbase and fee reward. CoinbaseAddr string `protobuf:"bytes,13,opt,name=coinbase_addr,json=coinbaseAddr,proto3" json:"coinbase_addr,omitempty"` // Address of the peer that sent BlockCypher’s servers this block. RelayedBy string `protobuf:"bytes,14,opt,name=relayed_by,json=relayedBy,proto3" json:"relayed_by,omitempty"` // The number used by a miner to generate this block. Nonce []byte `protobuf:"bytes,15,opt,name=nonce,proto3" json:"nonce,omitempty"` // Number of transactions in this block. NTx uint32 `protobuf:"varint,16,opt,name=n_tx,json=nTx,proto3" json:"n_tx,omitempty"` // The hash of the previous block in the blockchain. PrevBlock string `protobuf:"bytes,17,opt,name=prev_block,json=prevBlock,proto3" json:"prev_block,omitempty"` // The BlockCypher URL to query for more information on the previous block. PrevBlockUrl string `protobuf:"bytes,18,opt,name=prev_block_url,json=prevBlockUrl,proto3" json:"prev_block_url,omitempty"` // The base BlockCypher URL to receive transaction details. To get more details about specific transactions, you must concatenate this URL with the desired transaction hash(es). TxUrl string `protobuf:"bytes,19,opt,name=tx_url,json=txUrl,proto3" json:"tx_url,omitempty"` // The Merkle root of this block. MrklRoot string `protobuf:"bytes,20,opt,name=mrkl_root,json=mrklRoot,proto3" json:"mrkl_root,omitempty"` // An array of transaction hashes in this block (initiated by externally controlled accounts). By default, only 20 are included. Txids []string `protobuf:"bytes,21,rep,name=txids,proto3" json:"txids,omitempty"` // An array of internal transaction hashes (initiated by internal contracts) in this block. By default, only 20 are included. InternalTxids []string `protobuf:"bytes,22,rep,name=internal_txids,json=internalTxids,proto3" json:"internal_txids,omitempty"` // Optional If there are more transactions that couldn’t fit in the txids array, this is the BlockCypher URL to query the next set of transactions (within a Block object). NextTxids string `protobuf:"bytes,23,opt,name=next_txids,json=nextTxids,proto3" json:"next_txids,omitempty"` // Optional If there are more internal transactions that couldn’t fit in the internal_txids array, this is the BlockCypher URL to query the next set of transactions (within a Block object). NextInternalTxids string `protobuf:"bytes,24,opt,name=next_internal_txids,json=nextInternalTxids,proto3" json:"next_internal_txids,omitempty"` // List of uncle blocks by hash included by the miner of this block. You can read more about uncles here. Uncles []string `protobuf:"bytes,25,rep,name=uncles,proto3" json:"uncles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Block) Descriptor ¶
func (*Block) GetCoinbaseAddr ¶
func (*Block) GetFeesHex ¶
func (*Block) GetInternalTxids ¶
func (*Block) GetMrklRoot ¶
func (*Block) GetNextInternalTxids ¶
func (*Block) GetNextTxids ¶
func (*Block) GetPrevBlock ¶
func (*Block) GetPrevBlockUrl ¶
func (*Block) GetReceivedTime ¶
func (*Block) GetRelayedBy ¶
func (*Block) GetTotalHex ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
type BlockHashEndpointRequest ¶
type BlockHashEndpointRequest struct { // network Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` // String representing the hash of the block you’re interested in querying, for example: `0000000000000000189bba3564a63772107b5673c940c16f12662b3e8546b412` BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Filters response to only include transaction hashes after txstart height in the block. Txstart int32 `protobuf:"varint,3,opt,name=txstart,proto3" json:"txstart,omitempty"` // Filters response to only include a maximum of limit transactions hashes in the block. Defaults to 20, maximum value allowed is 500. Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHashEndpointRequest) Descriptor ¶
func (*BlockHashEndpointRequest) Descriptor() ([]byte, []int)
func (*BlockHashEndpointRequest) GetBlockHash ¶
func (m *BlockHashEndpointRequest) GetBlockHash() string
func (*BlockHashEndpointRequest) GetLimit ¶
func (m *BlockHashEndpointRequest) GetLimit() int32
func (*BlockHashEndpointRequest) GetNetwork ¶
func (m *BlockHashEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*BlockHashEndpointRequest) GetTxstart ¶
func (m *BlockHashEndpointRequest) GetTxstart() int32
func (*BlockHashEndpointRequest) ProtoMessage ¶
func (*BlockHashEndpointRequest) ProtoMessage()
func (*BlockHashEndpointRequest) Reset ¶
func (m *BlockHashEndpointRequest) Reset()
func (*BlockHashEndpointRequest) String ¶
func (m *BlockHashEndpointRequest) String() string
func (*BlockHashEndpointRequest) XXX_DiscardUnknown ¶
func (m *BlockHashEndpointRequest) XXX_DiscardUnknown()
func (*BlockHashEndpointRequest) XXX_Marshal ¶
func (m *BlockHashEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHashEndpointRequest) XXX_Merge ¶
func (dst *BlockHashEndpointRequest) XXX_Merge(src proto.Message)
func (*BlockHashEndpointRequest) XXX_Size ¶
func (m *BlockHashEndpointRequest) XXX_Size() int
func (*BlockHashEndpointRequest) XXX_Unmarshal ¶
func (m *BlockHashEndpointRequest) XXX_Unmarshal(b []byte) error
type BlockHeightEndpointRequest ¶
type BlockHeightEndpointRequest struct { // network Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` // Integer representing the height of the block you’re interested in querying, for example: `1500000` BlockHeight string `protobuf:"bytes,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Filters response to only include transaction hashes after txstart height in the block. Txstart int32 `protobuf:"varint,3,opt,name=txstart,proto3" json:"txstart,omitempty"` // Filters response to only include a maximum of limit transactions hashes in the block. Defaults to 20, maximum value allowed is 500. Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockHeightEndpointRequest) Descriptor ¶
func (*BlockHeightEndpointRequest) Descriptor() ([]byte, []int)
func (*BlockHeightEndpointRequest) GetBlockHeight ¶
func (m *BlockHeightEndpointRequest) GetBlockHeight() string
func (*BlockHeightEndpointRequest) GetLimit ¶
func (m *BlockHeightEndpointRequest) GetLimit() int32
func (*BlockHeightEndpointRequest) GetNetwork ¶
func (m *BlockHeightEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*BlockHeightEndpointRequest) GetTxstart ¶
func (m *BlockHeightEndpointRequest) GetTxstart() int32
func (*BlockHeightEndpointRequest) ProtoMessage ¶
func (*BlockHeightEndpointRequest) ProtoMessage()
func (*BlockHeightEndpointRequest) Reset ¶
func (m *BlockHeightEndpointRequest) Reset()
func (*BlockHeightEndpointRequest) String ¶
func (m *BlockHeightEndpointRequest) String() string
func (*BlockHeightEndpointRequest) XXX_DiscardUnknown ¶
func (m *BlockHeightEndpointRequest) XXX_DiscardUnknown()
func (*BlockHeightEndpointRequest) XXX_Marshal ¶
func (m *BlockHeightEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHeightEndpointRequest) XXX_Merge ¶
func (dst *BlockHeightEndpointRequest) XXX_Merge(src proto.Message)
func (*BlockHeightEndpointRequest) XXX_Size ¶
func (m *BlockHeightEndpointRequest) XXX_Size() int
func (*BlockHeightEndpointRequest) XXX_Unmarshal ¶
func (m *BlockHeightEndpointRequest) XXX_Unmarshal(b []byte) error
type Blockchain ¶
type Blockchain struct { // The name of the blockchain represented, in the form of $COIN.$CHAIN. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The current height of the blockchain; i.e., the number of blocks in the blockchain. Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // The hash of the latest confirmed block in the blockchain; in Ethereum, the hashing function is Keccak/SHA3. Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // The time of the latest update to the blockchain; typically when the latest block was added. Time string `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // The BlockCypher URL to query for more information on the latest confirmed block; returns a Block. LatestUrl string `protobuf:"bytes,5,opt,name=latest_url,json=latestUrl,proto3" json:"latest_url,omitempty"` // The hash of the second-to-latest confirmed block in the blockchain. PreviousHash string `protobuf:"bytes,6,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"` // The BlockCypher URL to query for more information on the second-to-latest confirmed block; returns a Block. PreviousUrl string `protobuf:"bytes,7,opt,name=previous_url,json=previousUrl,proto3" json:"previous_url,omitempty"` // Number of unconfirmed transactions in memory pool (likely to be included in next block). UnconfirmedCount uint32 `protobuf:"varint,8,opt,name=unconfirmed_count,json=unconfirmedCount,proto3" json:"unconfirmed_count,omitempty"` // A rolling average of the gas price (in wei) for transactions to be confirmed within 1 to 2 blocks. HighGasPrice []byte `protobuf:"bytes,9,opt,name=high_gas_price,json=highGasPrice,proto3" json:"high_gas_price,omitempty"` // A rolling average of the gas price (in wei) for transactions to be confirmed within 1 to 2 blocks. This is a hex string. HighGasPriceHex string `protobuf:"bytes,10,opt,name=high_gas_price_hex,json=highGasPriceHex,proto3" json:"high_gas_price_hex,omitempty"` // A rolling average of the gas price (in wei) for transactions to be confirmed within 3 to 6 blocks. MediumGasPrice []byte `protobuf:"bytes,11,opt,name=medium_gas_price,json=mediumGasPrice,proto3" json:"medium_gas_price,omitempty"` // A rolling average of the gas price (in wei) for transactions to be confirmed within 3 to 6 blocks. This is a hex string. MediumGasPriceHex string `protobuf:"bytes,12,opt,name=medium_gas_price_hex,json=mediumGasPriceHex,proto3" json:"medium_gas_price_hex,omitempty"` // A rolling average of the gas price (in wei) for transactions to be confirmed in 7 or more blocks. LowGasPrice []byte `protobuf:"bytes,13,opt,name=low_gas_price,json=lowGasPrice,proto3" json:"low_gas_price,omitempty"` // A rolling average of the gas price (in wei) for transactions to be confirmed in 7 or more blocks. This is a hex string. LowGasPriceHex string `protobuf:"bytes,14,opt,name=low_gas_price_hex,json=lowGasPriceHex,proto3" json:"low_gas_price_hex,omitempty"` // Optional The current height of the latest fork to the blockchain; when no competing blockchain fork present, not returned with endpoints that return Blockchains. LastForkHeight uint32 `protobuf:"varint,15,opt,name=last_fork_height,json=lastForkHeight,proto3" json:"last_fork_height,omitempty"` // Optional The hash of the latest confirmed block in the latest fork of the blockchain; when no competing blockchain fork present, not returned with endpoints that return Blockchains. LastForkHash string `protobuf:"bytes,16,opt,name=last_fork_hash,json=lastForkHash,proto3" json:"last_fork_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Blockchain) Descriptor ¶
func (*Blockchain) Descriptor() ([]byte, []int)
func (*Blockchain) GetHash ¶
func (m *Blockchain) GetHash() string
func (*Blockchain) GetHeight ¶
func (m *Blockchain) GetHeight() uint32
func (*Blockchain) GetHighGasPrice ¶
func (m *Blockchain) GetHighGasPrice() []byte
func (*Blockchain) GetHighGasPriceHex ¶
func (m *Blockchain) GetHighGasPriceHex() string
func (*Blockchain) GetLastForkHash ¶
func (m *Blockchain) GetLastForkHash() string
func (*Blockchain) GetLastForkHeight ¶
func (m *Blockchain) GetLastForkHeight() uint32
func (*Blockchain) GetLatestUrl ¶
func (m *Blockchain) GetLatestUrl() string
func (*Blockchain) GetLowGasPrice ¶
func (m *Blockchain) GetLowGasPrice() []byte
func (*Blockchain) GetLowGasPriceHex ¶
func (m *Blockchain) GetLowGasPriceHex() string
func (*Blockchain) GetMediumGasPrice ¶
func (m *Blockchain) GetMediumGasPrice() []byte
func (*Blockchain) GetMediumGasPriceHex ¶
func (m *Blockchain) GetMediumGasPriceHex() string
func (*Blockchain) GetName ¶
func (m *Blockchain) GetName() string
func (*Blockchain) GetPreviousHash ¶
func (m *Blockchain) GetPreviousHash() string
func (*Blockchain) GetPreviousUrl ¶
func (m *Blockchain) GetPreviousUrl() string
func (*Blockchain) GetTime ¶
func (m *Blockchain) GetTime() string
func (*Blockchain) GetUnconfirmedCount ¶
func (m *Blockchain) GetUnconfirmedCount() uint32
func (*Blockchain) ProtoMessage ¶
func (*Blockchain) ProtoMessage()
func (*Blockchain) Reset ¶
func (m *Blockchain) Reset()
func (*Blockchain) String ¶
func (m *Blockchain) String() string
func (*Blockchain) XXX_DiscardUnknown ¶
func (m *Blockchain) XXX_DiscardUnknown()
func (*Blockchain) XXX_Marshal ¶
func (m *Blockchain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Blockchain) XXX_Merge ¶
func (dst *Blockchain) XXX_Merge(src proto.Message)
func (*Blockchain) XXX_Size ¶
func (m *Blockchain) XXX_Size() int
func (*Blockchain) XXX_Unmarshal ¶
func (m *Blockchain) XXX_Unmarshal(b []byte) error
type BlockchainServiceClient ¶
type BlockchainServiceClient interface { ChainEndpoint(ctx context.Context, in *ChainEndpointRequest, opts ...grpc.CallOption) (*Blockchain, error) BlockHashEndpoint(ctx context.Context, in *BlockHashEndpointRequest, opts ...grpc.CallOption) (*Block, error) BlockHeightEndpoint(ctx context.Context, in *BlockHeightEndpointRequest, opts ...grpc.CallOption) (*Block, error) }
BlockchainServiceClient is the client API for BlockchainService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBlockchainServiceClient ¶
func NewBlockchainServiceClient(cc *grpc.ClientConn) BlockchainServiceClient
type BlockchainServiceServer ¶
type BlockchainServiceServer interface { ChainEndpoint(context.Context, *ChainEndpointRequest) (*Blockchain, error) BlockHashEndpoint(context.Context, *BlockHashEndpointRequest) (*Block, error) BlockHeightEndpoint(context.Context, *BlockHeightEndpointRequest) (*Block, error) }
BlockchainServiceServer is the server API for BlockchainService service.
type CallContractMethodEndpointRequest ¶
type CallContractMethodEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` QueryAddress string `protobuf:"bytes,2,opt,name=query_address,json=queryAddress,proto3" json:"query_address,omitempty"` Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` // Solidity code of this contract; required when creating a contract. In responses, only returned with contracts initially compiled by BlockCypher. Solidity string `protobuf:"bytes,4,opt,name=solidity,proto3" json:"solidity,omitempty"` // Parameters for either contract creation or method execution. Params []string `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"` // Named contract(s) to publish; necessary to specify when first creating a contract. Publish []string `protobuf:"bytes,6,rep,name=publish,proto3" json:"publish,omitempty"` // Private key associated with a funded Ethereum external account used to publish a contract or execute a method. Private string `protobuf:"bytes,7,opt,name=private,proto3" json:"private,omitempty"` // Maximum amount of gas to use in contract creation or method execution. GasLimit []byte `protobuf:"bytes,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // Maximum amount of gas to use in contract creation or method execution. This is a hex string. GasLimitHex string `protobuf:"bytes,9,opt,name=gas_limit_hex,json=gasLimitHex,proto3" json:"gas_limit_hex,omitempty"` // Amount (in wei) to transfer; can be used when creating a contract or calling a method. Value int32 `protobuf:"varint,10,opt,name=value,proto3" json:"value,omitempty"` // Name of contract as published. Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"` // Hex-encoded binary compilation of this contract. Bin string `protobuf:"bytes,13,opt,name=bin,proto3" json:"bin,omitempty"` // JSON-encoded ABI. Only returned with contracts initially compiled by BlockCypher. Abi string `protobuf:"bytes,14,opt,name=abi,proto3" json:"abi,omitempty"` // Hex-encoded address of this contract. Address string `protobuf:"bytes,15,opt,name=address,proto3" json:"address,omitempty"` // Timestamp when this contract was confirmed in the Ethereum blockchain. Created string `protobuf:"bytes,16,opt,name=created,proto3" json:"created,omitempty"` // Hex-encoded transaction hash that created this contract. CreationTxHash string `protobuf:"bytes,17,opt,name=creation_tx_hash,json=creationTxHash,proto3" json:"creation_tx_hash,omitempty"` // If this is a response from a calling a contract method, this array of results may appear if the method returns any. Results []string `protobuf:"bytes,18,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallContractMethodEndpointRequest) Descriptor ¶
func (*CallContractMethodEndpointRequest) Descriptor() ([]byte, []int)
func (*CallContractMethodEndpointRequest) GetAbi ¶
func (m *CallContractMethodEndpointRequest) GetAbi() string
func (*CallContractMethodEndpointRequest) GetAddress ¶
func (m *CallContractMethodEndpointRequest) GetAddress() string
func (*CallContractMethodEndpointRequest) GetBin ¶
func (m *CallContractMethodEndpointRequest) GetBin() string
func (*CallContractMethodEndpointRequest) GetCreated ¶
func (m *CallContractMethodEndpointRequest) GetCreated() string
func (*CallContractMethodEndpointRequest) GetCreationTxHash ¶
func (m *CallContractMethodEndpointRequest) GetCreationTxHash() string
func (*CallContractMethodEndpointRequest) GetGasLimit ¶
func (m *CallContractMethodEndpointRequest) GetGasLimit() []byte
func (*CallContractMethodEndpointRequest) GetGasLimitHex ¶
func (m *CallContractMethodEndpointRequest) GetGasLimitHex() string
func (*CallContractMethodEndpointRequest) GetMethod ¶
func (m *CallContractMethodEndpointRequest) GetMethod() string
func (*CallContractMethodEndpointRequest) GetName ¶
func (m *CallContractMethodEndpointRequest) GetName() string
func (*CallContractMethodEndpointRequest) GetNetwork ¶
func (m *CallContractMethodEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*CallContractMethodEndpointRequest) GetParams ¶
func (m *CallContractMethodEndpointRequest) GetParams() []string
func (*CallContractMethodEndpointRequest) GetPrivate ¶
func (m *CallContractMethodEndpointRequest) GetPrivate() string
func (*CallContractMethodEndpointRequest) GetPublish ¶
func (m *CallContractMethodEndpointRequest) GetPublish() []string
func (*CallContractMethodEndpointRequest) GetQueryAddress ¶
func (m *CallContractMethodEndpointRequest) GetQueryAddress() string
func (*CallContractMethodEndpointRequest) GetResults ¶
func (m *CallContractMethodEndpointRequest) GetResults() []string
func (*CallContractMethodEndpointRequest) GetSolidity ¶
func (m *CallContractMethodEndpointRequest) GetSolidity() string
func (*CallContractMethodEndpointRequest) GetValue ¶
func (m *CallContractMethodEndpointRequest) GetValue() int32
func (*CallContractMethodEndpointRequest) ProtoMessage ¶
func (*CallContractMethodEndpointRequest) ProtoMessage()
func (*CallContractMethodEndpointRequest) Reset ¶
func (m *CallContractMethodEndpointRequest) Reset()
func (*CallContractMethodEndpointRequest) String ¶
func (m *CallContractMethodEndpointRequest) String() string
func (*CallContractMethodEndpointRequest) XXX_DiscardUnknown ¶
func (m *CallContractMethodEndpointRequest) XXX_DiscardUnknown()
func (*CallContractMethodEndpointRequest) XXX_Marshal ¶
func (m *CallContractMethodEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CallContractMethodEndpointRequest) XXX_Merge ¶
func (dst *CallContractMethodEndpointRequest) XXX_Merge(src proto.Message)
func (*CallContractMethodEndpointRequest) XXX_Size ¶
func (m *CallContractMethodEndpointRequest) XXX_Size() int
func (*CallContractMethodEndpointRequest) XXX_Unmarshal ¶
func (m *CallContractMethodEndpointRequest) XXX_Unmarshal(b []byte) error
type ChainEndpointRequest ¶
type ChainEndpointRequest struct { // network Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChainEndpointRequest) Descriptor ¶
func (*ChainEndpointRequest) Descriptor() ([]byte, []int)
func (*ChainEndpointRequest) GetNetwork ¶
func (m *ChainEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*ChainEndpointRequest) ProtoMessage ¶
func (*ChainEndpointRequest) ProtoMessage()
func (*ChainEndpointRequest) Reset ¶
func (m *ChainEndpointRequest) Reset()
func (*ChainEndpointRequest) String ¶
func (m *ChainEndpointRequest) String() string
func (*ChainEndpointRequest) XXX_DiscardUnknown ¶
func (m *ChainEndpointRequest) XXX_DiscardUnknown()
func (*ChainEndpointRequest) XXX_Marshal ¶
func (m *ChainEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainEndpointRequest) XXX_Merge ¶
func (dst *ChainEndpointRequest) XXX_Merge(src proto.Message)
func (*ChainEndpointRequest) XXX_Size ¶
func (m *ChainEndpointRequest) XXX_Size() int
func (*ChainEndpointRequest) XXX_Unmarshal ¶
func (m *ChainEndpointRequest) XXX_Unmarshal(b []byte) error
type Contract ¶
type Contract struct { // Solidity code of this contract; required when creating a contract. In responses, only returned with contracts initially compiled by BlockCypher. Solidity string `protobuf:"bytes,1,opt,name=solidity,proto3" json:"solidity,omitempty"` // Parameters for either contract creation or method execution. Params []string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` // Named contract(s) to publish; necessary to specify when first creating a contract. Publish []string `protobuf:"bytes,3,rep,name=publish,proto3" json:"publish,omitempty"` // Private key associated with a funded Ethereum external account used to publish a contract or execute a method. Private string `protobuf:"bytes,4,opt,name=private,proto3" json:"private,omitempty"` // Maximum amount of gas to use in contract creation or method execution. GasLimit []byte `protobuf:"bytes,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // Maximum amount of gas to use in contract creation or method execution. This is a hex string. GasLimitHex string `protobuf:"bytes,6,opt,name=gas_limit_hex,json=gasLimitHex,proto3" json:"gas_limit_hex,omitempty"` // Amount (in wei) to transfer; can be used when creating a contract or calling a method. Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` // Amount (in wei) to transfer; can be used when creating a contract or calling a method. This is a hex string. ValueHex string `protobuf:"bytes,8,opt,name=value_hex,json=valueHex,proto3" json:"value_hex,omitempty"` // Name of contract as published. Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // Hex-encoded binary compilation of this contract. Bin string `protobuf:"bytes,10,opt,name=bin,proto3" json:"bin,omitempty"` // JSON-encoded ABI. Only returned with contracts initially compiled by BlockCypher. Abi string `protobuf:"bytes,11,opt,name=abi,proto3" json:"abi,omitempty"` // Hex-encoded address of this contract. Address string `protobuf:"bytes,12,opt,name=address,proto3" json:"address,omitempty"` // Timestamp when this contract was confirmed in the Ethereum blockchain. Created string `protobuf:"bytes,13,opt,name=created,proto3" json:"created,omitempty"` // Hex-encoded transaction hash that created this contract. CreationTxHash string `protobuf:"bytes,14,opt,name=creation_tx_hash,json=creationTxHash,proto3" json:"creation_tx_hash,omitempty"` // If this is a response from a calling a contract method, this array of results may appear if the method returns any. Results []string `protobuf:"bytes,15,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Contract) Descriptor ¶
func (*Contract) GetAddress ¶
func (*Contract) GetCreated ¶
func (*Contract) GetCreationTxHash ¶
func (*Contract) GetGasLimit ¶
func (*Contract) GetGasLimitHex ¶
func (*Contract) GetPrivate ¶
func (*Contract) GetPublish ¶
func (*Contract) GetResults ¶
func (*Contract) GetSolidity ¶
func (*Contract) GetValueHex ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
type ContractAddressEndpointRequest ¶
type ContractAddressEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` QueryAddress string `protobuf:"bytes,2,opt,name=query_address,json=queryAddress,proto3" json:"query_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ContractAddressEndpointRequest) Descriptor ¶
func (*ContractAddressEndpointRequest) Descriptor() ([]byte, []int)
func (*ContractAddressEndpointRequest) GetNetwork ¶
func (m *ContractAddressEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*ContractAddressEndpointRequest) GetQueryAddress ¶
func (m *ContractAddressEndpointRequest) GetQueryAddress() string
func (*ContractAddressEndpointRequest) ProtoMessage ¶
func (*ContractAddressEndpointRequest) ProtoMessage()
func (*ContractAddressEndpointRequest) Reset ¶
func (m *ContractAddressEndpointRequest) Reset()
func (*ContractAddressEndpointRequest) String ¶
func (m *ContractAddressEndpointRequest) String() string
func (*ContractAddressEndpointRequest) XXX_DiscardUnknown ¶
func (m *ContractAddressEndpointRequest) XXX_DiscardUnknown()
func (*ContractAddressEndpointRequest) XXX_Marshal ¶
func (m *ContractAddressEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractAddressEndpointRequest) XXX_Merge ¶
func (dst *ContractAddressEndpointRequest) XXX_Merge(src proto.Message)
func (*ContractAddressEndpointRequest) XXX_Size ¶
func (m *ContractAddressEndpointRequest) XXX_Size() int
func (*ContractAddressEndpointRequest) XXX_Unmarshal ¶
func (m *ContractAddressEndpointRequest) XXX_Unmarshal(b []byte) error
type ContractServiceClient ¶
type ContractServiceClient interface { CreateContractEndpoint(ctx context.Context, in *CreateContractEndpointRequest, opts ...grpc.CallOption) (*Contracts, error) ContractAddressEndpoint(ctx context.Context, in *ContractAddressEndpointRequest, opts ...grpc.CallOption) (*Contract, error) CallContractMethodEndpoint(ctx context.Context, in *CallContractMethodEndpointRequest, opts ...grpc.CallOption) (*Contract, error) }
ContractServiceClient is the client API for ContractService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewContractServiceClient ¶
func NewContractServiceClient(cc *grpc.ClientConn) ContractServiceClient
type ContractServiceServer ¶
type ContractServiceServer interface { CreateContractEndpoint(context.Context, *CreateContractEndpointRequest) (*Contracts, error) ContractAddressEndpoint(context.Context, *ContractAddressEndpointRequest) (*Contract, error) CallContractMethodEndpoint(context.Context, *CallContractMethodEndpointRequest) (*Contract, error) }
ContractServiceServer is the server API for ContractService service.
type Contracts ¶
type Contracts struct { Contract []*Contract `protobuf:"bytes,1,rep,name=contract,proto3" json:"contract,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Contracts) Descriptor ¶
func (*Contracts) GetContract ¶
func (*Contracts) ProtoMessage ¶
func (*Contracts) ProtoMessage()
func (*Contracts) XXX_DiscardUnknown ¶
func (m *Contracts) XXX_DiscardUnknown()
func (*Contracts) XXX_Marshal ¶
func (*Contracts) XXX_Unmarshal ¶
type CreateContractEndpointRequest ¶
type CreateContractEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` // Solidity code of this contract; required when creating a contract. In responses, only returned with contracts initially compiled by BlockCypher. Solidity string `protobuf:"bytes,2,opt,name=solidity,proto3" json:"solidity,omitempty"` // Parameters for either contract creation or method execution. Params []string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"` // Named contract(s) to publish; necessary to specify when first creating a contract. Publish []string `protobuf:"bytes,4,rep,name=publish,proto3" json:"publish,omitempty"` // Private key associated with a funded Ethereum external account used to publish a contract or execute a method. Private string `protobuf:"bytes,5,opt,name=private,proto3" json:"private,omitempty"` // Maximum amount of gas to use in contract creation or method execution. GasLimit []byte `protobuf:"bytes,6,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // Maximum amount of gas to use in contract creation or method execution. This is a hex string. GasLimitHex string `protobuf:"bytes,7,opt,name=gas_limit_hex,json=gasLimitHex,proto3" json:"gas_limit_hex,omitempty"` // Amount (in wei) to transfer; can be used when creating a contract or calling a method. Value []byte `protobuf:"bytes,8,opt,name=value,proto3" json:"value,omitempty"` // Amount (in wei) to transfer; can be used when creating a contract or calling a method. This is a hex string. ValueHex string `protobuf:"bytes,9,opt,name=value_hex,json=valueHex,proto3" json:"value_hex,omitempty"` // Name of contract as published. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Hex-encoded binary compilation of this contract. Bin string `protobuf:"bytes,11,opt,name=bin,proto3" json:"bin,omitempty"` // JSON-encoded ABI. Only returned with contracts initially compiled by BlockCypher. Abi string `protobuf:"bytes,12,opt,name=abi,proto3" json:"abi,omitempty"` // Hex-encoded address of this contract. Address string `protobuf:"bytes,13,opt,name=address,proto3" json:"address,omitempty"` // Timestamp when this contract was confirmed in the Ethereum blockchain. Created string `protobuf:"bytes,14,opt,name=created,proto3" json:"created,omitempty"` // Hex-encoded transaction hash that created this contract. CreationTxHash string `protobuf:"bytes,15,opt,name=creation_tx_hash,json=creationTxHash,proto3" json:"creation_tx_hash,omitempty"` // If this is a response from a calling a contract method, this array of results may appear if the method returns any. Results []string `protobuf:"bytes,16,rep,name=results,proto3" json:"results,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateContractEndpointRequest) Descriptor ¶
func (*CreateContractEndpointRequest) Descriptor() ([]byte, []int)
func (*CreateContractEndpointRequest) GetAbi ¶
func (m *CreateContractEndpointRequest) GetAbi() string
func (*CreateContractEndpointRequest) GetAddress ¶
func (m *CreateContractEndpointRequest) GetAddress() string
func (*CreateContractEndpointRequest) GetBin ¶
func (m *CreateContractEndpointRequest) GetBin() string
func (*CreateContractEndpointRequest) GetCreated ¶
func (m *CreateContractEndpointRequest) GetCreated() string
func (*CreateContractEndpointRequest) GetCreationTxHash ¶
func (m *CreateContractEndpointRequest) GetCreationTxHash() string
func (*CreateContractEndpointRequest) GetGasLimit ¶
func (m *CreateContractEndpointRequest) GetGasLimit() []byte
func (*CreateContractEndpointRequest) GetGasLimitHex ¶
func (m *CreateContractEndpointRequest) GetGasLimitHex() string
func (*CreateContractEndpointRequest) GetName ¶
func (m *CreateContractEndpointRequest) GetName() string
func (*CreateContractEndpointRequest) GetNetwork ¶
func (m *CreateContractEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*CreateContractEndpointRequest) GetParams ¶
func (m *CreateContractEndpointRequest) GetParams() []string
func (*CreateContractEndpointRequest) GetPrivate ¶
func (m *CreateContractEndpointRequest) GetPrivate() string
func (*CreateContractEndpointRequest) GetPublish ¶
func (m *CreateContractEndpointRequest) GetPublish() []string
func (*CreateContractEndpointRequest) GetResults ¶
func (m *CreateContractEndpointRequest) GetResults() []string
func (*CreateContractEndpointRequest) GetSolidity ¶
func (m *CreateContractEndpointRequest) GetSolidity() string
func (*CreateContractEndpointRequest) GetValue ¶
func (m *CreateContractEndpointRequest) GetValue() []byte
func (*CreateContractEndpointRequest) GetValueHex ¶
func (m *CreateContractEndpointRequest) GetValueHex() string
func (*CreateContractEndpointRequest) ProtoMessage ¶
func (*CreateContractEndpointRequest) ProtoMessage()
func (*CreateContractEndpointRequest) Reset ¶
func (m *CreateContractEndpointRequest) Reset()
func (*CreateContractEndpointRequest) String ¶
func (m *CreateContractEndpointRequest) String() string
func (*CreateContractEndpointRequest) XXX_DiscardUnknown ¶
func (m *CreateContractEndpointRequest) XXX_DiscardUnknown()
func (*CreateContractEndpointRequest) XXX_Marshal ¶
func (m *CreateContractEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateContractEndpointRequest) XXX_Merge ¶
func (dst *CreateContractEndpointRequest) XXX_Merge(src proto.Message)
func (*CreateContractEndpointRequest) XXX_Size ¶
func (m *CreateContractEndpointRequest) XXX_Size() int
func (*CreateContractEndpointRequest) XXX_Unmarshal ¶
func (m *CreateContractEndpointRequest) XXX_Unmarshal(b []byte) error
type CreateTransactionEndpointRequest ¶
type CreateTransactionEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` // Height of the block that contains this transaction. If this is an unconfirmed transaction, it will equal -1. BlockHeight int32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // The hash of the transaction. Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // Array of Ethereum addresses involved in the transaction. Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` // The total number of wei exchanged in this transaction. Total []byte `protobuf:"bytes,5,opt,name=total,proto3" json:"total,omitempty"` // The total number of wei exchanged in this transaction. This is a hex string. TotalHex string `protobuf:"bytes,6,opt,name=total_hex,json=totalHex,proto3" json:"total_hex,omitempty"` // The total number of fees—in wei—collected by miners in this transaction. Equal to gas_price * gas_used. Fees []byte `protobuf:"bytes,7,opt,name=fees,proto3" json:"fees,omitempty"` // The total number of fees—in wei—collected by miners in this transaction. Equal to gas_price * gas_used. This is a hex string. FeesHex string `protobuf:"bytes,8,opt,name=fees_hex,json=feesHex,proto3" json:"fees_hex,omitempty"` // The size of the transaction in bytes. Size uint32 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"` // The amount of gas used by this transaction. GasUsed []byte `protobuf:"bytes,10,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // The amount of gas used by this transaction. This is a hex string. GasUsedHex string `protobuf:"bytes,11,opt,name=gas_used_hex,json=gasUsedHex,proto3" json:"gas_used_hex,omitempty"` // The price of gas—in wei—in this transaction. GasPrice []byte `protobuf:"bytes,12,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // The price of gas—in wei—in this transaction. This is a hex string. GasPriceHex string `protobuf:"bytes,13,opt,name=gas_price_hex,json=gasPriceHex,proto3" json:"gas_price_hex,omitempty"` // Address of the peer that sent BlockCypher’s servers this transaction. May be empty. RelayedBy string `protobuf:"bytes,14,opt,name=relayed_by,json=relayedBy,proto3" json:"relayed_by,omitempty"` // Time this transaction was received by BlockCypher’s servers. Received string `protobuf:"bytes,15,opt,name=received,proto3" json:"received,omitempty"` // Version number of this transaction. Ver int32 `protobuf:"varint,16,opt,name=ver,proto3" json:"ver,omitempty"` // true if this is an attempted double spend; false otherwise. DoubleSpend bool `protobuf:"varint,17,opt,name=double_spend,json=doubleSpend,proto3" json:"double_spend,omitempty"` // Total number of inputs in the transaction. VinSz int32 `protobuf:"varint,18,opt,name=vin_sz,json=vinSz,proto3" json:"vin_sz,omitempty"` // Total number of outputs in the transaction. VoutSz int32 `protobuf:"varint,19,opt,name=vout_sz,json=voutSz,proto3" json:"vout_sz,omitempty"` // Number of subsequent blocks, including the block the transaction is in. Unconfirmed transactions have 0 confirmations. Confirmations int32 `protobuf:"varint,20,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // An array object containing a single input with a sequence number (used as a nonce for account balances) and an Ethereum account address. Only contains one input in the array; we still use an array to maintain parity with the Bitcoin API. Inputs []*InputType `protobuf:"bytes,21,rep,name=inputs,proto3" json:"inputs,omitempty"` // An array object containing a single output with value (in wei), script, and an Ethereum account address. Only contains one output in the array; we still use an array to maintain parity with the Bitcoin API. Outputs []*OutputType `protobuf:"bytes,22,rep,name=outputs,proto3" json:"outputs,omitempty"` // Optional If this transaction executed a contract which propagated its own subsequent transactions, then this array will be present, containing the hashes of those subsequent internal transactions. InternalTxids []string `protobuf:"bytes,23,rep,name=internal_txids,json=internalTxids,proto3" json:"internal_txids,omitempty"` // Optional If this transaction was initiated by a contract, this field will be present, conveying the hash of the parent transaction that executed the contract resulting in this transaction (the inverse of an internal_txids hash). ParentTx string `protobuf:"bytes,24,opt,name=parent_tx,json=parentTx,proto3" json:"parent_tx,omitempty"` // Optional Time at which transaction was included in a block; only present for confirmed transactions. Confirmed string `protobuf:"bytes,25,opt,name=confirmed,proto3" json:"confirmed,omitempty"` // Optional If creating a transaction, can optionally set a higher default gas limit (useful if your recepient is a contract). If not set, default is 21000 gas for external accounts and 80000 for contract accounts. GasLimit []byte `protobuf:"bytes,26,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // Optional If creating a transaction, can optionally set a higher default gas limit (useful if your recepient is a contract). If not set, default is 21000 gas for external accounts and 80000 for contract accounts. This is a hex string. GasLimitHex string `protobuf:"bytes,27,opt,name=gas_limit_hex,json=gasLimitHex,proto3" json:"gas_limit_hex,omitempty"` // Optional If true, this transaction was used to create a contract and contract account. Note that the contract address (in the outputs field) will be blank until the transaction is confirmed. ContractCreation bool `protobuf:"varint,28,opt,name=contract_creation,json=contractCreation,proto3" json:"contract_creation,omitempty"` // Optional Number of peers that have sent this transaction to BlockCypher; only present for unconfirmed transactions. ReceiveCount int32 `protobuf:"varint,29,opt,name=receive_count,json=receiveCount,proto3" json:"receive_count,omitempty"` // Optional Hash of the block that contains this transaction; only present for confirmed transactions. BlockHash string `protobuf:"bytes,30,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Optional Canonical, zero-indexed location of this transaction in a block; only present for confirmed transactions. BlockIndex int32 `protobuf:"varint,31,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"` // Optional If this transaction is a double-spend (i.e. double_spend == true) then this is the hash of the transaction it’s double-spending. DoubleOf string `protobuf:"bytes,32,opt,name=double_of,json=doubleOf,proto3" json:"double_of,omitempty"` // Optional If this transaction has an execution error, then this field will be included (e.g. “out of gas”). ExecutionError string `protobuf:"bytes,33,opt,name=execution_error,json=executionError,proto3" json:"execution_error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateTransactionEndpointRequest) Descriptor ¶
func (*CreateTransactionEndpointRequest) Descriptor() ([]byte, []int)
func (*CreateTransactionEndpointRequest) GetAddresses ¶
func (m *CreateTransactionEndpointRequest) GetAddresses() []string
func (*CreateTransactionEndpointRequest) GetBlockHash ¶
func (m *CreateTransactionEndpointRequest) GetBlockHash() string
func (*CreateTransactionEndpointRequest) GetBlockHeight ¶
func (m *CreateTransactionEndpointRequest) GetBlockHeight() int32
func (*CreateTransactionEndpointRequest) GetBlockIndex ¶
func (m *CreateTransactionEndpointRequest) GetBlockIndex() int32
func (*CreateTransactionEndpointRequest) GetConfirmations ¶
func (m *CreateTransactionEndpointRequest) GetConfirmations() int32
func (*CreateTransactionEndpointRequest) GetConfirmed ¶
func (m *CreateTransactionEndpointRequest) GetConfirmed() string
func (*CreateTransactionEndpointRequest) GetContractCreation ¶
func (m *CreateTransactionEndpointRequest) GetContractCreation() bool
func (*CreateTransactionEndpointRequest) GetDoubleOf ¶
func (m *CreateTransactionEndpointRequest) GetDoubleOf() string
func (*CreateTransactionEndpointRequest) GetDoubleSpend ¶
func (m *CreateTransactionEndpointRequest) GetDoubleSpend() bool
func (*CreateTransactionEndpointRequest) GetExecutionError ¶
func (m *CreateTransactionEndpointRequest) GetExecutionError() string
func (*CreateTransactionEndpointRequest) GetFees ¶
func (m *CreateTransactionEndpointRequest) GetFees() []byte
func (*CreateTransactionEndpointRequest) GetFeesHex ¶
func (m *CreateTransactionEndpointRequest) GetFeesHex() string
func (*CreateTransactionEndpointRequest) GetGasLimit ¶
func (m *CreateTransactionEndpointRequest) GetGasLimit() []byte
func (*CreateTransactionEndpointRequest) GetGasLimitHex ¶
func (m *CreateTransactionEndpointRequest) GetGasLimitHex() string
func (*CreateTransactionEndpointRequest) GetGasPrice ¶
func (m *CreateTransactionEndpointRequest) GetGasPrice() []byte
func (*CreateTransactionEndpointRequest) GetGasPriceHex ¶
func (m *CreateTransactionEndpointRequest) GetGasPriceHex() string
func (*CreateTransactionEndpointRequest) GetGasUsed ¶
func (m *CreateTransactionEndpointRequest) GetGasUsed() []byte
func (*CreateTransactionEndpointRequest) GetGasUsedHex ¶
func (m *CreateTransactionEndpointRequest) GetGasUsedHex() string
func (*CreateTransactionEndpointRequest) GetHash ¶
func (m *CreateTransactionEndpointRequest) GetHash() string
func (*CreateTransactionEndpointRequest) GetInputs ¶
func (m *CreateTransactionEndpointRequest) GetInputs() []*InputType
func (*CreateTransactionEndpointRequest) GetInternalTxids ¶
func (m *CreateTransactionEndpointRequest) GetInternalTxids() []string
func (*CreateTransactionEndpointRequest) GetNetwork ¶
func (m *CreateTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*CreateTransactionEndpointRequest) GetOutputs ¶
func (m *CreateTransactionEndpointRequest) GetOutputs() []*OutputType
func (*CreateTransactionEndpointRequest) GetParentTx ¶
func (m *CreateTransactionEndpointRequest) GetParentTx() string
func (*CreateTransactionEndpointRequest) GetReceiveCount ¶
func (m *CreateTransactionEndpointRequest) GetReceiveCount() int32
func (*CreateTransactionEndpointRequest) GetReceived ¶
func (m *CreateTransactionEndpointRequest) GetReceived() string
func (*CreateTransactionEndpointRequest) GetRelayedBy ¶
func (m *CreateTransactionEndpointRequest) GetRelayedBy() string
func (*CreateTransactionEndpointRequest) GetSize ¶
func (m *CreateTransactionEndpointRequest) GetSize() uint32
func (*CreateTransactionEndpointRequest) GetTotal ¶
func (m *CreateTransactionEndpointRequest) GetTotal() []byte
func (*CreateTransactionEndpointRequest) GetTotalHex ¶
func (m *CreateTransactionEndpointRequest) GetTotalHex() string
func (*CreateTransactionEndpointRequest) GetVer ¶
func (m *CreateTransactionEndpointRequest) GetVer() int32
func (*CreateTransactionEndpointRequest) GetVinSz ¶
func (m *CreateTransactionEndpointRequest) GetVinSz() int32
func (*CreateTransactionEndpointRequest) GetVoutSz ¶
func (m *CreateTransactionEndpointRequest) GetVoutSz() int32
func (*CreateTransactionEndpointRequest) ProtoMessage ¶
func (*CreateTransactionEndpointRequest) ProtoMessage()
func (*CreateTransactionEndpointRequest) Reset ¶
func (m *CreateTransactionEndpointRequest) Reset()
func (*CreateTransactionEndpointRequest) String ¶
func (m *CreateTransactionEndpointRequest) String() string
func (*CreateTransactionEndpointRequest) XXX_DiscardUnknown ¶
func (m *CreateTransactionEndpointRequest) XXX_DiscardUnknown()
func (*CreateTransactionEndpointRequest) XXX_Marshal ¶
func (m *CreateTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateTransactionEndpointRequest) XXX_Merge ¶
func (dst *CreateTransactionEndpointRequest) XXX_Merge(src proto.Message)
func (*CreateTransactionEndpointRequest) XXX_Size ¶
func (m *CreateTransactionEndpointRequest) XXX_Size() int
func (*CreateTransactionEndpointRequest) XXX_Unmarshal ¶
func (m *CreateTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
type CreateWebHookEndpointRequest ¶
type CreateWebHookEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` // Identifier of the event; generated when a new request is created. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Type of event; can be unconfirmed-tx, new-block, confirmed-tx, tx-confirmation, double-spend-tx. Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` // optional Only objects with a matching hash will be sent. The hash can either be for a block or a transaction. Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // optional Only transactions associated with the given address will be sent. Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` // optional Used in concert with the tx-confirmation event type to set the number of confirmations desired for which to receive an update. You’ll receive an updated TX for every confirmation up to this amount. The maximum allowed is 10; if not set, it will default to 6. Confirmations int32 `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // optional Callback URL for this Event’s WebHook; not applicable for WebSockets usage. Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` // Number of errors when attempting to POST to callback URL; not applicable for WebSockets usage. CallbackErrors int32 `protobuf:"varint,8,opt,name=callback_errors,json=callbackErrors,proto3" json:"callback_errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateWebHookEndpointRequest) Descriptor ¶
func (*CreateWebHookEndpointRequest) Descriptor() ([]byte, []int)
func (*CreateWebHookEndpointRequest) GetAddress ¶
func (m *CreateWebHookEndpointRequest) GetAddress() string
func (*CreateWebHookEndpointRequest) GetCallbackErrors ¶
func (m *CreateWebHookEndpointRequest) GetCallbackErrors() int32
func (*CreateWebHookEndpointRequest) GetConfirmations ¶
func (m *CreateWebHookEndpointRequest) GetConfirmations() int32
func (*CreateWebHookEndpointRequest) GetEvent ¶
func (m *CreateWebHookEndpointRequest) GetEvent() string
func (*CreateWebHookEndpointRequest) GetHash ¶
func (m *CreateWebHookEndpointRequest) GetHash() string
func (*CreateWebHookEndpointRequest) GetId ¶
func (m *CreateWebHookEndpointRequest) GetId() string
func (*CreateWebHookEndpointRequest) GetNetwork ¶
func (m *CreateWebHookEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*CreateWebHookEndpointRequest) GetUrl ¶
func (m *CreateWebHookEndpointRequest) GetUrl() string
func (*CreateWebHookEndpointRequest) ProtoMessage ¶
func (*CreateWebHookEndpointRequest) ProtoMessage()
func (*CreateWebHookEndpointRequest) Reset ¶
func (m *CreateWebHookEndpointRequest) Reset()
func (*CreateWebHookEndpointRequest) String ¶
func (m *CreateWebHookEndpointRequest) String() string
func (*CreateWebHookEndpointRequest) XXX_DiscardUnknown ¶
func (m *CreateWebHookEndpointRequest) XXX_DiscardUnknown()
func (*CreateWebHookEndpointRequest) XXX_Marshal ¶
func (m *CreateWebHookEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateWebHookEndpointRequest) XXX_Merge ¶
func (dst *CreateWebHookEndpointRequest) XXX_Merge(src proto.Message)
func (*CreateWebHookEndpointRequest) XXX_Size ¶
func (m *CreateWebHookEndpointRequest) XXX_Size() int
func (*CreateWebHookEndpointRequest) XXX_Unmarshal ¶
func (m *CreateWebHookEndpointRequest) XXX_Unmarshal(b []byte) error
type DecodeRawTransactionEndpointRequest ¶
type DecodeRawTransactionEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Tx string `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DecodeRawTransactionEndpointRequest) Descriptor ¶
func (*DecodeRawTransactionEndpointRequest) Descriptor() ([]byte, []int)
func (*DecodeRawTransactionEndpointRequest) GetNetwork ¶
func (m *DecodeRawTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*DecodeRawTransactionEndpointRequest) GetTx ¶
func (m *DecodeRawTransactionEndpointRequest) GetTx() string
func (*DecodeRawTransactionEndpointRequest) ProtoMessage ¶
func (*DecodeRawTransactionEndpointRequest) ProtoMessage()
func (*DecodeRawTransactionEndpointRequest) Reset ¶
func (m *DecodeRawTransactionEndpointRequest) Reset()
func (*DecodeRawTransactionEndpointRequest) String ¶
func (m *DecodeRawTransactionEndpointRequest) String() string
func (*DecodeRawTransactionEndpointRequest) XXX_DiscardUnknown ¶
func (m *DecodeRawTransactionEndpointRequest) XXX_DiscardUnknown()
func (*DecodeRawTransactionEndpointRequest) XXX_Marshal ¶
func (m *DecodeRawTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DecodeRawTransactionEndpointRequest) XXX_Merge ¶
func (dst *DecodeRawTransactionEndpointRequest) XXX_Merge(src proto.Message)
func (*DecodeRawTransactionEndpointRequest) XXX_Size ¶
func (m *DecodeRawTransactionEndpointRequest) XXX_Size() int
func (*DecodeRawTransactionEndpointRequest) XXX_Unmarshal ¶
func (m *DecodeRawTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
type DeleteWebHookEndpointRequest ¶
type DeleteWebHookEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Webhookid string `protobuf:"bytes,2,opt,name=webhookid,proto3" json:"webhookid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteWebHookEndpointRequest) Descriptor ¶
func (*DeleteWebHookEndpointRequest) Descriptor() ([]byte, []int)
func (*DeleteWebHookEndpointRequest) GetNetwork ¶
func (m *DeleteWebHookEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*DeleteWebHookEndpointRequest) GetWebhookid ¶
func (m *DeleteWebHookEndpointRequest) GetWebhookid() string
func (*DeleteWebHookEndpointRequest) ProtoMessage ¶
func (*DeleteWebHookEndpointRequest) ProtoMessage()
func (*DeleteWebHookEndpointRequest) Reset ¶
func (m *DeleteWebHookEndpointRequest) Reset()
func (*DeleteWebHookEndpointRequest) String ¶
func (m *DeleteWebHookEndpointRequest) String() string
func (*DeleteWebHookEndpointRequest) XXX_DiscardUnknown ¶
func (m *DeleteWebHookEndpointRequest) XXX_DiscardUnknown()
func (*DeleteWebHookEndpointRequest) XXX_Marshal ¶
func (m *DeleteWebHookEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteWebHookEndpointRequest) XXX_Merge ¶
func (dst *DeleteWebHookEndpointRequest) XXX_Merge(src proto.Message)
func (*DeleteWebHookEndpointRequest) XXX_Size ¶
func (m *DeleteWebHookEndpointRequest) XXX_Size() int
func (*DeleteWebHookEndpointRequest) XXX_Unmarshal ¶
func (m *DeleteWebHookEndpointRequest) XXX_Unmarshal(b []byte) error
type Event ¶
type Event struct { // Identifier of the event; generated when a new request is created. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Type of event; can be unconfirmed-tx, new-block, confirmed-tx, tx-confirmation, double-spend-tx. Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` // optional Only objects with a matching hash will be sent. The hash can either be for a block or a transaction. Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // optional Only transactions associated with the given address will be sent. Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // optional Used in concert with the tx-confirmation event type to set the number of confirmations desired for which to receive an update. You’ll receive an updated TX for every confirmation up to this amount. The maximum allowed is 10; if not set, it will default to 6. Confirmations uint32 `protobuf:"varint,5,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // optional Callback URL for this Event’s WebHook; not applicable for WebSockets usage. Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // Number of errors when attempting to POST to callback URL; not applicable for WebSockets usage. CallbackErrors uint32 `protobuf:"varint,7,opt,name=callback_errors,json=callbackErrors,proto3" json:"callback_errors,omitempty"` // filter Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetAddress ¶
func (*Event) GetCallbackErrors ¶
func (*Event) GetConfirmations ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type Events ¶
type Events struct { Event []*Event `protobuf:"bytes,1,rep,name=event,proto3" json:"event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Events) Descriptor ¶
func (*Events) ProtoMessage ¶
func (*Events) ProtoMessage()
func (*Events) XXX_DiscardUnknown ¶
func (m *Events) XXX_DiscardUnknown()
func (*Events) XXX_Marshal ¶
func (*Events) XXX_Unmarshal ¶
type GenerateAddressEndpointRequest ¶
type GenerateAddressEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GenerateAddressEndpointRequest) Descriptor ¶
func (*GenerateAddressEndpointRequest) Descriptor() ([]byte, []int)
func (*GenerateAddressEndpointRequest) GetNetwork ¶
func (m *GenerateAddressEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*GenerateAddressEndpointRequest) ProtoMessage ¶
func (*GenerateAddressEndpointRequest) ProtoMessage()
func (*GenerateAddressEndpointRequest) Reset ¶
func (m *GenerateAddressEndpointRequest) Reset()
func (*GenerateAddressEndpointRequest) String ¶
func (m *GenerateAddressEndpointRequest) String() string
func (*GenerateAddressEndpointRequest) XXX_DiscardUnknown ¶
func (m *GenerateAddressEndpointRequest) XXX_DiscardUnknown()
func (*GenerateAddressEndpointRequest) XXX_Marshal ¶
func (m *GenerateAddressEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateAddressEndpointRequest) XXX_Merge ¶
func (dst *GenerateAddressEndpointRequest) XXX_Merge(src proto.Message)
func (*GenerateAddressEndpointRequest) XXX_Size ¶
func (m *GenerateAddressEndpointRequest) XXX_Size() int
func (*GenerateAddressEndpointRequest) XXX_Unmarshal ¶
func (m *GenerateAddressEndpointRequest) XXX_Unmarshal(b []byte) error
type InputType ¶
type InputType struct { Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InputType) Descriptor ¶
func (*InputType) GetAddresses ¶
func (*InputType) GetSequence ¶
func (*InputType) ProtoMessage ¶
func (*InputType) ProtoMessage()
func (*InputType) XXX_DiscardUnknown ¶
func (m *InputType) XXX_DiscardUnknown()
func (*InputType) XXX_Marshal ¶
func (*InputType) XXX_Unmarshal ¶
type ListWebHooksEndpointRequest ¶
type ListWebHooksEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListWebHooksEndpointRequest) Descriptor ¶
func (*ListWebHooksEndpointRequest) Descriptor() ([]byte, []int)
func (*ListWebHooksEndpointRequest) GetNetwork ¶
func (m *ListWebHooksEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*ListWebHooksEndpointRequest) ProtoMessage ¶
func (*ListWebHooksEndpointRequest) ProtoMessage()
func (*ListWebHooksEndpointRequest) Reset ¶
func (m *ListWebHooksEndpointRequest) Reset()
func (*ListWebHooksEndpointRequest) String ¶
func (m *ListWebHooksEndpointRequest) String() string
func (*ListWebHooksEndpointRequest) XXX_DiscardUnknown ¶
func (m *ListWebHooksEndpointRequest) XXX_DiscardUnknown()
func (*ListWebHooksEndpointRequest) XXX_Marshal ¶
func (m *ListWebHooksEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListWebHooksEndpointRequest) XXX_Merge ¶
func (dst *ListWebHooksEndpointRequest) XXX_Merge(src proto.Message)
func (*ListWebHooksEndpointRequest) XXX_Size ¶
func (m *ListWebHooksEndpointRequest) XXX_Size() int
func (*ListWebHooksEndpointRequest) XXX_Unmarshal ¶
func (m *ListWebHooksEndpointRequest) XXX_Unmarshal(b []byte) error
type NetworkAllowingAlias ¶
type NetworkAllowingAlias int32
const ( NetworkAllowingAlias_MAIN NetworkAllowingAlias = 0 NetworkAllowingAlias_main NetworkAllowingAlias = 0 NetworkAllowingAlias_ROPSTEN NetworkAllowingAlias = 1 NetworkAllowingAlias_ropsten NetworkAllowingAlias = 1 )
func (NetworkAllowingAlias) EnumDescriptor ¶
func (NetworkAllowingAlias) EnumDescriptor() ([]byte, []int)
func (NetworkAllowingAlias) String ¶
func (x NetworkAllowingAlias) String() string
type NullValue ¶
type NullValue struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NullValue) Descriptor ¶
func (*NullValue) ProtoMessage ¶
func (*NullValue) ProtoMessage()
func (*NullValue) XXX_DiscardUnknown ¶
func (m *NullValue) XXX_DiscardUnknown()
func (*NullValue) XXX_Marshal ¶
func (*NullValue) XXX_Unmarshal ¶
type OutputType ¶
type OutputType struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` ValueHex string `protobuf:"bytes,2,opt,name=value_hex,json=valueHex,proto3" json:"value_hex,omitempty"` Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutputType) Descriptor ¶
func (*OutputType) Descriptor() ([]byte, []int)
func (*OutputType) GetAddresses ¶
func (m *OutputType) GetAddresses() []string
func (*OutputType) GetScript ¶
func (m *OutputType) GetScript() string
func (*OutputType) GetValue ¶
func (m *OutputType) GetValue() []byte
func (*OutputType) GetValueHex ¶
func (m *OutputType) GetValueHex() string
func (*OutputType) ProtoMessage ¶
func (*OutputType) ProtoMessage()
func (*OutputType) Reset ¶
func (m *OutputType) Reset()
func (*OutputType) String ¶
func (m *OutputType) String() string
func (*OutputType) XXX_DiscardUnknown ¶
func (m *OutputType) XXX_DiscardUnknown()
func (*OutputType) XXX_Marshal ¶
func (m *OutputType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputType) XXX_Merge ¶
func (dst *OutputType) XXX_Merge(src proto.Message)
func (*OutputType) XXX_Size ¶
func (m *OutputType) XXX_Size() int
func (*OutputType) XXX_Unmarshal ¶
func (m *OutputType) XXX_Unmarshal(b []byte) error
type PushRawTransactionEndpointRequest ¶
type PushRawTransactionEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Tx string `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushRawTransactionEndpointRequest) Descriptor ¶
func (*PushRawTransactionEndpointRequest) Descriptor() ([]byte, []int)
func (*PushRawTransactionEndpointRequest) GetNetwork ¶
func (m *PushRawTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*PushRawTransactionEndpointRequest) GetTx ¶
func (m *PushRawTransactionEndpointRequest) GetTx() string
func (*PushRawTransactionEndpointRequest) ProtoMessage ¶
func (*PushRawTransactionEndpointRequest) ProtoMessage()
func (*PushRawTransactionEndpointRequest) Reset ¶
func (m *PushRawTransactionEndpointRequest) Reset()
func (*PushRawTransactionEndpointRequest) String ¶
func (m *PushRawTransactionEndpointRequest) String() string
func (*PushRawTransactionEndpointRequest) XXX_DiscardUnknown ¶
func (m *PushRawTransactionEndpointRequest) XXX_DiscardUnknown()
func (*PushRawTransactionEndpointRequest) XXX_Marshal ¶
func (m *PushRawTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushRawTransactionEndpointRequest) XXX_Merge ¶
func (dst *PushRawTransactionEndpointRequest) XXX_Merge(src proto.Message)
func (*PushRawTransactionEndpointRequest) XXX_Size ¶
func (m *PushRawTransactionEndpointRequest) XXX_Size() int
func (*PushRawTransactionEndpointRequest) XXX_Unmarshal ¶
func (m *PushRawTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
type SendTransactionEndpointRequest ¶
type SendTransactionEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` // A temporary TX, usually returned fully filled. Tx *TX `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` // Array of hex-encoded data for you to sign, containing one element for you to sign. Still an array to maintain parity with the Bitcoin API. Tosign []string `protobuf:"bytes,3,rep,name=tosign,proto3" json:"tosign,omitempty"` // Array of signatures corresponding to all the data in tosign, typically provided by you. Only one signature is required. Signatures []string `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures,omitempty"` // Optional Array of errors in the form “error”:“description-of-error”. This is only returned if there was an error in any stage of transaction generation, and is usually accompanied by a HTTP 400 code. Errors []string `protobuf:"bytes,5,rep,name=errors,proto3" json:"errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SendTransactionEndpointRequest) Descriptor ¶
func (*SendTransactionEndpointRequest) Descriptor() ([]byte, []int)
func (*SendTransactionEndpointRequest) GetErrors ¶
func (m *SendTransactionEndpointRequest) GetErrors() []string
func (*SendTransactionEndpointRequest) GetNetwork ¶
func (m *SendTransactionEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*SendTransactionEndpointRequest) GetSignatures ¶
func (m *SendTransactionEndpointRequest) GetSignatures() []string
func (*SendTransactionEndpointRequest) GetTosign ¶
func (m *SendTransactionEndpointRequest) GetTosign() []string
func (*SendTransactionEndpointRequest) GetTx ¶
func (m *SendTransactionEndpointRequest) GetTx() *TX
func (*SendTransactionEndpointRequest) ProtoMessage ¶
func (*SendTransactionEndpointRequest) ProtoMessage()
func (*SendTransactionEndpointRequest) Reset ¶
func (m *SendTransactionEndpointRequest) Reset()
func (*SendTransactionEndpointRequest) String ¶
func (m *SendTransactionEndpointRequest) String() string
func (*SendTransactionEndpointRequest) XXX_DiscardUnknown ¶
func (m *SendTransactionEndpointRequest) XXX_DiscardUnknown()
func (*SendTransactionEndpointRequest) XXX_Marshal ¶
func (m *SendTransactionEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTransactionEndpointRequest) XXX_Merge ¶
func (dst *SendTransactionEndpointRequest) XXX_Merge(src proto.Message)
func (*SendTransactionEndpointRequest) XXX_Size ¶
func (m *SendTransactionEndpointRequest) XXX_Size() int
func (*SendTransactionEndpointRequest) XXX_Unmarshal ¶
func (m *SendTransactionEndpointRequest) XXX_Unmarshal(b []byte) error
type TX ¶
type TX struct { // Height of the block that contains this transaction. If this is an unconfirmed transaction, it will equal -1. BlockHeight int32 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // The hash of the transaction. Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Array of Ethereum addresses involved in the transaction. Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // The total number of wei exchanged in this transaction. Total []byte `protobuf:"bytes,4,opt,name=total,proto3" json:"total,omitempty"` // The total number of wei exchanged in this transaction. This is a hex string. TotalHex string `protobuf:"bytes,5,opt,name=total_hex,json=totalHex,proto3" json:"total_hex,omitempty"` // The total number of fees—in wei—collected by miners in this transaction. Equal to gas_price * gas_used. Fees []byte `protobuf:"bytes,6,opt,name=fees,proto3" json:"fees,omitempty"` // The total number of fees—in wei—collected by miners in this transaction. Equal to gas_price * gas_used. This is a hex string. FeesHex string `protobuf:"bytes,7,opt,name=fees_hex,json=feesHex,proto3" json:"fees_hex,omitempty"` // The size of the transaction in bytes. Size uint32 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` // The amount of gas used by this transaction. GasUsed []byte `protobuf:"bytes,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // The amount of gas used by this transaction. This is a hex string. GasUsedHex string `protobuf:"bytes,10,opt,name=gas_used_hex,json=gasUsedHex,proto3" json:"gas_used_hex,omitempty"` // The price of gas—in wei—in this transaction. GasPrice []byte `protobuf:"bytes,11,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // The price of gas—in wei—in this transaction. This is a hex string. GasPriceHex string `protobuf:"bytes,12,opt,name=gas_price_hex,json=gasPriceHex,proto3" json:"gas_price_hex,omitempty"` // Address of the peer that sent BlockCypher’s servers this transaction. May be empty. RelayedBy string `protobuf:"bytes,13,opt,name=relayed_by,json=relayedBy,proto3" json:"relayed_by,omitempty"` // Time this transaction was received by BlockCypher’s servers. Received string `protobuf:"bytes,14,opt,name=received,proto3" json:"received,omitempty"` // Version number of this transaction. Ver uint32 `protobuf:"varint,15,opt,name=ver,proto3" json:"ver,omitempty"` // true if this is an attempted double spend; false otherwise. DoubleSpend bool `protobuf:"varint,16,opt,name=double_spend,json=doubleSpend,proto3" json:"double_spend,omitempty"` // Total number of inputs in the transaction. VinSz uint32 `protobuf:"varint,17,opt,name=vin_sz,json=vinSz,proto3" json:"vin_sz,omitempty"` // Total number of outputs in the transaction. VoutSz uint32 `protobuf:"varint,18,opt,name=vout_sz,json=voutSz,proto3" json:"vout_sz,omitempty"` // Number of subsequent blocks, including the block the transaction is in. Unconfirmed transactions have 0 confirmations. Confirmations uint32 `protobuf:"varint,19,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // An array object containing a single input with a sequence number (used as a nonce for account balances) and an Ethereum account address. Only contains one input in the array; we still use an array to maintain parity with the Bitcoin API. Inputs []*InputType `protobuf:"bytes,20,rep,name=inputs,proto3" json:"inputs,omitempty"` // An array object containing a single output with value (in wei), script, and an Ethereum account address. Only contains one output in the array; we still use an array to maintain parity with the Bitcoin API. Outputs []*OutputType `protobuf:"bytes,21,rep,name=outputs,proto3" json:"outputs,omitempty"` // Optional If this transaction executed a contract which propagated its own subsequent transactions, then this array will be present, containing the hashes of those subsequent internal transactions. InternalTxids []string `protobuf:"bytes,22,rep,name=internal_txids,json=internalTxids,proto3" json:"internal_txids,omitempty"` // Optional If this transaction was initiated by a contract, this field will be present, conveying the hash of the parent transaction that executed the contract resulting in this transaction (the inverse of an internal_txids hash). ParentTx string `protobuf:"bytes,23,opt,name=parent_tx,json=parentTx,proto3" json:"parent_tx,omitempty"` // Optional Time at which transaction was included in a block; only present for confirmed transactions. Confirmed string `protobuf:"bytes,24,opt,name=confirmed,proto3" json:"confirmed,omitempty"` // Optional If creating a transaction, can optionally set a higher default gas limit (useful if your recepient is a contract). If not set, default is 21000 gas for external accounts and 80000 for contract accounts. GasLimit []byte `protobuf:"bytes,25,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // Optional If creating a transaction, can optionally set a higher default gas limit (useful if your recepient is a contract). If not set, default is 21000 gas for external accounts and 80000 for contract accounts. This is a hex string. GasLimitHex string `protobuf:"bytes,26,opt,name=gas_limit_hex,json=gasLimitHex,proto3" json:"gas_limit_hex,omitempty"` // Optional If true, this transaction was used to create a contract and contract account. Note that the contract address (in the outputs field) will be blank until the transaction is confirmed. ContractCreation bool `protobuf:"varint,27,opt,name=contract_creation,json=contractCreation,proto3" json:"contract_creation,omitempty"` // Optional Number of peers that have sent this transaction to BlockCypher; only present for unconfirmed transactions. ReceiveCount uint32 `protobuf:"varint,28,opt,name=receive_count,json=receiveCount,proto3" json:"receive_count,omitempty"` // Optional Hash of the block that contains this transaction; only present for confirmed transactions. BlockHash string `protobuf:"bytes,29,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Optional Canonical, zero-indexed location of this transaction in a block; only present for confirmed transactions. BlockIndex uint32 `protobuf:"varint,30,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"` // Optional If this transaction is a double-spend (i.e. double_spend == true) then this is the hash of the transaction it’s double-spending. DoubleOf string `protobuf:"bytes,31,opt,name=double_of,json=doubleOf,proto3" json:"double_of,omitempty"` // Optional If this transaction has an execution error, then this field will be included (e.g. “out of gas”). ExecutionError string `protobuf:"bytes,32,opt,name=execution_error,json=executionError,proto3" json:"execution_error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TX) Descriptor ¶
func (*TX) GetAddresses ¶
func (*TX) GetBlockHash ¶
func (*TX) GetBlockHeight ¶
func (*TX) GetBlockIndex ¶
func (*TX) GetConfirmations ¶
func (*TX) GetConfirmed ¶
func (*TX) GetContractCreation ¶
func (*TX) GetDoubleOf ¶
func (*TX) GetDoubleSpend ¶
func (*TX) GetExecutionError ¶
func (*TX) GetFeesHex ¶
func (*TX) GetGasLimit ¶
func (*TX) GetGasLimitHex ¶
func (*TX) GetGasPrice ¶
func (*TX) GetGasPriceHex ¶
func (*TX) GetGasUsed ¶
func (*TX) GetGasUsedHex ¶
func (*TX) GetInternalTxids ¶
func (*TX) GetOutputs ¶
func (m *TX) GetOutputs() []*OutputType
func (*TX) GetParentTx ¶
func (*TX) GetReceiveCount ¶
func (*TX) GetReceived ¶
func (*TX) GetRelayedBy ¶
func (*TX) GetTotalHex ¶
func (*TX) ProtoMessage ¶
func (*TX) ProtoMessage()
func (*TX) XXX_DiscardUnknown ¶
func (m *TX) XXX_DiscardUnknown()
func (*TX) XXX_Unmarshal ¶
type TXRef ¶
type TXRef struct { // Height of the block that contains this transaction input/output. If it’s unconfirmed, this will equal -1. BlockHeight int32 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // The hash of the transaction containing this input/output. TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Index of this input in the enclosing transaction. 0 if it’s an input, -1 if it’s an output. TxInputN uint32 `protobuf:"varint,3,opt,name=tx_input_n,json=txInputN,proto3" json:"tx_input_n,omitempty"` // Index of this output in the enclosing transaction. -1 if it’s an input, 0 if it’s an output. TxOutputN uint32 `protobuf:"varint,4,opt,name=tx_output_n,json=txOutputN,proto3" json:"tx_output_n,omitempty"` // The value transfered by this input/output in wei exchanged in the enclosing transaction. Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // The value transfered by this input/output in wei exchanged in the enclosing transaction. This is a hex string. ValueHex string `protobuf:"bytes,6,opt,name=value_hex,json=valueHex,proto3" json:"value_hex,omitempty"` // true if this is an attempted double spend; false otherwise. DoubleSpend bool `protobuf:"varint,7,opt,name=double_spend,json=doubleSpend,proto3" json:"double_spend,omitempty"` // Number of subsequent blocks, including the block the transaction is in. Unconfirmed transactions have 0 confirmations. Confirmations uint32 `protobuf:"varint,8,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // Optional The past balance of the parent address the moment this transaction was confirmed. Not present for unconfirmed transactions. RefBalance []byte `protobuf:"bytes,9,opt,name=ref_balance,json=refBalance,proto3" json:"ref_balance,omitempty"` // Optional The past balance of the parent address the moment this transaction was confirmed. Not present for unconfirmed transactions. This is a hex string. RefBalanceHex string `protobuf:"bytes,10,opt,name=ref_balance_hex,json=refBalanceHex,proto3" json:"ref_balance_hex,omitempty"` // Optional Time at which transaction was included in a block; only present for confirmed transactions. Confirmed string `protobuf:"bytes,11,opt,name=confirmed,proto3" json:"confirmed,omitempty"` // Optional If this transaction is a double-spend (i.e. double_spend == true) then this is the hash of the transaction it’s double-spending. DoubleOf string `protobuf:"bytes,12,opt,name=double_of,json=doubleOf,proto3" json:"double_of,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXRef) Descriptor ¶
func (*TXRef) GetBlockHeight ¶
func (*TXRef) GetConfirmations ¶
func (*TXRef) GetConfirmed ¶
func (*TXRef) GetDoubleOf ¶
func (*TXRef) GetDoubleSpend ¶
func (*TXRef) GetRefBalance ¶
func (*TXRef) GetRefBalanceHex ¶
func (*TXRef) GetTxInputN ¶
func (*TXRef) GetTxOutputN ¶
func (*TXRef) GetValueHex ¶
func (*TXRef) ProtoMessage ¶
func (*TXRef) ProtoMessage()
func (*TXRef) XXX_DiscardUnknown ¶
func (m *TXRef) XXX_DiscardUnknown()
func (*TXRef) XXX_Marshal ¶
func (*TXRef) XXX_Unmarshal ¶
type TXSkeleton ¶
type TXSkeleton struct { // A temporary TX, usually returned fully filled. Tx *TX `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // Array of hex-encoded data for you to sign, containing one element for you to sign. Still an array to maintain parity with the Bitcoin API. Tosign []string `protobuf:"bytes,2,rep,name=tosign,proto3" json:"tosign,omitempty"` // Array of signatures corresponding to all the data in tosign, typically provided by you. Only one signature is required. Signatures []string `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` // Optional Array of errors in the form “error”:“description-of-error”. This is only returned if there was an error in any stage of transaction generation, and is usually accompanied by a HTTP 400 code. Errors []string `protobuf:"bytes,4,rep,name=errors,proto3" json:"errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXSkeleton) Descriptor ¶
func (*TXSkeleton) Descriptor() ([]byte, []int)
func (*TXSkeleton) GetErrors ¶
func (m *TXSkeleton) GetErrors() []string
func (*TXSkeleton) GetSignatures ¶
func (m *TXSkeleton) GetSignatures() []string
func (*TXSkeleton) GetTosign ¶
func (m *TXSkeleton) GetTosign() []string
func (*TXSkeleton) GetTx ¶
func (m *TXSkeleton) GetTx() *TX
func (*TXSkeleton) ProtoMessage ¶
func (*TXSkeleton) ProtoMessage()
func (*TXSkeleton) Reset ¶
func (m *TXSkeleton) Reset()
func (*TXSkeleton) String ¶
func (m *TXSkeleton) String() string
func (*TXSkeleton) XXX_DiscardUnknown ¶
func (m *TXSkeleton) XXX_DiscardUnknown()
func (*TXSkeleton) XXX_Marshal ¶
func (m *TXSkeleton) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TXSkeleton) XXX_Merge ¶
func (dst *TXSkeleton) XXX_Merge(src proto.Message)
func (*TXSkeleton) XXX_Size ¶
func (m *TXSkeleton) XXX_Size() int
func (*TXSkeleton) XXX_Unmarshal ¶
func (m *TXSkeleton) XXX_Unmarshal(b []byte) error
type TXs ¶
type TXs struct { Result []*TX `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TXs) Descriptor ¶
func (*TXs) ProtoMessage ¶
func (*TXs) ProtoMessage()
func (*TXs) XXX_DiscardUnknown ¶
func (m *TXs) XXX_DiscardUnknown()
func (*TXs) XXX_Unmarshal ¶
type TransactionHashEndpointRequest ¶
type TransactionHashEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Txhash string `protobuf:"bytes,2,opt,name=txhash,proto3" json:"txhash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionHashEndpointRequest) Descriptor ¶
func (*TransactionHashEndpointRequest) Descriptor() ([]byte, []int)
func (*TransactionHashEndpointRequest) GetNetwork ¶
func (m *TransactionHashEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*TransactionHashEndpointRequest) GetTxhash ¶
func (m *TransactionHashEndpointRequest) GetTxhash() string
func (*TransactionHashEndpointRequest) ProtoMessage ¶
func (*TransactionHashEndpointRequest) ProtoMessage()
func (*TransactionHashEndpointRequest) Reset ¶
func (m *TransactionHashEndpointRequest) Reset()
func (*TransactionHashEndpointRequest) String ¶
func (m *TransactionHashEndpointRequest) String() string
func (*TransactionHashEndpointRequest) XXX_DiscardUnknown ¶
func (m *TransactionHashEndpointRequest) XXX_DiscardUnknown()
func (*TransactionHashEndpointRequest) XXX_Marshal ¶
func (m *TransactionHashEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionHashEndpointRequest) XXX_Merge ¶
func (dst *TransactionHashEndpointRequest) XXX_Merge(src proto.Message)
func (*TransactionHashEndpointRequest) XXX_Size ¶
func (m *TransactionHashEndpointRequest) XXX_Size() int
func (*TransactionHashEndpointRequest) XXX_Unmarshal ¶
func (m *TransactionHashEndpointRequest) XXX_Unmarshal(b []byte) error
type TransactionServiceClient ¶
type TransactionServiceClient interface { TransactionHashEndpoint(ctx context.Context, in *TransactionHashEndpointRequest, opts ...grpc.CallOption) (*TX, error) UnconfirmedTransactionsEndpoint(ctx context.Context, in *UnconfirmedTransactionsEndpointRequest, opts ...grpc.CallOption) (*TXs, error) CreateTransactionEndpoint(ctx context.Context, in *CreateTransactionEndpointRequest, opts ...grpc.CallOption) (*TXSkeleton, error) SendTransactionEndpoint(ctx context.Context, in *SendTransactionEndpointRequest, opts ...grpc.CallOption) (*TXSkeleton, error) DecodeRawTransactionEndpoint(ctx context.Context, in *DecodeRawTransactionEndpointRequest, opts ...grpc.CallOption) (*TX, error) PushRawTransactionEndpoint(ctx context.Context, in *PushRawTransactionEndpointRequest, opts ...grpc.CallOption) (*TX, error) }
TransactionServiceClient is the client API for TransactionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactionServiceClient ¶
func NewTransactionServiceClient(cc *grpc.ClientConn) TransactionServiceClient
type TransactionServiceServer ¶
type TransactionServiceServer interface { TransactionHashEndpoint(context.Context, *TransactionHashEndpointRequest) (*TX, error) UnconfirmedTransactionsEndpoint(context.Context, *UnconfirmedTransactionsEndpointRequest) (*TXs, error) CreateTransactionEndpoint(context.Context, *CreateTransactionEndpointRequest) (*TXSkeleton, error) SendTransactionEndpoint(context.Context, *SendTransactionEndpointRequest) (*TXSkeleton, error) DecodeRawTransactionEndpoint(context.Context, *DecodeRawTransactionEndpointRequest) (*TX, error) PushRawTransactionEndpoint(context.Context, *PushRawTransactionEndpointRequest) (*TX, error) }
TransactionServiceServer is the server API for TransactionService service.
type UnconfirmedTransactionsEndpointRequest ¶
type UnconfirmedTransactionsEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnconfirmedTransactionsEndpointRequest) Descriptor ¶
func (*UnconfirmedTransactionsEndpointRequest) Descriptor() ([]byte, []int)
func (*UnconfirmedTransactionsEndpointRequest) GetNetwork ¶
func (m *UnconfirmedTransactionsEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*UnconfirmedTransactionsEndpointRequest) ProtoMessage ¶
func (*UnconfirmedTransactionsEndpointRequest) ProtoMessage()
func (*UnconfirmedTransactionsEndpointRequest) Reset ¶
func (m *UnconfirmedTransactionsEndpointRequest) Reset()
func (*UnconfirmedTransactionsEndpointRequest) String ¶
func (m *UnconfirmedTransactionsEndpointRequest) String() string
func (*UnconfirmedTransactionsEndpointRequest) XXX_DiscardUnknown ¶
func (m *UnconfirmedTransactionsEndpointRequest) XXX_DiscardUnknown()
func (*UnconfirmedTransactionsEndpointRequest) XXX_Marshal ¶
func (m *UnconfirmedTransactionsEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnconfirmedTransactionsEndpointRequest) XXX_Merge ¶
func (dst *UnconfirmedTransactionsEndpointRequest) XXX_Merge(src proto.Message)
func (*UnconfirmedTransactionsEndpointRequest) XXX_Size ¶
func (m *UnconfirmedTransactionsEndpointRequest) XXX_Size() int
func (*UnconfirmedTransactionsEndpointRequest) XXX_Unmarshal ¶
func (m *UnconfirmedTransactionsEndpointRequest) XXX_Unmarshal(b []byte) error
type WebHookIDEndpointRequest ¶
type WebHookIDEndpointRequest struct { Network NetworkAllowingAlias `protobuf:"varint,1,opt,name=network,proto3,enum=chainweaver.protobuf.eth.NetworkAllowingAlias" json:"network,omitempty"` Webhookid string `protobuf:"bytes,2,opt,name=webhookid,proto3" json:"webhookid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WebHookIDEndpointRequest) Descriptor ¶
func (*WebHookIDEndpointRequest) Descriptor() ([]byte, []int)
func (*WebHookIDEndpointRequest) GetNetwork ¶
func (m *WebHookIDEndpointRequest) GetNetwork() NetworkAllowingAlias
func (*WebHookIDEndpointRequest) GetWebhookid ¶
func (m *WebHookIDEndpointRequest) GetWebhookid() string
func (*WebHookIDEndpointRequest) ProtoMessage ¶
func (*WebHookIDEndpointRequest) ProtoMessage()
func (*WebHookIDEndpointRequest) Reset ¶
func (m *WebHookIDEndpointRequest) Reset()
func (*WebHookIDEndpointRequest) String ¶
func (m *WebHookIDEndpointRequest) String() string
func (*WebHookIDEndpointRequest) XXX_DiscardUnknown ¶
func (m *WebHookIDEndpointRequest) XXX_DiscardUnknown()
func (*WebHookIDEndpointRequest) XXX_Marshal ¶
func (m *WebHookIDEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebHookIDEndpointRequest) XXX_Merge ¶
func (dst *WebHookIDEndpointRequest) XXX_Merge(src proto.Message)
func (*WebHookIDEndpointRequest) XXX_Size ¶
func (m *WebHookIDEndpointRequest) XXX_Size() int
func (*WebHookIDEndpointRequest) XXX_Unmarshal ¶
func (m *WebHookIDEndpointRequest) XXX_Unmarshal(b []byte) error
type WebHooksServiceClient ¶
type WebHooksServiceClient interface { CreateWebHookEndpoint(ctx context.Context, in *CreateWebHookEndpointRequest, opts ...grpc.CallOption) (*Event, error) ListWebHooksEndpoint(ctx context.Context, in *ListWebHooksEndpointRequest, opts ...grpc.CallOption) (*Events, error) WebHookIDEndpoint(ctx context.Context, in *WebHookIDEndpointRequest, opts ...grpc.CallOption) (*Event, error) DeleteWebHookEndpoint(ctx context.Context, in *DeleteWebHookEndpointRequest, opts ...grpc.CallOption) (*NullValue, error) }
WebHooksServiceClient is the client API for WebHooksService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebHooksServiceClient ¶
func NewWebHooksServiceClient(cc *grpc.ClientConn) WebHooksServiceClient
type WebHooksServiceServer ¶
type WebHooksServiceServer interface { CreateWebHookEndpoint(context.Context, *CreateWebHookEndpointRequest) (*Event, error) ListWebHooksEndpoint(context.Context, *ListWebHooksEndpointRequest) (*Events, error) WebHookIDEndpoint(context.Context, *WebHookIDEndpointRequest) (*Event, error) DeleteWebHookEndpoint(context.Context, *DeleteWebHookEndpointRequest) (*NullValue, error) }
WebHooksServiceServer is the server API for WebHooksService service.
Source Files ¶
- addressMessage.pb.go
- addressService.pb.go
- addressService.pb.gw.go
- blockchainMessage.pb.go
- blockchainService.pb.go
- blockchainService.pb.gw.go
- commonMessage.pb.go
- contractMessage.pb.go
- contractService.pb.go
- contractService.pb.gw.go
- transactionMessage.pb.go
- transactionService.pb.go
- transactionService.pb.gw.go
- webhooksMessage.pb.go
- webhooksService.pb.go
- webhooksService.pb.gw.go