Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterBchrpcHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBchrpcHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BchrpcClient) error
- func RegisterBchrpcHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBchrpcHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BchrpcServer) error
- func RegisterBchrpcServer(s *grpc.Server, srv BchrpcServer)
- type BchrpcClient
- type BchrpcServer
- type Bchrpc_SubscribeBlocksClient
- type Bchrpc_SubscribeBlocksServer
- type Bchrpc_SubscribeTransactionStreamClient
- type Bchrpc_SubscribeTransactionStreamServer
- type Bchrpc_SubscribeTransactionsClient
- type Bchrpc_SubscribeTransactionsServer
- type Block
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInfo) GetBits() uint32
- func (x *BlockInfo) GetConfirmations() int32
- func (x *BlockInfo) GetDifficulty() float64
- func (x *BlockInfo) GetHash() []byte
- func (x *BlockInfo) GetHeight() int32
- func (x *BlockInfo) GetMedianTime() int64
- func (x *BlockInfo) GetMerkleRoot() []byte
- func (x *BlockInfo) GetNextBlockHash() []byte
- func (x *BlockInfo) GetNonce() uint32
- func (x *BlockInfo) GetPreviousBlock() []byte
- func (x *BlockInfo) GetSize() int32
- func (x *BlockInfo) GetTimestamp() int64
- func (x *BlockInfo) GetVersion() int32
- func (*BlockInfo) ProtoMessage()
- func (x *BlockInfo) ProtoReflect() protoreflect.Message
- func (x *BlockInfo) Reset()
- func (x *BlockInfo) String() string
- type BlockNotification
- func (*BlockNotification) Descriptor() ([]byte, []int)deprecated
- func (m *BlockNotification) GetBlock() isBlockNotification_Block
- func (x *BlockNotification) GetBlockInfo() *BlockInfo
- func (x *BlockNotification) GetMarshaledBlock() *Block
- func (x *BlockNotification) GetSerializedBlock() []byte
- func (x *BlockNotification) GetType() BlockNotification_Type
- func (*BlockNotification) ProtoMessage()
- func (x *BlockNotification) ProtoReflect() protoreflect.Message
- func (x *BlockNotification) Reset()
- func (x *BlockNotification) String() string
- type BlockNotification_BlockInfo
- type BlockNotification_MarshaledBlock
- type BlockNotification_SerializedBlock
- type BlockNotification_Type
- func (BlockNotification_Type) Descriptor() protoreflect.EnumDescriptor
- func (x BlockNotification_Type) Enum() *BlockNotification_Type
- func (BlockNotification_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockNotification_Type) Number() protoreflect.EnumNumber
- func (x BlockNotification_Type) String() string
- func (BlockNotification_Type) Type() protoreflect.EnumType
- type Block_TransactionData
- func (*Block_TransactionData) Descriptor() ([]byte, []int)deprecated
- func (x *Block_TransactionData) GetTransaction() *Transaction
- func (x *Block_TransactionData) GetTransactionHash() []byte
- func (m *Block_TransactionData) GetTxidsOrTxs() isBlock_TransactionData_TxidsOrTxs
- func (*Block_TransactionData) ProtoMessage()
- func (x *Block_TransactionData) ProtoReflect() protoreflect.Message
- func (x *Block_TransactionData) Reset()
- func (x *Block_TransactionData) String() string
- type Block_TransactionData_Transaction
- type Block_TransactionData_TransactionHash
- type CheckSlpTransactionRequest
- func (*CheckSlpTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckSlpTransactionRequest) GetRequiredSlpBurns() []*SlpRequiredBurn
- func (x *CheckSlpTransactionRequest) GetTransaction() []byte
- func (x *CheckSlpTransactionRequest) GetUseSpecValidityJudgement() bool
- func (*CheckSlpTransactionRequest) ProtoMessage()
- func (x *CheckSlpTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *CheckSlpTransactionRequest) Reset()
- func (x *CheckSlpTransactionRequest) String() string
- type CheckSlpTransactionResponse
- func (*CheckSlpTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckSlpTransactionResponse) GetBestHeight() int32
- func (x *CheckSlpTransactionResponse) GetInvalidReason() string
- func (x *CheckSlpTransactionResponse) GetIsValid() bool
- func (*CheckSlpTransactionResponse) ProtoMessage()
- func (x *CheckSlpTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *CheckSlpTransactionResponse) Reset()
- func (x *CheckSlpTransactionResponse) String() string
- type GetAddressTransactionsRequest
- func (*GetAddressTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressTransactionsRequest) GetAddress() string
- func (x *GetAddressTransactionsRequest) GetHash() []byte
- func (x *GetAddressTransactionsRequest) GetHeight() int32
- func (x *GetAddressTransactionsRequest) GetNbFetch() uint32
- func (x *GetAddressTransactionsRequest) GetNbSkip() uint32
- func (m *GetAddressTransactionsRequest) GetStartBlock() isGetAddressTransactionsRequest_StartBlock
- func (*GetAddressTransactionsRequest) ProtoMessage()
- func (x *GetAddressTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAddressTransactionsRequest) Reset()
- func (x *GetAddressTransactionsRequest) String() string
- type GetAddressTransactionsRequest_Hash
- type GetAddressTransactionsRequest_Height
- type GetAddressTransactionsResponse
- func (*GetAddressTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressTransactionsResponse) GetConfirmedTransactions() []*Transaction
- func (x *GetAddressTransactionsResponse) GetUnconfirmedTransactions() []*MempoolTransaction
- func (*GetAddressTransactionsResponse) ProtoMessage()
- func (x *GetAddressTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAddressTransactionsResponse) Reset()
- func (x *GetAddressTransactionsResponse) String() string
- type GetAddressUnspentOutputsRequest
- func (*GetAddressUnspentOutputsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressUnspentOutputsRequest) GetAddress() string
- func (x *GetAddressUnspentOutputsRequest) GetIncludeMempool() bool
- func (x *GetAddressUnspentOutputsRequest) GetIncludeTokenMetadata() bool
- func (*GetAddressUnspentOutputsRequest) ProtoMessage()
- func (x *GetAddressUnspentOutputsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAddressUnspentOutputsRequest) Reset()
- func (x *GetAddressUnspentOutputsRequest) String() string
- type GetAddressUnspentOutputsResponse
- func (*GetAddressUnspentOutputsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressUnspentOutputsResponse) GetOutputs() []*UnspentOutput
- func (x *GetAddressUnspentOutputsResponse) GetTokenMetadata() []*SlpTokenMetadata
- func (*GetAddressUnspentOutputsResponse) ProtoMessage()
- func (x *GetAddressUnspentOutputsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAddressUnspentOutputsResponse) Reset()
- func (x *GetAddressUnspentOutputsResponse) String() string
- type GetBlockFilterRequest
- func (*GetBlockFilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockFilterRequest) GetHash() []byte
- func (m *GetBlockFilterRequest) GetHashOrHeight() isGetBlockFilterRequest_HashOrHeight
- func (x *GetBlockFilterRequest) GetHeight() int32
- func (*GetBlockFilterRequest) ProtoMessage()
- func (x *GetBlockFilterRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockFilterRequest) Reset()
- func (x *GetBlockFilterRequest) String() string
- type GetBlockFilterRequest_Hash
- type GetBlockFilterRequest_Height
- type GetBlockFilterResponse
- func (*GetBlockFilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockFilterResponse) GetFilter() []byte
- func (*GetBlockFilterResponse) ProtoMessage()
- func (x *GetBlockFilterResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockFilterResponse) Reset()
- func (x *GetBlockFilterResponse) String() string
- type GetBlockInfoRequest
- func (*GetBlockInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockInfoRequest) GetHash() []byte
- func (m *GetBlockInfoRequest) GetHashOrHeight() isGetBlockInfoRequest_HashOrHeight
- func (x *GetBlockInfoRequest) GetHeight() int32
- func (*GetBlockInfoRequest) ProtoMessage()
- func (x *GetBlockInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockInfoRequest) Reset()
- func (x *GetBlockInfoRequest) String() string
- type GetBlockInfoRequest_Hash
- type GetBlockInfoRequest_Height
- type GetBlockInfoResponse
- func (*GetBlockInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockInfoResponse) GetInfo() *BlockInfo
- func (*GetBlockInfoResponse) ProtoMessage()
- func (x *GetBlockInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockInfoResponse) Reset()
- func (x *GetBlockInfoResponse) String() string
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockRequest) GetFullTransactions() bool
- func (x *GetBlockRequest) GetHash() []byte
- func (m *GetBlockRequest) GetHashOrHeight() isGetBlockRequest_HashOrHeight
- func (x *GetBlockRequest) GetHeight() int32
- func (*GetBlockRequest) ProtoMessage()
- func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockRequest) Reset()
- func (x *GetBlockRequest) String() string
- type GetBlockRequest_Hash
- type GetBlockRequest_Height
- type GetBlockResponse
- type GetBlockchainInfoRequest
- type GetBlockchainInfoResponse
- func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockchainInfoResponse) GetAddrIndex() bool
- func (x *GetBlockchainInfoResponse) GetBestBlockHash() []byte
- func (x *GetBlockchainInfoResponse) GetBestHeight() int32
- func (x *GetBlockchainInfoResponse) GetBitcoinNet() GetBlockchainInfoResponse_BitcoinNet
- func (x *GetBlockchainInfoResponse) GetDifficulty() float64
- func (x *GetBlockchainInfoResponse) GetMedianTime() int64
- func (x *GetBlockchainInfoResponse) GetSlpGraphsearch() bool
- func (x *GetBlockchainInfoResponse) GetSlpIndex() bool
- func (x *GetBlockchainInfoResponse) GetTxIndex() bool
- func (*GetBlockchainInfoResponse) ProtoMessage()
- func (x *GetBlockchainInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockchainInfoResponse) Reset()
- func (x *GetBlockchainInfoResponse) String() string
- type GetBlockchainInfoResponse_BitcoinNet
- func (GetBlockchainInfoResponse_BitcoinNet) Descriptor() protoreflect.EnumDescriptor
- func (x GetBlockchainInfoResponse_BitcoinNet) Enum() *GetBlockchainInfoResponse_BitcoinNet
- func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetBlockchainInfoResponse_BitcoinNet) Number() protoreflect.EnumNumber
- func (x GetBlockchainInfoResponse_BitcoinNet) String() string
- func (GetBlockchainInfoResponse_BitcoinNet) Type() protoreflect.EnumType
- type GetHeadersRequest
- func (*GetHeadersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeadersRequest) GetBlockLocatorHashes() [][]byte
- func (x *GetHeadersRequest) GetStopHash() []byte
- func (*GetHeadersRequest) ProtoMessage()
- func (x *GetHeadersRequest) ProtoReflect() protoreflect.Message
- func (x *GetHeadersRequest) Reset()
- func (x *GetHeadersRequest) String() string
- type GetHeadersResponse
- func (*GetHeadersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeadersResponse) GetHeaders() []*BlockInfo
- func (*GetHeadersResponse) ProtoMessage()
- func (x *GetHeadersResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeadersResponse) Reset()
- func (x *GetHeadersResponse) String() string
- type GetMempoolInfoRequest
- type GetMempoolInfoResponse
- func (*GetMempoolInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMempoolInfoResponse) GetBytes() uint32
- func (x *GetMempoolInfoResponse) GetSize() uint32
- func (*GetMempoolInfoResponse) ProtoMessage()
- func (x *GetMempoolInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetMempoolInfoResponse) Reset()
- func (x *GetMempoolInfoResponse) String() string
- type GetMempoolRequest
- func (*GetMempoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMempoolRequest) GetFullTransactions() bool
- func (*GetMempoolRequest) ProtoMessage()
- func (x *GetMempoolRequest) ProtoReflect() protoreflect.Message
- func (x *GetMempoolRequest) Reset()
- func (x *GetMempoolRequest) String() string
- type GetMempoolResponse
- func (*GetMempoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMempoolResponse) GetTransactionData() []*GetMempoolResponse_TransactionData
- func (*GetMempoolResponse) ProtoMessage()
- func (x *GetMempoolResponse) ProtoReflect() protoreflect.Message
- func (x *GetMempoolResponse) Reset()
- func (x *GetMempoolResponse) String() string
- type GetMempoolResponse_TransactionData
- func (*GetMempoolResponse_TransactionData) Descriptor() ([]byte, []int)deprecated
- func (x *GetMempoolResponse_TransactionData) GetTransaction() *Transaction
- func (x *GetMempoolResponse_TransactionData) GetTransactionHash() []byte
- func (m *GetMempoolResponse_TransactionData) GetTxidsOrTxs() isGetMempoolResponse_TransactionData_TxidsOrTxs
- func (*GetMempoolResponse_TransactionData) ProtoMessage()
- func (x *GetMempoolResponse_TransactionData) ProtoReflect() protoreflect.Message
- func (x *GetMempoolResponse_TransactionData) Reset()
- func (x *GetMempoolResponse_TransactionData) String() string
- type GetMempoolResponse_TransactionData_Transaction
- type GetMempoolResponse_TransactionData_TransactionHash
- type GetMerkleProofRequest
- func (*GetMerkleProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMerkleProofRequest) GetTransactionHash() []byte
- func (*GetMerkleProofRequest) ProtoMessage()
- func (x *GetMerkleProofRequest) ProtoReflect() protoreflect.Message
- func (x *GetMerkleProofRequest) Reset()
- func (x *GetMerkleProofRequest) String() string
- type GetMerkleProofResponse
- func (*GetMerkleProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMerkleProofResponse) GetBlock() *BlockInfo
- func (x *GetMerkleProofResponse) GetFlags() []byte
- func (x *GetMerkleProofResponse) GetHashes() [][]byte
- func (*GetMerkleProofResponse) ProtoMessage()
- func (x *GetMerkleProofResponse) ProtoReflect() protoreflect.Message
- func (x *GetMerkleProofResponse) Reset()
- func (x *GetMerkleProofResponse) String() string
- type GetRawAddressTransactionsRequest
- func (*GetRawAddressTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawAddressTransactionsRequest) GetAddress() string
- func (x *GetRawAddressTransactionsRequest) GetHash() []byte
- func (x *GetRawAddressTransactionsRequest) GetHeight() int32
- func (x *GetRawAddressTransactionsRequest) GetNbFetch() uint32
- func (x *GetRawAddressTransactionsRequest) GetNbSkip() uint32
- func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock
- func (*GetRawAddressTransactionsRequest) ProtoMessage()
- func (x *GetRawAddressTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRawAddressTransactionsRequest) Reset()
- func (x *GetRawAddressTransactionsRequest) String() string
- type GetRawAddressTransactionsRequest_Hash
- type GetRawAddressTransactionsRequest_Height
- type GetRawAddressTransactionsResponse
- func (*GetRawAddressTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawAddressTransactionsResponse) GetConfirmedTransactions() [][]byte
- func (x *GetRawAddressTransactionsResponse) GetUnconfirmedTransactions() [][]byte
- func (*GetRawAddressTransactionsResponse) ProtoMessage()
- func (x *GetRawAddressTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawAddressTransactionsResponse) Reset()
- func (x *GetRawAddressTransactionsResponse) String() string
- type GetRawBlockRequest
- func (*GetRawBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawBlockRequest) GetHash() []byte
- func (m *GetRawBlockRequest) GetHashOrHeight() isGetRawBlockRequest_HashOrHeight
- func (x *GetRawBlockRequest) GetHeight() int32
- func (*GetRawBlockRequest) ProtoMessage()
- func (x *GetRawBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetRawBlockRequest) Reset()
- func (x *GetRawBlockRequest) String() string
- type GetRawBlockRequest_Hash
- type GetRawBlockRequest_Height
- type GetRawBlockResponse
- func (*GetRawBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawBlockResponse) GetBlock() []byte
- func (*GetRawBlockResponse) ProtoMessage()
- func (x *GetRawBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawBlockResponse) Reset()
- func (x *GetRawBlockResponse) String() string
- type GetRawTransactionRequest
- func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawTransactionRequest) GetHash() []byte
- func (*GetRawTransactionRequest) ProtoMessage()
- func (x *GetRawTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRawTransactionRequest) Reset()
- func (x *GetRawTransactionRequest) String() string
- type GetRawTransactionResponse
- func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawTransactionResponse) GetTransaction() []byte
- func (*GetRawTransactionResponse) ProtoMessage()
- func (x *GetRawTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawTransactionResponse) Reset()
- func (x *GetRawTransactionResponse) String() string
- type GetSlpGraphSearchRequest
- func (*GetSlpGraphSearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpGraphSearchRequest) GetHash() []byte
- func (x *GetSlpGraphSearchRequest) GetValidHashes() [][]byte
- func (*GetSlpGraphSearchRequest) ProtoMessage()
- func (x *GetSlpGraphSearchRequest) ProtoReflect() protoreflect.Message
- func (x *GetSlpGraphSearchRequest) Reset()
- func (x *GetSlpGraphSearchRequest) String() string
- type GetSlpGraphSearchResponse
- func (*GetSlpGraphSearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpGraphSearchResponse) GetTxdata() [][]byte
- func (*GetSlpGraphSearchResponse) ProtoMessage()
- func (x *GetSlpGraphSearchResponse) ProtoReflect() protoreflect.Message
- func (x *GetSlpGraphSearchResponse) Reset()
- func (x *GetSlpGraphSearchResponse) String() string
- type GetSlpParsedScriptRequest
- func (*GetSlpParsedScriptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpParsedScriptRequest) GetSlpOpreturnScript() []byte
- func (*GetSlpParsedScriptRequest) ProtoMessage()
- func (x *GetSlpParsedScriptRequest) ProtoReflect() protoreflect.Message
- func (x *GetSlpParsedScriptRequest) Reset()
- func (x *GetSlpParsedScriptRequest) String() string
- type GetSlpParsedScriptResponse
- func (*GetSlpParsedScriptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpParsedScriptResponse) GetParsingError() string
- func (x *GetSlpParsedScriptResponse) GetSlpAction() SlpAction
- func (m *GetSlpParsedScriptResponse) GetSlpMetadata() isGetSlpParsedScriptResponse_SlpMetadata
- func (x *GetSlpParsedScriptResponse) GetTokenId() []byte
- func (x *GetSlpParsedScriptResponse) GetTokenType() SlpTokenType
- func (x *GetSlpParsedScriptResponse) GetV1Genesis() *SlpV1GenesisMetadata
- func (x *GetSlpParsedScriptResponse) GetV1Mint() *SlpV1MintMetadata
- func (x *GetSlpParsedScriptResponse) GetV1Nft1ChildGenesis() *SlpV1Nft1ChildGenesisMetadata
- func (x *GetSlpParsedScriptResponse) GetV1Nft1ChildSend() *SlpV1Nft1ChildSendMetadata
- func (x *GetSlpParsedScriptResponse) GetV1Send() *SlpV1SendMetadata
- func (*GetSlpParsedScriptResponse) ProtoMessage()
- func (x *GetSlpParsedScriptResponse) ProtoReflect() protoreflect.Message
- func (x *GetSlpParsedScriptResponse) Reset()
- func (x *GetSlpParsedScriptResponse) String() string
- type GetSlpParsedScriptResponse_V1Genesis
- type GetSlpParsedScriptResponse_V1Mint
- type GetSlpParsedScriptResponse_V1Nft1ChildGenesis
- type GetSlpParsedScriptResponse_V1Nft1ChildSend
- type GetSlpParsedScriptResponse_V1Send
- type GetSlpTokenMetadataRequest
- func (*GetSlpTokenMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpTokenMetadataRequest) GetTokenIds() [][]byte
- func (*GetSlpTokenMetadataRequest) ProtoMessage()
- func (x *GetSlpTokenMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetSlpTokenMetadataRequest) Reset()
- func (x *GetSlpTokenMetadataRequest) String() string
- type GetSlpTokenMetadataResponse
- func (*GetSlpTokenMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpTokenMetadataResponse) GetTokenMetadata() []*SlpTokenMetadata
- func (*GetSlpTokenMetadataResponse) ProtoMessage()
- func (x *GetSlpTokenMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetSlpTokenMetadataResponse) Reset()
- func (x *GetSlpTokenMetadataResponse) String() string
- type GetSlpTrustedValidationRequest
- func (*GetSlpTrustedValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpTrustedValidationRequest) GetIncludeGraphsearchCount() bool
- func (x *GetSlpTrustedValidationRequest) GetQueries() []*GetSlpTrustedValidationRequest_Query
- func (*GetSlpTrustedValidationRequest) ProtoMessage()
- func (x *GetSlpTrustedValidationRequest) ProtoReflect() protoreflect.Message
- func (x *GetSlpTrustedValidationRequest) Reset()
- func (x *GetSlpTrustedValidationRequest) String() string
- type GetSlpTrustedValidationRequest_Query
- func (*GetSlpTrustedValidationRequest_Query) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpTrustedValidationRequest_Query) GetGraphsearchValidHashes() [][]byte
- func (x *GetSlpTrustedValidationRequest_Query) GetPrevOutHash() []byte
- func (x *GetSlpTrustedValidationRequest_Query) GetPrevOutVout() uint32
- func (*GetSlpTrustedValidationRequest_Query) ProtoMessage()
- func (x *GetSlpTrustedValidationRequest_Query) ProtoReflect() protoreflect.Message
- func (x *GetSlpTrustedValidationRequest_Query) Reset()
- func (x *GetSlpTrustedValidationRequest_Query) String() string
- type GetSlpTrustedValidationResponse
- func (*GetSlpTrustedValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpTrustedValidationResponse) GetResults() []*GetSlpTrustedValidationResponse_ValidityResult
- func (*GetSlpTrustedValidationResponse) ProtoMessage()
- func (x *GetSlpTrustedValidationResponse) ProtoReflect() protoreflect.Message
- func (x *GetSlpTrustedValidationResponse) Reset()
- func (x *GetSlpTrustedValidationResponse) String() string
- type GetSlpTrustedValidationResponse_ValidityResult
- func (*GetSlpTrustedValidationResponse_ValidityResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetGraphsearchTxnCount() uint32
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutHash() []byte
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutVout() uint32
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetSlpAction() SlpAction
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetSlpTxnOpreturn() []byte
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetTokenId() []byte
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetTokenType() SlpTokenType
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetV1MintBaton() bool
- func (x *GetSlpTrustedValidationResponse_ValidityResult) GetV1TokenAmount() uint64
- func (m *GetSlpTrustedValidationResponse_ValidityResult) GetValidityResultType() isGetSlpTrustedValidationResponse_ValidityResult_ValidityResultType
- func (*GetSlpTrustedValidationResponse_ValidityResult) ProtoMessage()
- func (x *GetSlpTrustedValidationResponse_ValidityResult) ProtoReflect() protoreflect.Message
- func (x *GetSlpTrustedValidationResponse_ValidityResult) Reset()
- func (x *GetSlpTrustedValidationResponse_ValidityResult) String() string
- type GetSlpTrustedValidationResponse_ValidityResult_V1MintBaton
- type GetSlpTrustedValidationResponse_ValidityResult_V1TokenAmount
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionRequest) GetHash() []byte
- func (x *GetTransactionRequest) GetIncludeTokenMetadata() bool
- func (*GetTransactionRequest) ProtoMessage()
- func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionRequest) Reset()
- func (x *GetTransactionRequest) String() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetTokenMetadata() *SlpTokenMetadata
- func (x *GetTransactionResponse) GetTransaction() *Transaction
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (x *GetTransactionResponse) String() string
- type GetUnspentOutputRequest
- func (*GetUnspentOutputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnspentOutputRequest) GetHash() []byte
- func (x *GetUnspentOutputRequest) GetIncludeMempool() bool
- func (x *GetUnspentOutputRequest) GetIncludeTokenMetadata() bool
- func (x *GetUnspentOutputRequest) GetIndex() uint32
- func (*GetUnspentOutputRequest) ProtoMessage()
- func (x *GetUnspentOutputRequest) ProtoReflect() protoreflect.Message
- func (x *GetUnspentOutputRequest) Reset()
- func (x *GetUnspentOutputRequest) String() string
- type GetUnspentOutputResponse
- func (*GetUnspentOutputResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUnspentOutputResponse) GetBlockHeight() int32
- func (x *GetUnspentOutputResponse) GetIsCoinbase() bool
- func (x *GetUnspentOutputResponse) GetOutpoint() *Transaction_Input_Outpoint
- func (x *GetUnspentOutputResponse) GetPubkeyScript() []byte
- func (x *GetUnspentOutputResponse) GetSlpToken() *SlpToken
- func (x *GetUnspentOutputResponse) GetTokenMetadata() *SlpTokenMetadata
- func (x *GetUnspentOutputResponse) GetValue() int64
- func (*GetUnspentOutputResponse) ProtoMessage()
- func (x *GetUnspentOutputResponse) ProtoReflect() protoreflect.Message
- func (x *GetUnspentOutputResponse) Reset()
- func (x *GetUnspentOutputResponse) String() string
- type MempoolTransaction
- func (*MempoolTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *MempoolTransaction) GetAddedHeight() int32
- func (x *MempoolTransaction) GetAddedTime() int64
- func (x *MempoolTransaction) GetFee() int64
- func (x *MempoolTransaction) GetFeePerKb() int64
- func (x *MempoolTransaction) GetStartingPriority() float64
- func (x *MempoolTransaction) GetTransaction() *Transaction
- func (*MempoolTransaction) ProtoMessage()
- func (x *MempoolTransaction) ProtoReflect() protoreflect.Message
- func (x *MempoolTransaction) Reset()
- func (x *MempoolTransaction) String() string
- type SlpAction
- type SlpRequiredBurn
- func (*SlpRequiredBurn) Descriptor() ([]byte, []int)deprecated
- func (x *SlpRequiredBurn) GetAmount() uint64
- func (m *SlpRequiredBurn) GetBurnIntention() isSlpRequiredBurn_BurnIntention
- func (x *SlpRequiredBurn) GetMintBatonVout() uint32
- func (x *SlpRequiredBurn) GetOutpoint() *Transaction_Input_Outpoint
- func (x *SlpRequiredBurn) GetTokenId() []byte
- func (x *SlpRequiredBurn) GetTokenType() SlpTokenType
- func (*SlpRequiredBurn) ProtoMessage()
- func (x *SlpRequiredBurn) ProtoReflect() protoreflect.Message
- func (x *SlpRequiredBurn) Reset()
- func (x *SlpRequiredBurn) String() string
- type SlpRequiredBurn_Amount
- type SlpRequiredBurn_MintBatonVout
- type SlpToken
- func (*SlpToken) Descriptor() ([]byte, []int)deprecated
- func (x *SlpToken) GetAddress() string
- func (x *SlpToken) GetAmount() uint64
- func (x *SlpToken) GetDecimals() uint32
- func (x *SlpToken) GetIsMintBaton() bool
- func (x *SlpToken) GetSlpAction() SlpAction
- func (x *SlpToken) GetTokenId() []byte
- func (x *SlpToken) GetTokenType() SlpTokenType
- func (*SlpToken) ProtoMessage()
- func (x *SlpToken) ProtoReflect() protoreflect.Message
- func (x *SlpToken) Reset()
- func (x *SlpToken) String() string
- type SlpTokenMetadata
- func (*SlpTokenMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SlpTokenMetadata) GetTokenId() []byte
- func (x *SlpTokenMetadata) GetTokenType() SlpTokenType
- func (m *SlpTokenMetadata) GetTypeMetadata() isSlpTokenMetadata_TypeMetadata
- func (x *SlpTokenMetadata) GetV1Fungible() *SlpTokenMetadata_V1Fungible
- func (x *SlpTokenMetadata) GetV1Nft1Child() *SlpTokenMetadata_V1NFT1Child
- func (x *SlpTokenMetadata) GetV1Nft1Group() *SlpTokenMetadata_V1NFT1Group
- func (*SlpTokenMetadata) ProtoMessage()
- func (x *SlpTokenMetadata) ProtoReflect() protoreflect.Message
- func (x *SlpTokenMetadata) Reset()
- func (x *SlpTokenMetadata) String() string
- type SlpTokenMetadata_V1Fungible
- func (*SlpTokenMetadata_V1Fungible) Descriptor() ([]byte, []int)deprecated
- func (x *SlpTokenMetadata_V1Fungible) GetDecimals() uint32
- func (x *SlpTokenMetadata_V1Fungible) GetMintBatonHash() []byte
- func (x *SlpTokenMetadata_V1Fungible) GetMintBatonVout() uint32
- func (x *SlpTokenMetadata_V1Fungible) GetTokenDocumentHash() []byte
- func (x *SlpTokenMetadata_V1Fungible) GetTokenDocumentUrl() string
- func (x *SlpTokenMetadata_V1Fungible) GetTokenName() string
- func (x *SlpTokenMetadata_V1Fungible) GetTokenTicker() string
- func (*SlpTokenMetadata_V1Fungible) ProtoMessage()
- func (x *SlpTokenMetadata_V1Fungible) ProtoReflect() protoreflect.Message
- func (x *SlpTokenMetadata_V1Fungible) Reset()
- func (x *SlpTokenMetadata_V1Fungible) String() string
- type SlpTokenMetadata_V1Fungible_
- type SlpTokenMetadata_V1NFT1Child
- func (*SlpTokenMetadata_V1NFT1Child) Descriptor() ([]byte, []int)deprecated
- func (x *SlpTokenMetadata_V1NFT1Child) GetGroupId() []byte
- func (x *SlpTokenMetadata_V1NFT1Child) GetTokenDocumentHash() []byte
- func (x *SlpTokenMetadata_V1NFT1Child) GetTokenDocumentUrl() string
- func (x *SlpTokenMetadata_V1NFT1Child) GetTokenName() string
- func (x *SlpTokenMetadata_V1NFT1Child) GetTokenTicker() string
- func (*SlpTokenMetadata_V1NFT1Child) ProtoMessage()
- func (x *SlpTokenMetadata_V1NFT1Child) ProtoReflect() protoreflect.Message
- func (x *SlpTokenMetadata_V1NFT1Child) Reset()
- func (x *SlpTokenMetadata_V1NFT1Child) String() string
- type SlpTokenMetadata_V1NFT1Group
- func (*SlpTokenMetadata_V1NFT1Group) Descriptor() ([]byte, []int)deprecated
- func (x *SlpTokenMetadata_V1NFT1Group) GetDecimals() uint32
- func (x *SlpTokenMetadata_V1NFT1Group) GetMintBatonHash() []byte
- func (x *SlpTokenMetadata_V1NFT1Group) GetMintBatonVout() uint32
- func (x *SlpTokenMetadata_V1NFT1Group) GetTokenDocumentHash() []byte
- func (x *SlpTokenMetadata_V1NFT1Group) GetTokenDocumentUrl() string
- func (x *SlpTokenMetadata_V1NFT1Group) GetTokenName() string
- func (x *SlpTokenMetadata_V1NFT1Group) GetTokenTicker() string
- func (*SlpTokenMetadata_V1NFT1Group) ProtoMessage()
- func (x *SlpTokenMetadata_V1NFT1Group) ProtoReflect() protoreflect.Message
- func (x *SlpTokenMetadata_V1NFT1Group) Reset()
- func (x *SlpTokenMetadata_V1NFT1Group) String() string
- type SlpTokenMetadata_V1Nft1Child
- type SlpTokenMetadata_V1Nft1Group
- type SlpTokenType
- func (SlpTokenType) Descriptor() protoreflect.EnumDescriptor
- func (x SlpTokenType) Enum() *SlpTokenType
- func (SlpTokenType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SlpTokenType) Number() protoreflect.EnumNumber
- func (x SlpTokenType) String() string
- func (SlpTokenType) Type() protoreflect.EnumType
- type SlpTransactionInfo
- func (*SlpTransactionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SlpTransactionInfo) GetBurnFlags() []SlpTransactionInfo_BurnFlags
- func (x *SlpTransactionInfo) GetParseError() string
- func (x *SlpTransactionInfo) GetSlpAction() SlpAction
- func (x *SlpTransactionInfo) GetTokenId() []byte
- func (m *SlpTransactionInfo) GetTxMetadata() isSlpTransactionInfo_TxMetadata
- func (x *SlpTransactionInfo) GetV1Genesis() *SlpV1GenesisMetadata
- func (x *SlpTransactionInfo) GetV1Mint() *SlpV1MintMetadata
- func (x *SlpTransactionInfo) GetV1Nft1ChildGenesis() *SlpV1Nft1ChildGenesisMetadata
- func (x *SlpTransactionInfo) GetV1Nft1ChildSend() *SlpV1Nft1ChildSendMetadata
- func (x *SlpTransactionInfo) GetV1Send() *SlpV1SendMetadata
- func (x *SlpTransactionInfo) GetValidityJudgement() SlpTransactionInfo_ValidityJudgement
- func (*SlpTransactionInfo) ProtoMessage()
- func (x *SlpTransactionInfo) ProtoReflect() protoreflect.Message
- func (x *SlpTransactionInfo) Reset()
- func (x *SlpTransactionInfo) String() string
- type SlpTransactionInfo_BurnFlags
- func (SlpTransactionInfo_BurnFlags) Descriptor() protoreflect.EnumDescriptor
- func (x SlpTransactionInfo_BurnFlags) Enum() *SlpTransactionInfo_BurnFlags
- func (SlpTransactionInfo_BurnFlags) EnumDescriptor() ([]byte, []int)deprecated
- func (x SlpTransactionInfo_BurnFlags) Number() protoreflect.EnumNumber
- func (x SlpTransactionInfo_BurnFlags) String() string
- func (SlpTransactionInfo_BurnFlags) Type() protoreflect.EnumType
- type SlpTransactionInfo_V1Genesis
- type SlpTransactionInfo_V1Mint
- type SlpTransactionInfo_V1Nft1ChildGenesis
- type SlpTransactionInfo_V1Nft1ChildSend
- type SlpTransactionInfo_V1Send
- type SlpTransactionInfo_ValidityJudgement
- func (SlpTransactionInfo_ValidityJudgement) Descriptor() protoreflect.EnumDescriptor
- func (x SlpTransactionInfo_ValidityJudgement) Enum() *SlpTransactionInfo_ValidityJudgement
- func (SlpTransactionInfo_ValidityJudgement) EnumDescriptor() ([]byte, []int)deprecated
- func (x SlpTransactionInfo_ValidityJudgement) Number() protoreflect.EnumNumber
- func (x SlpTransactionInfo_ValidityJudgement) String() string
- func (SlpTransactionInfo_ValidityJudgement) Type() protoreflect.EnumType
- type SlpV1GenesisMetadata
- func (*SlpV1GenesisMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SlpV1GenesisMetadata) GetDecimals() uint32
- func (x *SlpV1GenesisMetadata) GetDocumentHash() []byte
- func (x *SlpV1GenesisMetadata) GetDocumentUrl() []byte
- func (x *SlpV1GenesisMetadata) GetMintAmount() uint64
- func (x *SlpV1GenesisMetadata) GetMintBatonVout() uint32
- func (x *SlpV1GenesisMetadata) GetName() []byte
- func (x *SlpV1GenesisMetadata) GetTicker() []byte
- func (*SlpV1GenesisMetadata) ProtoMessage()
- func (x *SlpV1GenesisMetadata) ProtoReflect() protoreflect.Message
- func (x *SlpV1GenesisMetadata) Reset()
- func (x *SlpV1GenesisMetadata) String() string
- type SlpV1MintMetadata
- func (*SlpV1MintMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SlpV1MintMetadata) GetMintAmount() uint64
- func (x *SlpV1MintMetadata) GetMintBatonVout() uint32
- func (*SlpV1MintMetadata) ProtoMessage()
- func (x *SlpV1MintMetadata) ProtoReflect() protoreflect.Message
- func (x *SlpV1MintMetadata) Reset()
- func (x *SlpV1MintMetadata) String() string
- type SlpV1Nft1ChildGenesisMetadata
- func (*SlpV1Nft1ChildGenesisMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SlpV1Nft1ChildGenesisMetadata) GetDecimals() uint32
- func (x *SlpV1Nft1ChildGenesisMetadata) GetDocumentHash() []byte
- func (x *SlpV1Nft1ChildGenesisMetadata) GetDocumentUrl() []byte
- func (x *SlpV1Nft1ChildGenesisMetadata) GetGroupTokenId() []byte
- func (x *SlpV1Nft1ChildGenesisMetadata) GetName() []byte
- func (x *SlpV1Nft1ChildGenesisMetadata) GetTicker() []byte
- func (*SlpV1Nft1ChildGenesisMetadata) ProtoMessage()
- func (x *SlpV1Nft1ChildGenesisMetadata) ProtoReflect() protoreflect.Message
- func (x *SlpV1Nft1ChildGenesisMetadata) Reset()
- func (x *SlpV1Nft1ChildGenesisMetadata) String() string
- type SlpV1Nft1ChildSendMetadata
- func (*SlpV1Nft1ChildSendMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SlpV1Nft1ChildSendMetadata) GetGroupTokenId() []byte
- func (*SlpV1Nft1ChildSendMetadata) ProtoMessage()
- func (x *SlpV1Nft1ChildSendMetadata) ProtoReflect() protoreflect.Message
- func (x *SlpV1Nft1ChildSendMetadata) Reset()
- func (x *SlpV1Nft1ChildSendMetadata) String() string
- type SlpV1SendMetadata
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionRequest) GetRequiredSlpBurns() []*SlpRequiredBurn
- func (x *SubmitTransactionRequest) GetSkipSlpValidityCheck() bool
- func (x *SubmitTransactionRequest) GetTransaction() []byte
- func (*SubmitTransactionRequest) ProtoMessage()
- func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionRequest) Reset()
- func (x *SubmitTransactionRequest) String() string
- type SubmitTransactionResponse
- func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionResponse) GetHash() []byte
- func (*SubmitTransactionResponse) ProtoMessage()
- func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionResponse) Reset()
- func (x *SubmitTransactionResponse) String() string
- type SubscribeBlocksRequest
- func (*SubscribeBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeBlocksRequest) GetFullBlock() bool
- func (x *SubscribeBlocksRequest) GetFullTransactions() bool
- func (x *SubscribeBlocksRequest) GetSerializeBlock() bool
- func (*SubscribeBlocksRequest) ProtoMessage()
- func (x *SubscribeBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeBlocksRequest) Reset()
- func (x *SubscribeBlocksRequest) String() string
- type SubscribeTransactionsRequest
- func (*SubscribeTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeTransactionsRequest) GetIncludeInBlock() bool
- func (x *SubscribeTransactionsRequest) GetIncludeMempool() bool
- func (x *SubscribeTransactionsRequest) GetSerializeTx() bool
- func (x *SubscribeTransactionsRequest) GetSubscribe() *TransactionFilter
- func (x *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter
- func (*SubscribeTransactionsRequest) ProtoMessage()
- func (x *SubscribeTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeTransactionsRequest) Reset()
- func (x *SubscribeTransactionsRequest) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetBlockHash() []byte
- func (x *Transaction) GetBlockHeight() int32
- func (x *Transaction) GetConfirmations() int32
- func (x *Transaction) GetHash() []byte
- func (x *Transaction) GetInputs() []*Transaction_Input
- func (x *Transaction) GetLockTime() uint32
- func (x *Transaction) GetOutputs() []*Transaction_Output
- func (x *Transaction) GetSize() int32
- func (x *Transaction) GetSlpTransactionInfo() *SlpTransactionInfo
- func (x *Transaction) GetTimestamp() int64
- func (x *Transaction) GetVersion() int32
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionFilter
- func (*TransactionFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionFilter) GetAddresses() []string
- func (x *TransactionFilter) GetAllSlpTransactions() bool
- func (x *TransactionFilter) GetAllTransactions() bool
- func (x *TransactionFilter) GetDataElements() [][]byte
- func (x *TransactionFilter) GetOutpoints() []*Transaction_Input_Outpoint
- func (x *TransactionFilter) GetSlpTokenIds() [][]byte
- func (*TransactionFilter) ProtoMessage()
- func (x *TransactionFilter) ProtoReflect() protoreflect.Message
- func (x *TransactionFilter) Reset()
- func (x *TransactionFilter) String() string
- type TransactionNotification
- func (*TransactionNotification) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionNotification) GetConfirmedTransaction() *Transaction
- func (x *TransactionNotification) GetSerializedTransaction() []byte
- func (m *TransactionNotification) GetTransaction() isTransactionNotification_Transaction
- func (x *TransactionNotification) GetType() TransactionNotification_Type
- func (x *TransactionNotification) GetUnconfirmedTransaction() *MempoolTransaction
- func (*TransactionNotification) ProtoMessage()
- func (x *TransactionNotification) ProtoReflect() protoreflect.Message
- func (x *TransactionNotification) Reset()
- func (x *TransactionNotification) String() string
- type TransactionNotification_ConfirmedTransaction
- type TransactionNotification_SerializedTransaction
- type TransactionNotification_Type
- func (TransactionNotification_Type) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionNotification_Type) Enum() *TransactionNotification_Type
- func (TransactionNotification_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionNotification_Type) Number() protoreflect.EnumNumber
- func (x TransactionNotification_Type) String() string
- func (TransactionNotification_Type) Type() protoreflect.EnumType
- type TransactionNotification_UnconfirmedTransaction
- type Transaction_Input
- func (*Transaction_Input) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Input) GetAddress() string
- func (x *Transaction_Input) GetIndex() uint32
- func (x *Transaction_Input) GetOutpoint() *Transaction_Input_Outpoint
- func (x *Transaction_Input) GetPreviousScript() []byte
- func (x *Transaction_Input) GetSequence() uint32
- func (x *Transaction_Input) GetSignatureScript() []byte
- func (x *Transaction_Input) GetSlpToken() *SlpToken
- func (x *Transaction_Input) GetValue() int64
- func (*Transaction_Input) ProtoMessage()
- func (x *Transaction_Input) ProtoReflect() protoreflect.Message
- func (x *Transaction_Input) Reset()
- func (x *Transaction_Input) String() string
- type Transaction_Input_Outpoint
- func (*Transaction_Input_Outpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Input_Outpoint) GetHash() []byte
- func (x *Transaction_Input_Outpoint) GetIndex() uint32
- func (*Transaction_Input_Outpoint) ProtoMessage()
- func (x *Transaction_Input_Outpoint) ProtoReflect() protoreflect.Message
- func (x *Transaction_Input_Outpoint) Reset()
- func (x *Transaction_Input_Outpoint) String() string
- type Transaction_Output
- func (*Transaction_Output) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction_Output) GetAddress() string
- func (x *Transaction_Output) GetDisassembledScript() string
- func (x *Transaction_Output) GetIndex() uint32
- func (x *Transaction_Output) GetPubkeyScript() []byte
- func (x *Transaction_Output) GetScriptClass() string
- func (x *Transaction_Output) GetSlpToken() *SlpToken
- func (x *Transaction_Output) GetValue() int64
- func (*Transaction_Output) ProtoMessage()
- func (x *Transaction_Output) ProtoReflect() protoreflect.Message
- func (x *Transaction_Output) Reset()
- func (x *Transaction_Output) String() string
- type UnimplementedBchrpcServer
- func (*UnimplementedBchrpcServer) CheckSlpTransaction(context.Context, *CheckSlpTransactionRequest) (*CheckSlpTransactionResponse, error)
- func (*UnimplementedBchrpcServer) GetAddressTransactions(context.Context, *GetAddressTransactionsRequest) (*GetAddressTransactionsResponse, error)
- func (*UnimplementedBchrpcServer) GetAddressUnspentOutputs(context.Context, *GetAddressUnspentOutputsRequest) (*GetAddressUnspentOutputsResponse, error)
- func (*UnimplementedBchrpcServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
- func (*UnimplementedBchrpcServer) GetBlockFilter(context.Context, *GetBlockFilterRequest) (*GetBlockFilterResponse, error)
- func (*UnimplementedBchrpcServer) GetBlockInfo(context.Context, *GetBlockInfoRequest) (*GetBlockInfoResponse, error)
- func (*UnimplementedBchrpcServer) GetBlockchainInfo(context.Context, *GetBlockchainInfoRequest) (*GetBlockchainInfoResponse, error)
- func (*UnimplementedBchrpcServer) GetHeaders(context.Context, *GetHeadersRequest) (*GetHeadersResponse, error)
- func (*UnimplementedBchrpcServer) GetMempool(context.Context, *GetMempoolRequest) (*GetMempoolResponse, error)
- func (*UnimplementedBchrpcServer) GetMempoolInfo(context.Context, *GetMempoolInfoRequest) (*GetMempoolInfoResponse, error)
- func (*UnimplementedBchrpcServer) GetMerkleProof(context.Context, *GetMerkleProofRequest) (*GetMerkleProofResponse, error)
- func (*UnimplementedBchrpcServer) GetRawAddressTransactions(context.Context, *GetRawAddressTransactionsRequest) (*GetRawAddressTransactionsResponse, error)
- func (*UnimplementedBchrpcServer) GetRawBlock(context.Context, *GetRawBlockRequest) (*GetRawBlockResponse, error)
- func (*UnimplementedBchrpcServer) GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error)
- func (*UnimplementedBchrpcServer) GetSlpGraphSearch(context.Context, *GetSlpGraphSearchRequest) (*GetSlpGraphSearchResponse, error)
- func (*UnimplementedBchrpcServer) GetSlpParsedScript(context.Context, *GetSlpParsedScriptRequest) (*GetSlpParsedScriptResponse, error)
- func (*UnimplementedBchrpcServer) GetSlpTokenMetadata(context.Context, *GetSlpTokenMetadataRequest) (*GetSlpTokenMetadataResponse, error)
- func (*UnimplementedBchrpcServer) GetSlpTrustedValidation(context.Context, *GetSlpTrustedValidationRequest) (*GetSlpTrustedValidationResponse, error)
- func (*UnimplementedBchrpcServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
- func (*UnimplementedBchrpcServer) GetUnspentOutput(context.Context, *GetUnspentOutputRequest) (*GetUnspentOutputResponse, error)
- func (*UnimplementedBchrpcServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
- func (*UnimplementedBchrpcServer) SubscribeBlocks(*SubscribeBlocksRequest, Bchrpc_SubscribeBlocksServer) error
- func (*UnimplementedBchrpcServer) SubscribeTransactionStream(Bchrpc_SubscribeTransactionStreamServer) error
- func (*UnimplementedBchrpcServer) SubscribeTransactions(*SubscribeTransactionsRequest, Bchrpc_SubscribeTransactionsServer) error
- type UnspentOutput
- func (*UnspentOutput) Descriptor() ([]byte, []int)deprecated
- func (x *UnspentOutput) GetBlockHeight() int32
- func (x *UnspentOutput) GetIsCoinbase() bool
- func (x *UnspentOutput) GetOutpoint() *Transaction_Input_Outpoint
- func (x *UnspentOutput) GetPubkeyScript() []byte
- func (x *UnspentOutput) GetSlpToken() *SlpToken
- func (x *UnspentOutput) GetValue() int64
- func (*UnspentOutput) ProtoMessage()
- func (x *UnspentOutput) ProtoReflect() protoreflect.Message
- func (x *UnspentOutput) Reset()
- func (x *UnspentOutput) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SlpTokenType_name = map[int32]string{ 0: "VERSION_NOT_SET", 1: "V1_FUNGIBLE", 65: "V1_NFT1_CHILD", 129: "V1_NFT1_GROUP", } SlpTokenType_value = map[string]int32{ "VERSION_NOT_SET": 0, "V1_FUNGIBLE": 1, "V1_NFT1_CHILD": 65, "V1_NFT1_GROUP": 129, } )
Enum value maps for SlpTokenType.
var ( SlpAction_name = map[int32]string{ 0: "NON_SLP", 1: "NON_SLP_BURN", 2: "SLP_PARSE_ERROR", 3: "SLP_UNSUPPORTED_VERSION", 4: "SLP_V1_GENESIS", 5: "SLP_V1_MINT", 6: "SLP_V1_SEND", 7: "SLP_V1_NFT1_GROUP_GENESIS", 8: "SLP_V1_NFT1_GROUP_MINT", 9: "SLP_V1_NFT1_GROUP_SEND", 10: "SLP_V1_NFT1_UNIQUE_CHILD_GENESIS", 11: "SLP_V1_NFT1_UNIQUE_CHILD_SEND", } SlpAction_value = map[string]int32{ "NON_SLP": 0, "NON_SLP_BURN": 1, "SLP_PARSE_ERROR": 2, "SLP_UNSUPPORTED_VERSION": 3, "SLP_V1_GENESIS": 4, "SLP_V1_MINT": 5, "SLP_V1_SEND": 6, "SLP_V1_NFT1_GROUP_GENESIS": 7, "SLP_V1_NFT1_GROUP_MINT": 8, "SLP_V1_NFT1_GROUP_SEND": 9, "SLP_V1_NFT1_UNIQUE_CHILD_GENESIS": 10, "SLP_V1_NFT1_UNIQUE_CHILD_SEND": 11, } )
Enum value maps for SlpAction.
var ( GetBlockchainInfoResponse_BitcoinNet_name = map[int32]string{ 0: "MAINNET", 1: "REGTEST", 2: "TESTNET3", 3: "SIMNET", } GetBlockchainInfoResponse_BitcoinNet_value = map[string]int32{ "MAINNET": 0, "REGTEST": 1, "TESTNET3": 2, "SIMNET": 3, } )
Enum value maps for GetBlockchainInfoResponse_BitcoinNet.
var ( BlockNotification_Type_name = map[int32]string{ 0: "CONNECTED", 1: "DISCONNECTED", } BlockNotification_Type_value = map[string]int32{ "CONNECTED": 0, "DISCONNECTED": 1, } )
Enum value maps for BlockNotification_Type.
var ( TransactionNotification_Type_name = map[int32]string{ 0: "UNCONFIRMED", 1: "CONFIRMED", } TransactionNotification_Type_value = map[string]int32{ "UNCONFIRMED": 0, "CONFIRMED": 1, } )
Enum value maps for TransactionNotification_Type.
var ( SlpTransactionInfo_ValidityJudgement_name = map[int32]string{ 0: "UNKNOWN_OR_INVALID", 1: "VALID", } SlpTransactionInfo_ValidityJudgement_value = map[string]int32{ "UNKNOWN_OR_INVALID": 0, "VALID": 1, } )
Enum value maps for SlpTransactionInfo_ValidityJudgement.
var ( SlpTransactionInfo_BurnFlags_name = map[int32]string{ 0: "BURNED_INPUTS_OUTPUTS_TOO_HIGH", 1: "BURNED_INPUTS_BAD_OPRETURN", 2: "BURNED_INPUTS_OTHER_TOKEN", 3: "BURNED_OUTPUTS_MISSING_BCH_VOUT", 4: "BURNED_INPUTS_GREATER_THAN_OUTPUTS", } SlpTransactionInfo_BurnFlags_value = map[string]int32{ "BURNED_INPUTS_OUTPUTS_TOO_HIGH": 0, "BURNED_INPUTS_BAD_OPRETURN": 1, "BURNED_INPUTS_OTHER_TOKEN": 2, "BURNED_OUTPUTS_MISSING_BCH_VOUT": 3, "BURNED_INPUTS_GREATER_THAN_OUTPUTS": 4, } )
Enum value maps for SlpTransactionInfo_BurnFlags.
var File_bchrpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBchrpcHandler ¶
RegisterBchrpcHandler registers the http handlers for service Bchrpc to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBchrpcHandlerClient ¶
func RegisterBchrpcHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BchrpcClient) error
RegisterBchrpcHandlerClient registers the http handlers for service Bchrpc to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BchrpcClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BchrpcClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BchrpcClient" to call the correct interceptors.
func RegisterBchrpcHandlerFromEndpoint ¶
func RegisterBchrpcHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBchrpcHandlerFromEndpoint is same as RegisterBchrpcHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBchrpcHandlerServer ¶
func RegisterBchrpcHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BchrpcServer) error
RegisterBchrpcHandlerServer registers the http handlers for service Bchrpc to "mux". UnaryRPC :call BchrpcServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBchrpcHandlerFromEndpoint instead.
func RegisterBchrpcServer ¶
func RegisterBchrpcServer(s *grpc.Server, srv BchrpcServer)
Types ¶
type BchrpcClient ¶
type BchrpcClient interface { // GetMempoolInfo returns the state of the current mempool. GetMempoolInfo(ctx context.Context, in *GetMempoolInfoRequest, opts ...grpc.CallOption) (*GetMempoolInfoResponse, error) // GetMempool returns information about all transactions currently in the memory pool. // Offers an option to return full transactions or just transactions hashes. GetMempool(ctx context.Context, in *GetMempoolRequest, opts ...grpc.CallOption) (*GetMempoolResponse, error) // GetBlockchainInfo returns data about the blockchain including the most recent // block hash and height. GetBlockchainInfo(ctx context.Context, in *GetBlockchainInfoRequest, opts ...grpc.CallOption) (*GetBlockchainInfoResponse, error) // GetBlockInfo returns metadata and info for a specified block. GetBlockInfo(ctx context.Context, in *GetBlockInfoRequest, opts ...grpc.CallOption) (*GetBlockInfoResponse, error) // GetBlock returns detailed data for a block. GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) // GetRawBlock returns a block in a serialized format. GetRawBlock(ctx context.Context, in *GetRawBlockRequest, opts ...grpc.CallOption) (*GetRawBlockResponse, error) // GetBlockFilter returns the compact filter (cf) of a block as a Golomb-Rice encoded set. // // **Requires CfIndex** GetBlockFilter(ctx context.Context, in *GetBlockFilterRequest, opts ...grpc.CallOption) (*GetBlockFilterResponse, error) // GetHeaders takes a block locator object and returns a batch of no more than 2000 // headers. Upon parsing the block locator, if the server concludes there has been a // fork, it will send headers starting at the fork point, or genesis if no blocks in // the locator are in the best chain. If the locator is already at the tip no headers // will be returned. // see: bchd/bchrpc/documentation/wallet_operation.md GetHeaders(ctx context.Context, in *GetHeadersRequest, opts ...grpc.CallOption) (*GetHeadersResponse, error) // GetTransaction returns a transaction given a transaction hash. // // **Requires TxIndex** // **Requires SlpIndex for slp related information ** GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) // GetRawTransaction returns a serialized transaction given a transaction hash. // // **Requires TxIndex** GetRawTransaction(ctx context.Context, in *GetRawTransactionRequest, opts ...grpc.CallOption) (*GetRawTransactionResponse, error) // GetAddressTransactions returns the transactions for the given address. Offers offset, // limit, and from block options. // // **Requires AddressIndex** // **Requires SlpIndex for slp related information ** GetAddressTransactions(ctx context.Context, in *GetAddressTransactionsRequest, opts ...grpc.CallOption) (*GetAddressTransactionsResponse, error) // GetRawAddressTransactions the serialized raw transactions for // the given address. Offers offset, limit, and from block options. // // **Requires AddressIndex** GetRawAddressTransactions(ctx context.Context, in *GetRawAddressTransactionsRequest, opts ...grpc.CallOption) (*GetRawAddressTransactionsResponse, error) // GetAddressUnspentOutputs returns all the unspent transaction outputs // for the given address. // // **Requires AddressIndex** // **Requires SlpIndex for slp related information ** GetAddressUnspentOutputs(ctx context.Context, in *GetAddressUnspentOutputsRequest, opts ...grpc.CallOption) (*GetAddressUnspentOutputsResponse, error) // GetUnspentOutput takes an unspent output in the utxo set and returns // the utxo metadata or not found. // // **Requires SlpIndex for slp related information ** GetUnspentOutput(ctx context.Context, in *GetUnspentOutputRequest, opts ...grpc.CallOption) (*GetUnspentOutputResponse, error) // GetMerkleProof returns a Merkle (SPV) proof for a specific transaction // in the provided block. // // **Requires TxIndex** GetMerkleProof(ctx context.Context, in *GetMerkleProofRequest, opts ...grpc.CallOption) (*GetMerkleProofResponse, error) // GetSlpTokenMetadata return slp token metadata for one or more tokens. // // **Requires SlpIndex** GetSlpTokenMetadata(ctx context.Context, in *GetSlpTokenMetadataRequest, opts ...grpc.CallOption) (*GetSlpTokenMetadataResponse, error) // GetSlpParsedScript returns marshalled object from parsing an slp pubKeyScript // using goslp package. This endpoint does not require SlpIndex. GetSlpParsedScript(ctx context.Context, in *GetSlpParsedScriptRequest, opts ...grpc.CallOption) (*GetSlpParsedScriptResponse, error) // GetSlpTrustedValidation returns slp validity related information for one or more transactions. // // **Requires SlpIndex** GetSlpTrustedValidation(ctx context.Context, in *GetSlpTrustedValidationRequest, opts ...grpc.CallOption) (*GetSlpTrustedValidationResponse, error) // GraphSearch returns all the transactions needed for a client to validate an SLP graph // // **Requires SlpIndex and SlpGraphSearch** GetSlpGraphSearch(ctx context.Context, in *GetSlpGraphSearchRequest, opts ...grpc.CallOption) (*GetSlpGraphSearchResponse, error) // CheckSlpTransaction checks the validity of a supposed slp transaction before it is broadcasted. CheckSlpTransaction(ctx context.Context, in *CheckSlpTransactionRequest, opts ...grpc.CallOption) (*CheckSlpTransactionResponse, error) // Submit a transaction to all connected peers. SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error) // SubscribeTransactions creates subscription to all relevant transactions based on // the subscription filter. // // This RPC does not use bidirectional streams and therefore can be used // with grpc-web. You will need to close and reopen the stream whenever // you want to update the subscription filter. If you are not using grpc-web // then SubscribeTransactionStream is more appropriate. // // **Requires TxIndex to receive input metadata** // **Requires SlpIndex to receive slp input/output metadata, or SlpTokenMetadata** SubscribeTransactions(ctx context.Context, in *SubscribeTransactionsRequest, opts ...grpc.CallOption) (Bchrpc_SubscribeTransactionsClient, error) // SubscribeTransactionStream subscribes to relevant transactions based on // the subscription requests. The parameters to filter transactions on can // be updated by sending new SubscribeTransactionsRequest objects on the stream. // // NOTE: Because this RPC is using bi-directional streaming it cannot be used with // grpc-web. // // **Requires TxIndex to receive input metadata** SubscribeTransactionStream(ctx context.Context, opts ...grpc.CallOption) (Bchrpc_SubscribeTransactionStreamClient, error) // SubscribeBlocks creates a subscription for notifications of new blocks being // connected to the blockchain or blocks being disconnected. SubscribeBlocks(ctx context.Context, in *SubscribeBlocksRequest, opts ...grpc.CallOption) (Bchrpc_SubscribeBlocksClient, error) }
BchrpcClient is the client API for Bchrpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBchrpcClient ¶
func NewBchrpcClient(cc grpc.ClientConnInterface) BchrpcClient
type BchrpcServer ¶
type BchrpcServer interface { // GetMempoolInfo returns the state of the current mempool. GetMempoolInfo(context.Context, *GetMempoolInfoRequest) (*GetMempoolInfoResponse, error) // GetMempool returns information about all transactions currently in the memory pool. // Offers an option to return full transactions or just transactions hashes. GetMempool(context.Context, *GetMempoolRequest) (*GetMempoolResponse, error) // GetBlockchainInfo returns data about the blockchain including the most recent // block hash and height. GetBlockchainInfo(context.Context, *GetBlockchainInfoRequest) (*GetBlockchainInfoResponse, error) // GetBlockInfo returns metadata and info for a specified block. GetBlockInfo(context.Context, *GetBlockInfoRequest) (*GetBlockInfoResponse, error) // GetBlock returns detailed data for a block. GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) // GetRawBlock returns a block in a serialized format. GetRawBlock(context.Context, *GetRawBlockRequest) (*GetRawBlockResponse, error) // GetBlockFilter returns the compact filter (cf) of a block as a Golomb-Rice encoded set. // // **Requires CfIndex** GetBlockFilter(context.Context, *GetBlockFilterRequest) (*GetBlockFilterResponse, error) // GetHeaders takes a block locator object and returns a batch of no more than 2000 // headers. Upon parsing the block locator, if the server concludes there has been a // fork, it will send headers starting at the fork point, or genesis if no blocks in // the locator are in the best chain. If the locator is already at the tip no headers // will be returned. // see: bchd/bchrpc/documentation/wallet_operation.md GetHeaders(context.Context, *GetHeadersRequest) (*GetHeadersResponse, error) // GetTransaction returns a transaction given a transaction hash. // // **Requires TxIndex** // **Requires SlpIndex for slp related information ** GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) // GetRawTransaction returns a serialized transaction given a transaction hash. // // **Requires TxIndex** GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error) // GetAddressTransactions returns the transactions for the given address. Offers offset, // limit, and from block options. // // **Requires AddressIndex** // **Requires SlpIndex for slp related information ** GetAddressTransactions(context.Context, *GetAddressTransactionsRequest) (*GetAddressTransactionsResponse, error) // GetRawAddressTransactions the serialized raw transactions for // the given address. Offers offset, limit, and from block options. // // **Requires AddressIndex** GetRawAddressTransactions(context.Context, *GetRawAddressTransactionsRequest) (*GetRawAddressTransactionsResponse, error) // GetAddressUnspentOutputs returns all the unspent transaction outputs // for the given address. // // **Requires AddressIndex** // **Requires SlpIndex for slp related information ** GetAddressUnspentOutputs(context.Context, *GetAddressUnspentOutputsRequest) (*GetAddressUnspentOutputsResponse, error) // GetUnspentOutput takes an unspent output in the utxo set and returns // the utxo metadata or not found. // // **Requires SlpIndex for slp related information ** GetUnspentOutput(context.Context, *GetUnspentOutputRequest) (*GetUnspentOutputResponse, error) // GetMerkleProof returns a Merkle (SPV) proof for a specific transaction // in the provided block. // // **Requires TxIndex** GetMerkleProof(context.Context, *GetMerkleProofRequest) (*GetMerkleProofResponse, error) // GetSlpTokenMetadata return slp token metadata for one or more tokens. // // **Requires SlpIndex** GetSlpTokenMetadata(context.Context, *GetSlpTokenMetadataRequest) (*GetSlpTokenMetadataResponse, error) // GetSlpParsedScript returns marshalled object from parsing an slp pubKeyScript // using goslp package. This endpoint does not require SlpIndex. GetSlpParsedScript(context.Context, *GetSlpParsedScriptRequest) (*GetSlpParsedScriptResponse, error) // GetSlpTrustedValidation returns slp validity related information for one or more transactions. // // **Requires SlpIndex** GetSlpTrustedValidation(context.Context, *GetSlpTrustedValidationRequest) (*GetSlpTrustedValidationResponse, error) // GraphSearch returns all the transactions needed for a client to validate an SLP graph // // **Requires SlpIndex and SlpGraphSearch** GetSlpGraphSearch(context.Context, *GetSlpGraphSearchRequest) (*GetSlpGraphSearchResponse, error) // CheckSlpTransaction checks the validity of a supposed slp transaction before it is broadcasted. CheckSlpTransaction(context.Context, *CheckSlpTransactionRequest) (*CheckSlpTransactionResponse, error) // Submit a transaction to all connected peers. SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error) // SubscribeTransactions creates subscription to all relevant transactions based on // the subscription filter. // // This RPC does not use bidirectional streams and therefore can be used // with grpc-web. You will need to close and reopen the stream whenever // you want to update the subscription filter. If you are not using grpc-web // then SubscribeTransactionStream is more appropriate. // // **Requires TxIndex to receive input metadata** // **Requires SlpIndex to receive slp input/output metadata, or SlpTokenMetadata** SubscribeTransactions(*SubscribeTransactionsRequest, Bchrpc_SubscribeTransactionsServer) error // SubscribeTransactionStream subscribes to relevant transactions based on // the subscription requests. The parameters to filter transactions on can // be updated by sending new SubscribeTransactionsRequest objects on the stream. // // NOTE: Because this RPC is using bi-directional streaming it cannot be used with // grpc-web. // // **Requires TxIndex to receive input metadata** SubscribeTransactionStream(Bchrpc_SubscribeTransactionStreamServer) error // SubscribeBlocks creates a subscription for notifications of new blocks being // connected to the blockchain or blocks being disconnected. SubscribeBlocks(*SubscribeBlocksRequest, Bchrpc_SubscribeBlocksServer) error }
BchrpcServer is the server API for Bchrpc service.
type Bchrpc_SubscribeBlocksClient ¶
type Bchrpc_SubscribeBlocksClient interface { Recv() (*BlockNotification, error) grpc.ClientStream }
type Bchrpc_SubscribeBlocksServer ¶
type Bchrpc_SubscribeBlocksServer interface { Send(*BlockNotification) error grpc.ServerStream }
type Bchrpc_SubscribeTransactionStreamClient ¶
type Bchrpc_SubscribeTransactionStreamClient interface { Send(*SubscribeTransactionsRequest) error Recv() (*TransactionNotification, error) grpc.ClientStream }
type Bchrpc_SubscribeTransactionStreamServer ¶
type Bchrpc_SubscribeTransactionStreamServer interface { Send(*TransactionNotification) error Recv() (*SubscribeTransactionsRequest, error) grpc.ServerStream }
type Bchrpc_SubscribeTransactionsClient ¶
type Bchrpc_SubscribeTransactionsClient interface { Recv() (*TransactionNotification, error) grpc.ClientStream }
type Bchrpc_SubscribeTransactionsServer ¶
type Bchrpc_SubscribeTransactionsServer interface { Send(*TransactionNotification) error grpc.ServerStream }
type Block ¶
type Block struct { // Block header data, as well as metadata stored by the node. Info *BlockInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // List of transactions or transaction hashes. TransactionData []*Block_TransactionData `protobuf:"bytes,2,rep,name=transaction_data,json=transactionData,proto3" json:"transaction_data,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetTransactionData ¶
func (x *Block) GetTransactionData() []*Block_TransactionData
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type BlockInfo ¶
type BlockInfo struct { // The double sha256 hash of the six header fields in the first 80 bytes // of the block, when encoded according the bitcoin protocol, little-endian. // sha256(sha256(encoded_header)) Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The block number, an incremental index for each block mined. Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // A version number to track software/protocol upgrades. Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // Hash of the previous block, little-endian. PreviousBlock []byte `protobuf:"bytes,4,opt,name=previous_block,json=previousBlock,proto3" json:"previous_block,omitempty"` // The root of the Merkle Tree built from all transactions in the block, little-endian. MerkleRoot []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` // When mining of the block started, expressed in seconds since 1970-01-01. Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Difficulty in Compressed Target Format. Bits uint32 `protobuf:"varint,7,opt,name=bits,proto3" json:"bits,omitempty"` // A random value that was generated during block mining which happened to // result in a computed block hash below the difficulty target at the time. Nonce uint32 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` // Number of blocks in a chain, including the block itself upon creation. Confirmations int32 `protobuf:"varint,9,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // Difficulty target at time of creation. Difficulty float64 `protobuf:"fixed64,10,opt,name=difficulty,proto3" json:"difficulty,omitempty"` // Hash of the next block in this chain, little-endian. NextBlockHash []byte `protobuf:"bytes,11,opt,name=next_block_hash,json=nextBlockHash,proto3" json:"next_block_hash,omitempty"` // Size of the block in bytes. Size int32 `protobuf:"varint,12,opt,name=size,proto3" json:"size,omitempty"` // The median block time of the latest 11 block timestamps. MedianTime int64 `protobuf:"varint,13,opt,name=median_time,json=medianTime,proto3" json:"median_time,omitempty"` // contains filtered or unexported fields }
Metadata for identifying and validating a block
func (*BlockInfo) Descriptor
deprecated
func (*BlockInfo) GetConfirmations ¶
func (*BlockInfo) GetDifficulty ¶
func (*BlockInfo) GetMedianTime ¶
func (*BlockInfo) GetMerkleRoot ¶
func (*BlockInfo) GetNextBlockHash ¶
func (*BlockInfo) GetPreviousBlock ¶
func (*BlockInfo) GetTimestamp ¶
func (*BlockInfo) GetVersion ¶
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) ProtoReflect ¶
func (x *BlockInfo) ProtoReflect() protoreflect.Message
type BlockNotification ¶
type BlockNotification struct { // Whether the block is connected to the chain. Type BlockNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.BlockNotification_Type" json:"type,omitempty"` // Types that are assignable to Block: // *BlockNotification_BlockInfo // *BlockNotification_MarshaledBlock // *BlockNotification_SerializedBlock Block isBlockNotification_Block `protobuf_oneof:"block"` // contains filtered or unexported fields }
func (*BlockNotification) Descriptor
deprecated
func (*BlockNotification) Descriptor() ([]byte, []int)
Deprecated: Use BlockNotification.ProtoReflect.Descriptor instead.
func (*BlockNotification) GetBlock ¶
func (m *BlockNotification) GetBlock() isBlockNotification_Block
func (*BlockNotification) GetBlockInfo ¶
func (x *BlockNotification) GetBlockInfo() *BlockInfo
func (*BlockNotification) GetMarshaledBlock ¶
func (x *BlockNotification) GetMarshaledBlock() *Block
func (*BlockNotification) GetSerializedBlock ¶
func (x *BlockNotification) GetSerializedBlock() []byte
func (*BlockNotification) GetType ¶
func (x *BlockNotification) GetType() BlockNotification_Type
func (*BlockNotification) ProtoMessage ¶
func (*BlockNotification) ProtoMessage()
func (*BlockNotification) ProtoReflect ¶
func (x *BlockNotification) ProtoReflect() protoreflect.Message
func (*BlockNotification) Reset ¶
func (x *BlockNotification) Reset()
func (*BlockNotification) String ¶
func (x *BlockNotification) String() string
type BlockNotification_BlockInfo ¶
type BlockNotification_BlockInfo struct { // Marshaled block header data, as well as metadata stored by the node. BlockInfo *BlockInfo `protobuf:"bytes,2,opt,name=block_info,json=blockInfo,proto3,oneof"` }
type BlockNotification_MarshaledBlock ¶
type BlockNotification_MarshaledBlock struct { // A Block. MarshaledBlock *Block `protobuf:"bytes,3,opt,name=marshaled_block,json=marshaledBlock,proto3,oneof"` }
type BlockNotification_SerializedBlock ¶
type BlockNotification_SerializedBlock struct { // Binary block, serialized using bitcoin protocol encoding. SerializedBlock []byte `protobuf:"bytes,4,opt,name=serialized_block,json=serializedBlock,proto3,oneof"` }
type BlockNotification_Type ¶
type BlockNotification_Type int32
State of the block in relation to the chain.
const ( BlockNotification_CONNECTED BlockNotification_Type = 0 BlockNotification_DISCONNECTED BlockNotification_Type = 1 )
func (BlockNotification_Type) Descriptor ¶
func (BlockNotification_Type) Descriptor() protoreflect.EnumDescriptor
func (BlockNotification_Type) Enum ¶
func (x BlockNotification_Type) Enum() *BlockNotification_Type
func (BlockNotification_Type) EnumDescriptor
deprecated
func (BlockNotification_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockNotification_Type.Descriptor instead.
func (BlockNotification_Type) Number ¶
func (x BlockNotification_Type) Number() protoreflect.EnumNumber
func (BlockNotification_Type) String ¶
func (x BlockNotification_Type) String() string
func (BlockNotification_Type) Type ¶
func (BlockNotification_Type) Type() protoreflect.EnumType
type Block_TransactionData ¶
type Block_TransactionData struct { // Types that are assignable to TxidsOrTxs: // *Block_TransactionData_TransactionHash // *Block_TransactionData_Transaction TxidsOrTxs isBlock_TransactionData_TxidsOrTxs `protobuf_oneof:"txids_or_txs"` // contains filtered or unexported fields }
func (*Block_TransactionData) Descriptor
deprecated
func (*Block_TransactionData) Descriptor() ([]byte, []int)
Deprecated: Use Block_TransactionData.ProtoReflect.Descriptor instead.
func (*Block_TransactionData) GetTransaction ¶
func (x *Block_TransactionData) GetTransaction() *Transaction
func (*Block_TransactionData) GetTransactionHash ¶
func (x *Block_TransactionData) GetTransactionHash() []byte
func (*Block_TransactionData) GetTxidsOrTxs ¶
func (m *Block_TransactionData) GetTxidsOrTxs() isBlock_TransactionData_TxidsOrTxs
func (*Block_TransactionData) ProtoMessage ¶
func (*Block_TransactionData) ProtoMessage()
func (*Block_TransactionData) ProtoReflect ¶
func (x *Block_TransactionData) ProtoReflect() protoreflect.Message
func (*Block_TransactionData) Reset ¶
func (x *Block_TransactionData) Reset()
func (*Block_TransactionData) String ¶
func (x *Block_TransactionData) String() string
type Block_TransactionData_Transaction ¶
type Block_TransactionData_Transaction struct { // A marshaled transaction. Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"` }
type Block_TransactionData_TransactionHash ¶
type Block_TransactionData_TransactionHash struct { // Just the transaction hash, little-endian. TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3,oneof"` }
type CheckSlpTransactionRequest ¶
type CheckSlpTransactionRequest struct { Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` RequiredSlpBurns []*SlpRequiredBurn `protobuf:"bytes,2,rep,name=required_slp_burns,json=requiredSlpBurns,proto3" json:"required_slp_burns,omitempty"` // Using the slp specification as a basis for validity judgement can lead to confusion for new users and // result in accidental token burns. use_spec_validity_judgement will cause the response's is_valid property // to be returned according to the slp specification. Therefore, use_spec_validity_judgement is false by // default in order to avoid accidental token burns. When use_spec_validity_judgement is false we return // invalid in any case which would result in a burned token, unless the burn is explicitly included as an // item in required_slp_burns property. // // When use_spec_validity_judgement is true, there are three cases where the is_valid response property // will be returned as valid, instead of invalid, as per the slp specification. // 1) inputs > outputs // 2) missing transaction outputs // 3) burned inputs from other tokens // // required_slp_burns is not used when use_spec_validity_judgement is set to true. // UseSpecValidityJudgement bool `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckSlpTransactionRequest) Descriptor
deprecated
func (*CheckSlpTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckSlpTransactionRequest.ProtoReflect.Descriptor instead.
func (*CheckSlpTransactionRequest) GetRequiredSlpBurns ¶
func (x *CheckSlpTransactionRequest) GetRequiredSlpBurns() []*SlpRequiredBurn
func (*CheckSlpTransactionRequest) GetTransaction ¶
func (x *CheckSlpTransactionRequest) GetTransaction() []byte
func (*CheckSlpTransactionRequest) GetUseSpecValidityJudgement ¶
func (x *CheckSlpTransactionRequest) GetUseSpecValidityJudgement() bool
func (*CheckSlpTransactionRequest) ProtoMessage ¶
func (*CheckSlpTransactionRequest) ProtoMessage()
func (*CheckSlpTransactionRequest) ProtoReflect ¶
func (x *CheckSlpTransactionRequest) ProtoReflect() protoreflect.Message
func (*CheckSlpTransactionRequest) Reset ¶
func (x *CheckSlpTransactionRequest) Reset()
func (*CheckSlpTransactionRequest) String ¶
func (x *CheckSlpTransactionRequest) String() string
type CheckSlpTransactionResponse ¶
type CheckSlpTransactionResponse struct { IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` InvalidReason string `protobuf:"bytes,2,opt,name=invalid_reason,json=invalidReason,proto3" json:"invalid_reason,omitempty"` BestHeight int32 `protobuf:"varint,3,opt,name=best_height,json=bestHeight,proto3" json:"best_height,omitempty"` // contains filtered or unexported fields }
func (*CheckSlpTransactionResponse) Descriptor
deprecated
func (*CheckSlpTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckSlpTransactionResponse.ProtoReflect.Descriptor instead.
func (*CheckSlpTransactionResponse) GetBestHeight ¶
func (x *CheckSlpTransactionResponse) GetBestHeight() int32
func (*CheckSlpTransactionResponse) GetInvalidReason ¶
func (x *CheckSlpTransactionResponse) GetInvalidReason() string
func (*CheckSlpTransactionResponse) GetIsValid ¶
func (x *CheckSlpTransactionResponse) GetIsValid() bool
func (*CheckSlpTransactionResponse) ProtoMessage ¶
func (*CheckSlpTransactionResponse) ProtoMessage()
func (*CheckSlpTransactionResponse) ProtoReflect ¶
func (x *CheckSlpTransactionResponse) ProtoReflect() protoreflect.Message
func (*CheckSlpTransactionResponse) Reset ¶
func (x *CheckSlpTransactionResponse) Reset()
func (*CheckSlpTransactionResponse) String ¶
func (x *CheckSlpTransactionResponse) String() string
type GetAddressTransactionsRequest ¶
type GetAddressTransactionsRequest struct { // The address to query transactions, in lowercase cashaddr format. // The network prefix is optional (i.e. "cashaddress:"). Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The number of confirmed transactions to skip, starting with the oldest first. // Does not affect results of unconfirmed transactions. NbSkip uint32 `protobuf:"varint,2,opt,name=nb_skip,json=nbSkip,proto3" json:"nb_skip,omitempty"` // Specify the number of transactions to fetch. NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch,proto3" json:"nb_fetch,omitempty"` // Types that are assignable to StartBlock: // *GetAddressTransactionsRequest_Hash // *GetAddressTransactionsRequest_Height StartBlock isGetAddressTransactionsRequest_StartBlock `protobuf_oneof:"start_block"` // contains filtered or unexported fields }
Get marshaled transactions related to a specific address.
RECOMMENDED: Parameters have been provided to query without creating
performance issues on the node or client.
- The number of transactions to skip and fetch allow for iterating over a large set of transactions, if necessary.
- A starting block parameter (either `hash` or `height`) may then be used to filter results to those occurring after a certain time.
This approach will reduce network traffic and response processing
for the client, as well as reduce workload on the node.
func (*GetAddressTransactionsRequest) Descriptor
deprecated
func (*GetAddressTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressTransactionsRequest.ProtoReflect.Descriptor instead.
func (*GetAddressTransactionsRequest) GetAddress ¶
func (x *GetAddressTransactionsRequest) GetAddress() string
func (*GetAddressTransactionsRequest) GetHash ¶
func (x *GetAddressTransactionsRequest) GetHash() []byte
func (*GetAddressTransactionsRequest) GetHeight ¶
func (x *GetAddressTransactionsRequest) GetHeight() int32
func (*GetAddressTransactionsRequest) GetNbFetch ¶
func (x *GetAddressTransactionsRequest) GetNbFetch() uint32
func (*GetAddressTransactionsRequest) GetNbSkip ¶
func (x *GetAddressTransactionsRequest) GetNbSkip() uint32
func (*GetAddressTransactionsRequest) GetStartBlock ¶
func (m *GetAddressTransactionsRequest) GetStartBlock() isGetAddressTransactionsRequest_StartBlock
func (*GetAddressTransactionsRequest) ProtoMessage ¶
func (*GetAddressTransactionsRequest) ProtoMessage()
func (*GetAddressTransactionsRequest) ProtoReflect ¶
func (x *GetAddressTransactionsRequest) ProtoReflect() protoreflect.Message
func (*GetAddressTransactionsRequest) Reset ¶
func (x *GetAddressTransactionsRequest) Reset()
func (*GetAddressTransactionsRequest) String ¶
func (x *GetAddressTransactionsRequest) String() string
type GetAddressTransactionsRequest_Hash ¶
type GetAddressTransactionsRequest_Hash struct { // Recommended. Only get transactions after (or within) a // starting block identified by hash, little-endian. Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"` }
type GetAddressTransactionsRequest_Height ¶
type GetAddressTransactionsRequest_Height struct { // Recommended. Only get transactions after (or within) a // starting block identified by block number. Height int32 `protobuf:"varint,5,opt,name=height,proto3,oneof"` }
type GetAddressTransactionsResponse ¶
type GetAddressTransactionsResponse struct { // Transactions that have been included in a block. ConfirmedTransactions []*Transaction `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions,proto3" json:"confirmed_transactions,omitempty"` // Transactions in mempool which have not been included in a block. UnconfirmedTransactions []*MempoolTransaction `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAddressTransactionsResponse) Descriptor
deprecated
func (*GetAddressTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressTransactionsResponse.ProtoReflect.Descriptor instead.
func (*GetAddressTransactionsResponse) GetConfirmedTransactions ¶
func (x *GetAddressTransactionsResponse) GetConfirmedTransactions() []*Transaction
func (*GetAddressTransactionsResponse) GetUnconfirmedTransactions ¶
func (x *GetAddressTransactionsResponse) GetUnconfirmedTransactions() []*MempoolTransaction
func (*GetAddressTransactionsResponse) ProtoMessage ¶
func (*GetAddressTransactionsResponse) ProtoMessage()
func (*GetAddressTransactionsResponse) ProtoReflect ¶
func (x *GetAddressTransactionsResponse) ProtoReflect() protoreflect.Message
func (*GetAddressTransactionsResponse) Reset ¶
func (x *GetAddressTransactionsResponse) Reset()
func (*GetAddressTransactionsResponse) String ¶
func (x *GetAddressTransactionsResponse) String() string
type GetAddressUnspentOutputsRequest ¶
type GetAddressUnspentOutputsRequest struct { // The address to query transactions, in lowercase cashaddr format. // The network identifier is optional (i.e. "cashaddress:"). Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // When `include_mempool` is true, unconfirmed transactions from mempool // are returned. Default is false. IncludeMempool bool `protobuf:"varint,2,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"` IncludeTokenMetadata bool `protobuf:"varint,3,opt,name=include_token_metadata,json=includeTokenMetadata,proto3" json:"include_token_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetAddressUnspentOutputsRequest) Descriptor
deprecated
func (*GetAddressUnspentOutputsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressUnspentOutputsRequest.ProtoReflect.Descriptor instead.
func (*GetAddressUnspentOutputsRequest) GetAddress ¶
func (x *GetAddressUnspentOutputsRequest) GetAddress() string
func (*GetAddressUnspentOutputsRequest) GetIncludeMempool ¶
func (x *GetAddressUnspentOutputsRequest) GetIncludeMempool() bool
func (*GetAddressUnspentOutputsRequest) GetIncludeTokenMetadata ¶
func (x *GetAddressUnspentOutputsRequest) GetIncludeTokenMetadata() bool
func (*GetAddressUnspentOutputsRequest) ProtoMessage ¶
func (*GetAddressUnspentOutputsRequest) ProtoMessage()
func (*GetAddressUnspentOutputsRequest) ProtoReflect ¶
func (x *GetAddressUnspentOutputsRequest) ProtoReflect() protoreflect.Message
func (*GetAddressUnspentOutputsRequest) Reset ¶
func (x *GetAddressUnspentOutputsRequest) Reset()
func (*GetAddressUnspentOutputsRequest) String ¶
func (x *GetAddressUnspentOutputsRequest) String() string
type GetAddressUnspentOutputsResponse ¶
type GetAddressUnspentOutputsResponse struct { // List of unspent outputs. Outputs []*UnspentOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` TokenMetadata []*SlpTokenMetadata `protobuf:"bytes,2,rep,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetAddressUnspentOutputsResponse) Descriptor
deprecated
func (*GetAddressUnspentOutputsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressUnspentOutputsResponse.ProtoReflect.Descriptor instead.
func (*GetAddressUnspentOutputsResponse) GetOutputs ¶
func (x *GetAddressUnspentOutputsResponse) GetOutputs() []*UnspentOutput
func (*GetAddressUnspentOutputsResponse) GetTokenMetadata ¶
func (x *GetAddressUnspentOutputsResponse) GetTokenMetadata() []*SlpTokenMetadata
func (*GetAddressUnspentOutputsResponse) ProtoMessage ¶
func (*GetAddressUnspentOutputsResponse) ProtoMessage()
func (*GetAddressUnspentOutputsResponse) ProtoReflect ¶
func (x *GetAddressUnspentOutputsResponse) ProtoReflect() protoreflect.Message
func (*GetAddressUnspentOutputsResponse) Reset ¶
func (x *GetAddressUnspentOutputsResponse) Reset()
func (*GetAddressUnspentOutputsResponse) String ¶
func (x *GetAddressUnspentOutputsResponse) String() string
type GetBlockFilterRequest ¶
type GetBlockFilterRequest struct { // Types that are assignable to HashOrHeight: // *GetBlockFilterRequest_Hash // *GetBlockFilterRequest_Height HashOrHeight isGetBlockFilterRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` // contains filtered or unexported fields }
func (*GetBlockFilterRequest) Descriptor
deprecated
func (*GetBlockFilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockFilterRequest.ProtoReflect.Descriptor instead.
func (*GetBlockFilterRequest) GetHash ¶
func (x *GetBlockFilterRequest) GetHash() []byte
func (*GetBlockFilterRequest) GetHashOrHeight ¶
func (m *GetBlockFilterRequest) GetHashOrHeight() isGetBlockFilterRequest_HashOrHeight
func (*GetBlockFilterRequest) GetHeight ¶
func (x *GetBlockFilterRequest) GetHeight() int32
func (*GetBlockFilterRequest) ProtoMessage ¶
func (*GetBlockFilterRequest) ProtoMessage()
func (*GetBlockFilterRequest) ProtoReflect ¶
func (x *GetBlockFilterRequest) ProtoReflect() protoreflect.Message
func (*GetBlockFilterRequest) Reset ¶
func (x *GetBlockFilterRequest) Reset()
func (*GetBlockFilterRequest) String ¶
func (x *GetBlockFilterRequest) String() string
type GetBlockFilterRequest_Hash ¶
type GetBlockFilterRequest_Hash struct { // The block hash as a byte array or base64 encoded string, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"` }
type GetBlockFilterRequest_Height ¶
type GetBlockFilterRequest_Height struct { // The block number. Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"` }
type GetBlockFilterResponse ¶
type GetBlockFilterResponse struct { // A compact filter matching input outpoints and public key scripts contained // in a block (encoded according to BIP158). Filter []byte `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*GetBlockFilterResponse) Descriptor
deprecated
func (*GetBlockFilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockFilterResponse.ProtoReflect.Descriptor instead.
func (*GetBlockFilterResponse) GetFilter ¶
func (x *GetBlockFilterResponse) GetFilter() []byte
func (*GetBlockFilterResponse) ProtoMessage ¶
func (*GetBlockFilterResponse) ProtoMessage()
func (*GetBlockFilterResponse) ProtoReflect ¶
func (x *GetBlockFilterResponse) ProtoReflect() protoreflect.Message
func (*GetBlockFilterResponse) Reset ¶
func (x *GetBlockFilterResponse) Reset()
func (*GetBlockFilterResponse) String ¶
func (x *GetBlockFilterResponse) String() string
type GetBlockInfoRequest ¶
type GetBlockInfoRequest struct { // Types that are assignable to HashOrHeight: // *GetBlockInfoRequest_Hash // *GetBlockInfoRequest_Height HashOrHeight isGetBlockInfoRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` // contains filtered or unexported fields }
func (*GetBlockInfoRequest) Descriptor
deprecated
func (*GetBlockInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockInfoRequest.ProtoReflect.Descriptor instead.
func (*GetBlockInfoRequest) GetHash ¶
func (x *GetBlockInfoRequest) GetHash() []byte
func (*GetBlockInfoRequest) GetHashOrHeight ¶
func (m *GetBlockInfoRequest) GetHashOrHeight() isGetBlockInfoRequest_HashOrHeight
func (*GetBlockInfoRequest) GetHeight ¶
func (x *GetBlockInfoRequest) GetHeight() int32
func (*GetBlockInfoRequest) ProtoMessage ¶
func (*GetBlockInfoRequest) ProtoMessage()
func (*GetBlockInfoRequest) ProtoReflect ¶
func (x *GetBlockInfoRequest) ProtoReflect() protoreflect.Message
func (*GetBlockInfoRequest) Reset ¶
func (x *GetBlockInfoRequest) Reset()
func (*GetBlockInfoRequest) String ¶
func (x *GetBlockInfoRequest) String() string
type GetBlockInfoRequest_Hash ¶
type GetBlockInfoRequest_Hash struct { // The block hash as a byte array or base64 encoded string, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"` }
type GetBlockInfoRequest_Height ¶
type GetBlockInfoRequest_Height struct { // The block number. Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"` }
type GetBlockInfoResponse ¶
type GetBlockInfoResponse struct { // Marshaled block header data, as well as metadata. Info *BlockInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*GetBlockInfoResponse) Descriptor
deprecated
func (*GetBlockInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockInfoResponse.ProtoReflect.Descriptor instead.
func (*GetBlockInfoResponse) GetInfo ¶
func (x *GetBlockInfoResponse) GetInfo() *BlockInfo
func (*GetBlockInfoResponse) ProtoMessage ¶
func (*GetBlockInfoResponse) ProtoMessage()
func (*GetBlockInfoResponse) ProtoReflect ¶
func (x *GetBlockInfoResponse) ProtoReflect() protoreflect.Message
func (*GetBlockInfoResponse) Reset ¶
func (x *GetBlockInfoResponse) Reset()
func (*GetBlockInfoResponse) String ¶
func (x *GetBlockInfoResponse) String() string
type GetBlockRequest ¶
type GetBlockRequest struct { // Types that are assignable to HashOrHeight: // *GetBlockRequest_Hash // *GetBlockRequest_Height HashOrHeight isGetBlockRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` // When `full_transactions` is true, full transactions are returned // instead of just hashes. Default is false. FullTransactions bool `protobuf:"varint,3,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"` // contains filtered or unexported fields }
func (*GetBlockRequest) Descriptor
deprecated
func (*GetBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
func (*GetBlockRequest) GetFullTransactions ¶
func (x *GetBlockRequest) GetFullTransactions() bool
func (*GetBlockRequest) GetHash ¶
func (x *GetBlockRequest) GetHash() []byte
func (*GetBlockRequest) GetHashOrHeight ¶
func (m *GetBlockRequest) GetHashOrHeight() isGetBlockRequest_HashOrHeight
func (*GetBlockRequest) GetHeight ¶
func (x *GetBlockRequest) GetHeight() int32
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) ProtoReflect ¶
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
type GetBlockRequest_Hash ¶
type GetBlockRequest_Hash struct { // The block hash as a byte array or base64 encoded string, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"` }
type GetBlockRequest_Height ¶
type GetBlockRequest_Height struct { // The block number. Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"` }
type GetBlockResponse ¶
type GetBlockResponse struct { // A marshaled block. Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*GetBlockResponse) Descriptor
deprecated
func (*GetBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.
func (*GetBlockResponse) GetBlock ¶
func (x *GetBlockResponse) GetBlock() *Block
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) ProtoReflect ¶
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
type GetBlockchainInfoRequest ¶
type GetBlockchainInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetBlockchainInfoRequest) Descriptor
deprecated
func (*GetBlockchainInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainInfoRequest.ProtoReflect.Descriptor instead.
func (*GetBlockchainInfoRequest) ProtoMessage ¶
func (*GetBlockchainInfoRequest) ProtoMessage()
func (*GetBlockchainInfoRequest) ProtoReflect ¶
func (x *GetBlockchainInfoRequest) ProtoReflect() protoreflect.Message
func (*GetBlockchainInfoRequest) Reset ¶
func (x *GetBlockchainInfoRequest) Reset()
func (*GetBlockchainInfoRequest) String ¶
func (x *GetBlockchainInfoRequest) String() string
type GetBlockchainInfoResponse ¶
type GetBlockchainInfoResponse struct { // Which network the node is operating on. BitcoinNet GetBlockchainInfoResponse_BitcoinNet `` /* 137-byte string literal not displayed */ // The current number of blocks on the longest chain. BestHeight int32 `protobuf:"varint,2,opt,name=best_height,json=bestHeight,proto3" json:"best_height,omitempty"` // The hash of the best (tip) block in the most-work fully-validated chain, little-endian. BestBlockHash []byte `protobuf:"bytes,3,opt,name=best_block_hash,json=bestBlockHash,proto3" json:"best_block_hash,omitempty"` // Threshold for adding new blocks. Difficulty float64 `protobuf:"fixed64,4,opt,name=difficulty,proto3" json:"difficulty,omitempty"` // Median time of the last 11 blocks. MedianTime int64 `protobuf:"varint,5,opt,name=median_time,json=medianTime,proto3" json:"median_time,omitempty"` // When `tx_index` is true, the node has full transaction index enabled. TxIndex bool `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // When `addr_index` is true, the node has address index enabled and may // be used with call related by address. AddrIndex bool `protobuf:"varint,7,opt,name=addr_index,json=addrIndex,proto3" json:"addr_index,omitempty"` // When `slp_index` is true, the node has the slp index enabled and may // be used with slp related rpc methods and also causes slp metadata to be added // in some of the existing rpc methods. SlpIndex bool `protobuf:"varint,8,opt,name=slp_index,json=slpIndex,proto3" json:"slp_index,omitempty"` // When `slp_graphsearch` is true, the node is able to handle calls to slp graph search SlpGraphsearch bool `protobuf:"varint,9,opt,name=slp_graphsearch,json=slpGraphsearch,proto3" json:"slp_graphsearch,omitempty"` // contains filtered or unexported fields }
func (*GetBlockchainInfoResponse) Descriptor
deprecated
func (*GetBlockchainInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockchainInfoResponse.ProtoReflect.Descriptor instead.
func (*GetBlockchainInfoResponse) GetAddrIndex ¶
func (x *GetBlockchainInfoResponse) GetAddrIndex() bool
func (*GetBlockchainInfoResponse) GetBestBlockHash ¶
func (x *GetBlockchainInfoResponse) GetBestBlockHash() []byte
func (*GetBlockchainInfoResponse) GetBestHeight ¶
func (x *GetBlockchainInfoResponse) GetBestHeight() int32
func (*GetBlockchainInfoResponse) GetBitcoinNet ¶
func (x *GetBlockchainInfoResponse) GetBitcoinNet() GetBlockchainInfoResponse_BitcoinNet
func (*GetBlockchainInfoResponse) GetDifficulty ¶
func (x *GetBlockchainInfoResponse) GetDifficulty() float64
func (*GetBlockchainInfoResponse) GetMedianTime ¶
func (x *GetBlockchainInfoResponse) GetMedianTime() int64
func (*GetBlockchainInfoResponse) GetSlpGraphsearch ¶
func (x *GetBlockchainInfoResponse) GetSlpGraphsearch() bool
func (*GetBlockchainInfoResponse) GetSlpIndex ¶
func (x *GetBlockchainInfoResponse) GetSlpIndex() bool
func (*GetBlockchainInfoResponse) GetTxIndex ¶
func (x *GetBlockchainInfoResponse) GetTxIndex() bool
func (*GetBlockchainInfoResponse) ProtoMessage ¶
func (*GetBlockchainInfoResponse) ProtoMessage()
func (*GetBlockchainInfoResponse) ProtoReflect ¶
func (x *GetBlockchainInfoResponse) ProtoReflect() protoreflect.Message
func (*GetBlockchainInfoResponse) Reset ¶
func (x *GetBlockchainInfoResponse) Reset()
func (*GetBlockchainInfoResponse) String ¶
func (x *GetBlockchainInfoResponse) String() string
type GetBlockchainInfoResponse_BitcoinNet ¶
type GetBlockchainInfoResponse_BitcoinNet int32
Bitcoin network types
const ( // Live public network with monetary value. GetBlockchainInfoResponse_MAINNET GetBlockchainInfoResponse_BitcoinNet = 0 // An isolated environment for automated testing. GetBlockchainInfoResponse_REGTEST GetBlockchainInfoResponse_BitcoinNet = 1 // A public environment where monetary value is agreed to be zero, // and some checks for transaction conformity are disabled. GetBlockchainInfoResponse_TESTNET3 GetBlockchainInfoResponse_BitcoinNet = 2 // Private testnets for large scale simulations (or stress testing), // where a specified list of nodes is used, rather than node discovery. GetBlockchainInfoResponse_SIMNET GetBlockchainInfoResponse_BitcoinNet = 3 )
func (GetBlockchainInfoResponse_BitcoinNet) Descriptor ¶
func (GetBlockchainInfoResponse_BitcoinNet) Descriptor() protoreflect.EnumDescriptor
func (GetBlockchainInfoResponse_BitcoinNet) Enum ¶
func (x GetBlockchainInfoResponse_BitcoinNet) Enum() *GetBlockchainInfoResponse_BitcoinNet
func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor
deprecated
func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetBlockchainInfoResponse_BitcoinNet.Descriptor instead.
func (GetBlockchainInfoResponse_BitcoinNet) Number ¶
func (x GetBlockchainInfoResponse_BitcoinNet) Number() protoreflect.EnumNumber
func (GetBlockchainInfoResponse_BitcoinNet) String ¶
func (x GetBlockchainInfoResponse_BitcoinNet) String() string
func (GetBlockchainInfoResponse_BitcoinNet) Type ¶
func (GetBlockchainInfoResponse_BitcoinNet) Type() protoreflect.EnumType
type GetHeadersRequest ¶
type GetHeadersRequest struct { // A list of block hashes known to the client (most recent first) which // is exponentially sparser toward the genesis block (0), little-endian. // Common practice is to include all of the last 10 blocks, and then // 9 blocks for each order of ten thereafter. BlockLocatorHashes [][]byte `protobuf:"bytes,1,rep,name=block_locator_hashes,json=blockLocatorHashes,proto3" json:"block_locator_hashes,omitempty"` // hash of the latest desired block header, little-endian; only blocks // occurring before the stop will be returned. StopHash []byte `protobuf:"bytes,2,opt,name=stop_hash,json=stopHash,proto3" json:"stop_hash,omitempty"` // contains filtered or unexported fields }
Request headers using a list of known block hashes.
func (*GetHeadersRequest) Descriptor
deprecated
func (*GetHeadersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeadersRequest.ProtoReflect.Descriptor instead.
func (*GetHeadersRequest) GetBlockLocatorHashes ¶
func (x *GetHeadersRequest) GetBlockLocatorHashes() [][]byte
func (*GetHeadersRequest) GetStopHash ¶
func (x *GetHeadersRequest) GetStopHash() []byte
func (*GetHeadersRequest) ProtoMessage ¶
func (*GetHeadersRequest) ProtoMessage()
func (*GetHeadersRequest) ProtoReflect ¶
func (x *GetHeadersRequest) ProtoReflect() protoreflect.Message
func (*GetHeadersRequest) Reset ¶
func (x *GetHeadersRequest) Reset()
func (*GetHeadersRequest) String ¶
func (x *GetHeadersRequest) String() string
type GetHeadersResponse ¶
type GetHeadersResponse struct { // List of block headers. Headers []*BlockInfo `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*GetHeadersResponse) Descriptor
deprecated
func (*GetHeadersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeadersResponse.ProtoReflect.Descriptor instead.
func (*GetHeadersResponse) GetHeaders ¶
func (x *GetHeadersResponse) GetHeaders() []*BlockInfo
func (*GetHeadersResponse) ProtoMessage ¶
func (*GetHeadersResponse) ProtoMessage()
func (*GetHeadersResponse) ProtoReflect ¶
func (x *GetHeadersResponse) ProtoReflect() protoreflect.Message
func (*GetHeadersResponse) Reset ¶
func (x *GetHeadersResponse) Reset()
func (*GetHeadersResponse) String ¶
func (x *GetHeadersResponse) String() string
type GetMempoolInfoRequest ¶
type GetMempoolInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetMempoolInfoRequest) Descriptor
deprecated
func (*GetMempoolInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMempoolInfoRequest.ProtoReflect.Descriptor instead.
func (*GetMempoolInfoRequest) ProtoMessage ¶
func (*GetMempoolInfoRequest) ProtoMessage()
func (*GetMempoolInfoRequest) ProtoReflect ¶
func (x *GetMempoolInfoRequest) ProtoReflect() protoreflect.Message
func (*GetMempoolInfoRequest) Reset ¶
func (x *GetMempoolInfoRequest) Reset()
func (*GetMempoolInfoRequest) String ¶
func (x *GetMempoolInfoRequest) String() string
type GetMempoolInfoResponse ¶
type GetMempoolInfoResponse struct { // The count of transactions in the mempool Size uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // The size in bytes of all transactions in the mempool Bytes uint32 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*GetMempoolInfoResponse) Descriptor
deprecated
func (*GetMempoolInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMempoolInfoResponse.ProtoReflect.Descriptor instead.
func (*GetMempoolInfoResponse) GetBytes ¶
func (x *GetMempoolInfoResponse) GetBytes() uint32
func (*GetMempoolInfoResponse) GetSize ¶
func (x *GetMempoolInfoResponse) GetSize() uint32
func (*GetMempoolInfoResponse) ProtoMessage ¶
func (*GetMempoolInfoResponse) ProtoMessage()
func (*GetMempoolInfoResponse) ProtoReflect ¶
func (x *GetMempoolInfoResponse) ProtoReflect() protoreflect.Message
func (*GetMempoolInfoResponse) Reset ¶
func (x *GetMempoolInfoResponse) Reset()
func (*GetMempoolInfoResponse) String ¶
func (x *GetMempoolInfoResponse) String() string
type GetMempoolRequest ¶
type GetMempoolRequest struct { // When `full_transactions` is true, full transaction data is provided // instead of just transaction hashes. Default is false. FullTransactions bool `protobuf:"varint,1,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"` // contains filtered or unexported fields }
func (*GetMempoolRequest) Descriptor
deprecated
func (*GetMempoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMempoolRequest.ProtoReflect.Descriptor instead.
func (*GetMempoolRequest) GetFullTransactions ¶
func (x *GetMempoolRequest) GetFullTransactions() bool
func (*GetMempoolRequest) ProtoMessage ¶
func (*GetMempoolRequest) ProtoMessage()
func (*GetMempoolRequest) ProtoReflect ¶
func (x *GetMempoolRequest) ProtoReflect() protoreflect.Message
func (*GetMempoolRequest) Reset ¶
func (x *GetMempoolRequest) Reset()
func (*GetMempoolRequest) String ¶
func (x *GetMempoolRequest) String() string
type GetMempoolResponse ¶
type GetMempoolResponse struct { // List of unconfirmed transactions. TransactionData []*GetMempoolResponse_TransactionData `protobuf:"bytes,1,rep,name=transaction_data,json=transactionData,proto3" json:"transaction_data,omitempty"` // contains filtered or unexported fields }
func (*GetMempoolResponse) Descriptor
deprecated
func (*GetMempoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMempoolResponse.ProtoReflect.Descriptor instead.
func (*GetMempoolResponse) GetTransactionData ¶
func (x *GetMempoolResponse) GetTransactionData() []*GetMempoolResponse_TransactionData
func (*GetMempoolResponse) ProtoMessage ¶
func (*GetMempoolResponse) ProtoMessage()
func (*GetMempoolResponse) ProtoReflect ¶
func (x *GetMempoolResponse) ProtoReflect() protoreflect.Message
func (*GetMempoolResponse) Reset ¶
func (x *GetMempoolResponse) Reset()
func (*GetMempoolResponse) String ¶
func (x *GetMempoolResponse) String() string
type GetMempoolResponse_TransactionData ¶
type GetMempoolResponse_TransactionData struct { // Either one of the two following is provided, depending on the request. // // Types that are assignable to TxidsOrTxs: // *GetMempoolResponse_TransactionData_TransactionHash // *GetMempoolResponse_TransactionData_Transaction TxidsOrTxs isGetMempoolResponse_TransactionData_TxidsOrTxs `protobuf_oneof:"txids_or_txs"` // contains filtered or unexported fields }
func (*GetMempoolResponse_TransactionData) Descriptor
deprecated
func (*GetMempoolResponse_TransactionData) Descriptor() ([]byte, []int)
Deprecated: Use GetMempoolResponse_TransactionData.ProtoReflect.Descriptor instead.
func (*GetMempoolResponse_TransactionData) GetTransaction ¶
func (x *GetMempoolResponse_TransactionData) GetTransaction() *Transaction
func (*GetMempoolResponse_TransactionData) GetTransactionHash ¶
func (x *GetMempoolResponse_TransactionData) GetTransactionHash() []byte
func (*GetMempoolResponse_TransactionData) GetTxidsOrTxs ¶
func (m *GetMempoolResponse_TransactionData) GetTxidsOrTxs() isGetMempoolResponse_TransactionData_TxidsOrTxs
func (*GetMempoolResponse_TransactionData) ProtoMessage ¶
func (*GetMempoolResponse_TransactionData) ProtoMessage()
func (*GetMempoolResponse_TransactionData) ProtoReflect ¶
func (x *GetMempoolResponse_TransactionData) ProtoReflect() protoreflect.Message
func (*GetMempoolResponse_TransactionData) Reset ¶
func (x *GetMempoolResponse_TransactionData) Reset()
func (*GetMempoolResponse_TransactionData) String ¶
func (x *GetMempoolResponse_TransactionData) String() string
type GetMempoolResponse_TransactionData_Transaction ¶
type GetMempoolResponse_TransactionData_Transaction struct { // The transaction data. Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"` }
type GetMempoolResponse_TransactionData_TransactionHash ¶
type GetMempoolResponse_TransactionData_TransactionHash struct { // The transaction hash, little-endian. TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3,oneof"` }
type GetMerkleProofRequest ¶
type GetMerkleProofRequest struct { // A transaction hash, little-endian. TransactionHash []byte `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` // contains filtered or unexported fields }
func (*GetMerkleProofRequest) Descriptor
deprecated
func (*GetMerkleProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMerkleProofRequest.ProtoReflect.Descriptor instead.
func (*GetMerkleProofRequest) GetTransactionHash ¶
func (x *GetMerkleProofRequest) GetTransactionHash() []byte
func (*GetMerkleProofRequest) ProtoMessage ¶
func (*GetMerkleProofRequest) ProtoMessage()
func (*GetMerkleProofRequest) ProtoReflect ¶
func (x *GetMerkleProofRequest) ProtoReflect() protoreflect.Message
func (*GetMerkleProofRequest) Reset ¶
func (x *GetMerkleProofRequest) Reset()
func (*GetMerkleProofRequest) String ¶
func (x *GetMerkleProofRequest) String() string
type GetMerkleProofResponse ¶
type GetMerkleProofResponse struct { // Block header information for the corresponding transaction Block *BlockInfo `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // A list containing the transaction hash, the adjacent leaf transaction hash // and the hashes of the highest nodes in the merkle tree not built with the transaction. // Proof hashes are ordered following transaction order, or left to right on the merkle tree Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` // Binary representing the location of the matching transaction in the full merkle tree, // starting with the root (`1`) at position/level 0, where `1` corresponds // to a left branch and `01` is a right branch. Flags []byte `protobuf:"bytes,3,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*GetMerkleProofResponse) Descriptor
deprecated
func (*GetMerkleProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMerkleProofResponse.ProtoReflect.Descriptor instead.
func (*GetMerkleProofResponse) GetBlock ¶
func (x *GetMerkleProofResponse) GetBlock() *BlockInfo
func (*GetMerkleProofResponse) GetFlags ¶
func (x *GetMerkleProofResponse) GetFlags() []byte
func (*GetMerkleProofResponse) GetHashes ¶
func (x *GetMerkleProofResponse) GetHashes() [][]byte
func (*GetMerkleProofResponse) ProtoMessage ¶
func (*GetMerkleProofResponse) ProtoMessage()
func (*GetMerkleProofResponse) ProtoReflect ¶
func (x *GetMerkleProofResponse) ProtoReflect() protoreflect.Message
func (*GetMerkleProofResponse) Reset ¶
func (x *GetMerkleProofResponse) Reset()
func (*GetMerkleProofResponse) String ¶
func (x *GetMerkleProofResponse) String() string
type GetRawAddressTransactionsRequest ¶
type GetRawAddressTransactionsRequest struct { // The address to query transactions, in lowercase cashaddr format. // The network prefix is optional (i.e. "cashaddress:"). Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The number of confirmed transactions to skip, starting with the oldest first. // Does not affect results of unconfirmed transactions. NbSkip uint32 `protobuf:"varint,2,opt,name=nb_skip,json=nbSkip,proto3" json:"nb_skip,omitempty"` // Specify the number of transactions to fetch. NbFetch uint32 `protobuf:"varint,3,opt,name=nb_fetch,json=nbFetch,proto3" json:"nb_fetch,omitempty"` // Types that are assignable to StartBlock: // *GetRawAddressTransactionsRequest_Hash // *GetRawAddressTransactionsRequest_Height StartBlock isGetRawAddressTransactionsRequest_StartBlock `protobuf_oneof:"start_block"` // contains filtered or unexported fields }
Get encoded transactions related to a specific address.
RECOMMENDED: Parameters have been provided to query without creating
performance issues on the node or client.
- The number of transactions to skip and fetch allow for iterating over a large set of transactions, if necessary.
- A starting block parameter (either `hash` or `height`) may then be used to filter results to those occurring after a certain time.
This approach will reduce network traffic and response processing
for the client, as well as reduce workload on the node.
func (*GetRawAddressTransactionsRequest) Descriptor
deprecated
func (*GetRawAddressTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRawAddressTransactionsRequest.ProtoReflect.Descriptor instead.
func (*GetRawAddressTransactionsRequest) GetAddress ¶
func (x *GetRawAddressTransactionsRequest) GetAddress() string
func (*GetRawAddressTransactionsRequest) GetHash ¶
func (x *GetRawAddressTransactionsRequest) GetHash() []byte
func (*GetRawAddressTransactionsRequest) GetHeight ¶
func (x *GetRawAddressTransactionsRequest) GetHeight() int32
func (*GetRawAddressTransactionsRequest) GetNbFetch ¶
func (x *GetRawAddressTransactionsRequest) GetNbFetch() uint32
func (*GetRawAddressTransactionsRequest) GetNbSkip ¶
func (x *GetRawAddressTransactionsRequest) GetNbSkip() uint32
func (*GetRawAddressTransactionsRequest) GetStartBlock ¶
func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock
func (*GetRawAddressTransactionsRequest) ProtoMessage ¶
func (*GetRawAddressTransactionsRequest) ProtoMessage()
func (*GetRawAddressTransactionsRequest) ProtoReflect ¶
func (x *GetRawAddressTransactionsRequest) ProtoReflect() protoreflect.Message
func (*GetRawAddressTransactionsRequest) Reset ¶
func (x *GetRawAddressTransactionsRequest) Reset()
func (*GetRawAddressTransactionsRequest) String ¶
func (x *GetRawAddressTransactionsRequest) String() string
type GetRawAddressTransactionsRequest_Hash ¶
type GetRawAddressTransactionsRequest_Hash struct { // Recommended. Only return transactions after some starting block // identified by hash, little-endian. Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3,oneof"` }
type GetRawAddressTransactionsRequest_Height ¶
type GetRawAddressTransactionsRequest_Height struct { // Recommended. Only return transactions after some starting block // identified by block number. Height int32 `protobuf:"varint,5,opt,name=height,proto3,oneof"` }
type GetRawAddressTransactionsResponse ¶
type GetRawAddressTransactionsResponse struct { // Transactions that have been included in a block. ConfirmedTransactions [][]byte `protobuf:"bytes,1,rep,name=confirmed_transactions,json=confirmedTransactions,proto3" json:"confirmed_transactions,omitempty"` // Transactions in mempool which have not been included in a block. UnconfirmedTransactions [][]byte `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetRawAddressTransactionsResponse) Descriptor
deprecated
func (*GetRawAddressTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRawAddressTransactionsResponse.ProtoReflect.Descriptor instead.
func (*GetRawAddressTransactionsResponse) GetConfirmedTransactions ¶
func (x *GetRawAddressTransactionsResponse) GetConfirmedTransactions() [][]byte
func (*GetRawAddressTransactionsResponse) GetUnconfirmedTransactions ¶
func (x *GetRawAddressTransactionsResponse) GetUnconfirmedTransactions() [][]byte
func (*GetRawAddressTransactionsResponse) ProtoMessage ¶
func (*GetRawAddressTransactionsResponse) ProtoMessage()
func (*GetRawAddressTransactionsResponse) ProtoReflect ¶
func (x *GetRawAddressTransactionsResponse) ProtoReflect() protoreflect.Message
func (*GetRawAddressTransactionsResponse) Reset ¶
func (x *GetRawAddressTransactionsResponse) Reset()
func (*GetRawAddressTransactionsResponse) String ¶
func (x *GetRawAddressTransactionsResponse) String() string
type GetRawBlockRequest ¶
type GetRawBlockRequest struct { // Types that are assignable to HashOrHeight: // *GetRawBlockRequest_Hash // *GetRawBlockRequest_Height HashOrHeight isGetRawBlockRequest_HashOrHeight `protobuf_oneof:"hash_or_height"` // contains filtered or unexported fields }
func (*GetRawBlockRequest) Descriptor
deprecated
func (*GetRawBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRawBlockRequest.ProtoReflect.Descriptor instead.
func (*GetRawBlockRequest) GetHash ¶
func (x *GetRawBlockRequest) GetHash() []byte
func (*GetRawBlockRequest) GetHashOrHeight ¶
func (m *GetRawBlockRequest) GetHashOrHeight() isGetRawBlockRequest_HashOrHeight
func (*GetRawBlockRequest) GetHeight ¶
func (x *GetRawBlockRequest) GetHeight() int32
func (*GetRawBlockRequest) ProtoMessage ¶
func (*GetRawBlockRequest) ProtoMessage()
func (*GetRawBlockRequest) ProtoReflect ¶
func (x *GetRawBlockRequest) ProtoReflect() protoreflect.Message
func (*GetRawBlockRequest) Reset ¶
func (x *GetRawBlockRequest) Reset()
func (*GetRawBlockRequest) String ¶
func (x *GetRawBlockRequest) String() string
type GetRawBlockRequest_Hash ¶
type GetRawBlockRequest_Hash struct { // The block hash as a byte array or base64 encoded string, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3,oneof"` }
type GetRawBlockRequest_Height ¶
type GetRawBlockRequest_Height struct { // The block number. Height int32 `protobuf:"varint,2,opt,name=height,proto3,oneof"` }
type GetRawBlockResponse ¶
type GetRawBlockResponse struct { // Raw block data (with header) serialized according the the bitcoin block protocol. Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*GetRawBlockResponse) Descriptor
deprecated
func (*GetRawBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRawBlockResponse.ProtoReflect.Descriptor instead.
func (*GetRawBlockResponse) GetBlock ¶
func (x *GetRawBlockResponse) GetBlock() []byte
func (*GetRawBlockResponse) ProtoMessage ¶
func (*GetRawBlockResponse) ProtoMessage()
func (*GetRawBlockResponse) ProtoReflect ¶
func (x *GetRawBlockResponse) ProtoReflect() protoreflect.Message
func (*GetRawBlockResponse) Reset ¶
func (x *GetRawBlockResponse) Reset()
func (*GetRawBlockResponse) String ¶
func (x *GetRawBlockResponse) String() string
type GetRawTransactionRequest ¶
type GetRawTransactionRequest struct { // A transaction hash, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Get an encoded transaction from a transaction hash.
func (*GetRawTransactionRequest) Descriptor
deprecated
func (*GetRawTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRawTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetRawTransactionRequest) GetHash ¶
func (x *GetRawTransactionRequest) GetHash() []byte
func (*GetRawTransactionRequest) ProtoMessage ¶
func (*GetRawTransactionRequest) ProtoMessage()
func (*GetRawTransactionRequest) ProtoReflect ¶
func (x *GetRawTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetRawTransactionRequest) Reset ¶
func (x *GetRawTransactionRequest) Reset()
func (*GetRawTransactionRequest) String ¶
func (x *GetRawTransactionRequest) String() string
type GetRawTransactionResponse ¶
type GetRawTransactionResponse struct { // Raw transaction in bytes. Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*GetRawTransactionResponse) Descriptor
deprecated
func (*GetRawTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRawTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetRawTransactionResponse) GetTransaction ¶
func (x *GetRawTransactionResponse) GetTransaction() []byte
func (*GetRawTransactionResponse) ProtoMessage ¶
func (*GetRawTransactionResponse) ProtoMessage()
func (*GetRawTransactionResponse) ProtoReflect ¶
func (x *GetRawTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetRawTransactionResponse) Reset ¶
func (x *GetRawTransactionResponse) Reset()
func (*GetRawTransactionResponse) String ¶
func (x *GetRawTransactionResponse) String() string
type GetSlpGraphSearchRequest ¶
type GetSlpGraphSearchRequest struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` ValidHashes [][]byte `protobuf:"bytes,2,rep,name=valid_hashes,json=validHashes,proto3" json:"valid_hashes,omitempty"` // contains filtered or unexported fields }
func (*GetSlpGraphSearchRequest) Descriptor
deprecated
func (*GetSlpGraphSearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpGraphSearchRequest.ProtoReflect.Descriptor instead.
func (*GetSlpGraphSearchRequest) GetHash ¶
func (x *GetSlpGraphSearchRequest) GetHash() []byte
func (*GetSlpGraphSearchRequest) GetValidHashes ¶
func (x *GetSlpGraphSearchRequest) GetValidHashes() [][]byte
func (*GetSlpGraphSearchRequest) ProtoMessage ¶
func (*GetSlpGraphSearchRequest) ProtoMessage()
func (*GetSlpGraphSearchRequest) ProtoReflect ¶
func (x *GetSlpGraphSearchRequest) ProtoReflect() protoreflect.Message
func (*GetSlpGraphSearchRequest) Reset ¶
func (x *GetSlpGraphSearchRequest) Reset()
func (*GetSlpGraphSearchRequest) String ¶
func (x *GetSlpGraphSearchRequest) String() string
type GetSlpGraphSearchResponse ¶
type GetSlpGraphSearchResponse struct { Txdata [][]byte `protobuf:"bytes,1,rep,name=txdata,proto3" json:"txdata,omitempty"` // contains filtered or unexported fields }
func (*GetSlpGraphSearchResponse) Descriptor
deprecated
func (*GetSlpGraphSearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpGraphSearchResponse.ProtoReflect.Descriptor instead.
func (*GetSlpGraphSearchResponse) GetTxdata ¶
func (x *GetSlpGraphSearchResponse) GetTxdata() [][]byte
func (*GetSlpGraphSearchResponse) ProtoMessage ¶
func (*GetSlpGraphSearchResponse) ProtoMessage()
func (*GetSlpGraphSearchResponse) ProtoReflect ¶
func (x *GetSlpGraphSearchResponse) ProtoReflect() protoreflect.Message
func (*GetSlpGraphSearchResponse) Reset ¶
func (x *GetSlpGraphSearchResponse) Reset()
func (*GetSlpGraphSearchResponse) String ¶
func (x *GetSlpGraphSearchResponse) String() string
type GetSlpParsedScriptRequest ¶
type GetSlpParsedScriptRequest struct { SlpOpreturnScript []byte `protobuf:"bytes,1,opt,name=slp_opreturn_script,json=slpOpreturnScript,proto3" json:"slp_opreturn_script,omitempty"` // contains filtered or unexported fields }
func (*GetSlpParsedScriptRequest) Descriptor
deprecated
func (*GetSlpParsedScriptRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpParsedScriptRequest.ProtoReflect.Descriptor instead.
func (*GetSlpParsedScriptRequest) GetSlpOpreturnScript ¶
func (x *GetSlpParsedScriptRequest) GetSlpOpreturnScript() []byte
func (*GetSlpParsedScriptRequest) ProtoMessage ¶
func (*GetSlpParsedScriptRequest) ProtoMessage()
func (*GetSlpParsedScriptRequest) ProtoReflect ¶
func (x *GetSlpParsedScriptRequest) ProtoReflect() protoreflect.Message
func (*GetSlpParsedScriptRequest) Reset ¶
func (x *GetSlpParsedScriptRequest) Reset()
func (*GetSlpParsedScriptRequest) String ¶
func (x *GetSlpParsedScriptRequest) String() string
type GetSlpParsedScriptResponse ¶
type GetSlpParsedScriptResponse struct { ParsingError string `protobuf:"bytes,1,opt,name=parsing_error,json=parsingError,proto3" json:"parsing_error,omitempty"` TokenId []byte `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` SlpAction SlpAction `protobuf:"varint,3,opt,name=slp_action,json=slpAction,proto3,enum=pb.SlpAction" json:"slp_action,omitempty"` TokenType SlpTokenType `protobuf:"varint,4,opt,name=token_type,json=tokenType,proto3,enum=pb.SlpTokenType" json:"token_type,omitempty"` // Types that are assignable to SlpMetadata: // *GetSlpParsedScriptResponse_V1Genesis // *GetSlpParsedScriptResponse_V1Mint // *GetSlpParsedScriptResponse_V1Send // *GetSlpParsedScriptResponse_V1Nft1ChildGenesis // *GetSlpParsedScriptResponse_V1Nft1ChildSend SlpMetadata isGetSlpParsedScriptResponse_SlpMetadata `protobuf_oneof:"slp_metadata"` // contains filtered or unexported fields }
func (*GetSlpParsedScriptResponse) Descriptor
deprecated
func (*GetSlpParsedScriptResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpParsedScriptResponse.ProtoReflect.Descriptor instead.
func (*GetSlpParsedScriptResponse) GetParsingError ¶
func (x *GetSlpParsedScriptResponse) GetParsingError() string
func (*GetSlpParsedScriptResponse) GetSlpAction ¶
func (x *GetSlpParsedScriptResponse) GetSlpAction() SlpAction
func (*GetSlpParsedScriptResponse) GetSlpMetadata ¶
func (m *GetSlpParsedScriptResponse) GetSlpMetadata() isGetSlpParsedScriptResponse_SlpMetadata
func (*GetSlpParsedScriptResponse) GetTokenId ¶
func (x *GetSlpParsedScriptResponse) GetTokenId() []byte
func (*GetSlpParsedScriptResponse) GetTokenType ¶
func (x *GetSlpParsedScriptResponse) GetTokenType() SlpTokenType
func (*GetSlpParsedScriptResponse) GetV1Genesis ¶
func (x *GetSlpParsedScriptResponse) GetV1Genesis() *SlpV1GenesisMetadata
func (*GetSlpParsedScriptResponse) GetV1Mint ¶
func (x *GetSlpParsedScriptResponse) GetV1Mint() *SlpV1MintMetadata
func (*GetSlpParsedScriptResponse) GetV1Nft1ChildGenesis ¶
func (x *GetSlpParsedScriptResponse) GetV1Nft1ChildGenesis() *SlpV1Nft1ChildGenesisMetadata
func (*GetSlpParsedScriptResponse) GetV1Nft1ChildSend ¶
func (x *GetSlpParsedScriptResponse) GetV1Nft1ChildSend() *SlpV1Nft1ChildSendMetadata
func (*GetSlpParsedScriptResponse) GetV1Send ¶
func (x *GetSlpParsedScriptResponse) GetV1Send() *SlpV1SendMetadata
func (*GetSlpParsedScriptResponse) ProtoMessage ¶
func (*GetSlpParsedScriptResponse) ProtoMessage()
func (*GetSlpParsedScriptResponse) ProtoReflect ¶
func (x *GetSlpParsedScriptResponse) ProtoReflect() protoreflect.Message
func (*GetSlpParsedScriptResponse) Reset ¶
func (x *GetSlpParsedScriptResponse) Reset()
func (*GetSlpParsedScriptResponse) String ¶
func (x *GetSlpParsedScriptResponse) String() string
type GetSlpParsedScriptResponse_V1Genesis ¶
type GetSlpParsedScriptResponse_V1Genesis struct {
V1Genesis *SlpV1GenesisMetadata `protobuf:"bytes,5,opt,name=v1_genesis,json=v1Genesis,proto3,oneof"` // NFT1 Group also uses this
}
type GetSlpParsedScriptResponse_V1Mint ¶
type GetSlpParsedScriptResponse_V1Mint struct {
V1Mint *SlpV1MintMetadata `protobuf:"bytes,6,opt,name=v1_mint,json=v1Mint,proto3,oneof"` // NFT1 Group also uses this
}
type GetSlpParsedScriptResponse_V1Nft1ChildGenesis ¶
type GetSlpParsedScriptResponse_V1Nft1ChildGenesis struct {
V1Nft1ChildGenesis *SlpV1Nft1ChildGenesisMetadata `protobuf:"bytes,8,opt,name=v1_nft1_child_genesis,json=v1Nft1ChildGenesis,proto3,oneof"`
}
type GetSlpParsedScriptResponse_V1Nft1ChildSend ¶
type GetSlpParsedScriptResponse_V1Nft1ChildSend struct {
V1Nft1ChildSend *SlpV1Nft1ChildSendMetadata `protobuf:"bytes,9,opt,name=v1_nft1_child_send,json=v1Nft1ChildSend,proto3,oneof"`
}
type GetSlpParsedScriptResponse_V1Send ¶
type GetSlpParsedScriptResponse_V1Send struct {
V1Send *SlpV1SendMetadata `protobuf:"bytes,7,opt,name=v1_send,json=v1Send,proto3,oneof"` // NFT1 Group also uses this
}
type GetSlpTokenMetadataRequest ¶
type GetSlpTokenMetadataRequest struct { TokenIds [][]byte `protobuf:"bytes,1,rep,name=token_ids,json=tokenIds,proto3" json:"token_ids,omitempty"` // contains filtered or unexported fields }
func (*GetSlpTokenMetadataRequest) Descriptor
deprecated
func (*GetSlpTokenMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpTokenMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetSlpTokenMetadataRequest) GetTokenIds ¶
func (x *GetSlpTokenMetadataRequest) GetTokenIds() [][]byte
func (*GetSlpTokenMetadataRequest) ProtoMessage ¶
func (*GetSlpTokenMetadataRequest) ProtoMessage()
func (*GetSlpTokenMetadataRequest) ProtoReflect ¶
func (x *GetSlpTokenMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetSlpTokenMetadataRequest) Reset ¶
func (x *GetSlpTokenMetadataRequest) Reset()
func (*GetSlpTokenMetadataRequest) String ¶
func (x *GetSlpTokenMetadataRequest) String() string
type GetSlpTokenMetadataResponse ¶
type GetSlpTokenMetadataResponse struct { TokenMetadata []*SlpTokenMetadata `protobuf:"bytes,1,rep,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetSlpTokenMetadataResponse) Descriptor
deprecated
func (*GetSlpTokenMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpTokenMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetSlpTokenMetadataResponse) GetTokenMetadata ¶
func (x *GetSlpTokenMetadataResponse) GetTokenMetadata() []*SlpTokenMetadata
func (*GetSlpTokenMetadataResponse) ProtoMessage ¶
func (*GetSlpTokenMetadataResponse) ProtoMessage()
func (*GetSlpTokenMetadataResponse) ProtoReflect ¶
func (x *GetSlpTokenMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetSlpTokenMetadataResponse) Reset ¶
func (x *GetSlpTokenMetadataResponse) Reset()
func (*GetSlpTokenMetadataResponse) String ¶
func (x *GetSlpTokenMetadataResponse) String() string
type GetSlpTrustedValidationRequest ¶
type GetSlpTrustedValidationRequest struct { Queries []*GetSlpTrustedValidationRequest_Query `protobuf:"bytes,1,rep,name=queries,proto3" json:"queries,omitempty"` IncludeGraphsearchCount bool `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSlpTrustedValidationRequest) Descriptor
deprecated
func (*GetSlpTrustedValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpTrustedValidationRequest.ProtoReflect.Descriptor instead.
func (*GetSlpTrustedValidationRequest) GetIncludeGraphsearchCount ¶
func (x *GetSlpTrustedValidationRequest) GetIncludeGraphsearchCount() bool
func (*GetSlpTrustedValidationRequest) GetQueries ¶
func (x *GetSlpTrustedValidationRequest) GetQueries() []*GetSlpTrustedValidationRequest_Query
func (*GetSlpTrustedValidationRequest) ProtoMessage ¶
func (*GetSlpTrustedValidationRequest) ProtoMessage()
func (*GetSlpTrustedValidationRequest) ProtoReflect ¶
func (x *GetSlpTrustedValidationRequest) ProtoReflect() protoreflect.Message
func (*GetSlpTrustedValidationRequest) Reset ¶
func (x *GetSlpTrustedValidationRequest) Reset()
func (*GetSlpTrustedValidationRequest) String ¶
func (x *GetSlpTrustedValidationRequest) String() string
type GetSlpTrustedValidationRequest_Query ¶
type GetSlpTrustedValidationRequest_Query struct { PrevOutHash []byte `protobuf:"bytes,1,opt,name=prev_out_hash,json=prevOutHash,proto3" json:"prev_out_hash,omitempty"` PrevOutVout uint32 `protobuf:"varint,2,opt,name=prev_out_vout,json=prevOutVout,proto3" json:"prev_out_vout,omitempty"` GraphsearchValidHashes [][]byte `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetSlpTrustedValidationRequest_Query) Descriptor
deprecated
func (*GetSlpTrustedValidationRequest_Query) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpTrustedValidationRequest_Query.ProtoReflect.Descriptor instead.
func (*GetSlpTrustedValidationRequest_Query) GetGraphsearchValidHashes ¶
func (x *GetSlpTrustedValidationRequest_Query) GetGraphsearchValidHashes() [][]byte
func (*GetSlpTrustedValidationRequest_Query) GetPrevOutHash ¶
func (x *GetSlpTrustedValidationRequest_Query) GetPrevOutHash() []byte
func (*GetSlpTrustedValidationRequest_Query) GetPrevOutVout ¶
func (x *GetSlpTrustedValidationRequest_Query) GetPrevOutVout() uint32
func (*GetSlpTrustedValidationRequest_Query) ProtoMessage ¶
func (*GetSlpTrustedValidationRequest_Query) ProtoMessage()
func (*GetSlpTrustedValidationRequest_Query) ProtoReflect ¶
func (x *GetSlpTrustedValidationRequest_Query) ProtoReflect() protoreflect.Message
func (*GetSlpTrustedValidationRequest_Query) Reset ¶
func (x *GetSlpTrustedValidationRequest_Query) Reset()
func (*GetSlpTrustedValidationRequest_Query) String ¶
func (x *GetSlpTrustedValidationRequest_Query) String() string
type GetSlpTrustedValidationResponse ¶
type GetSlpTrustedValidationResponse struct { Results []*GetSlpTrustedValidationResponse_ValidityResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*GetSlpTrustedValidationResponse) Descriptor
deprecated
func (*GetSlpTrustedValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpTrustedValidationResponse.ProtoReflect.Descriptor instead.
func (*GetSlpTrustedValidationResponse) GetResults ¶
func (x *GetSlpTrustedValidationResponse) GetResults() []*GetSlpTrustedValidationResponse_ValidityResult
func (*GetSlpTrustedValidationResponse) ProtoMessage ¶
func (*GetSlpTrustedValidationResponse) ProtoMessage()
func (*GetSlpTrustedValidationResponse) ProtoReflect ¶
func (x *GetSlpTrustedValidationResponse) ProtoReflect() protoreflect.Message
func (*GetSlpTrustedValidationResponse) Reset ¶
func (x *GetSlpTrustedValidationResponse) Reset()
func (*GetSlpTrustedValidationResponse) String ¶
func (x *GetSlpTrustedValidationResponse) String() string
type GetSlpTrustedValidationResponse_ValidityResult ¶
type GetSlpTrustedValidationResponse_ValidityResult struct { PrevOutHash []byte `protobuf:"bytes,1,opt,name=prev_out_hash,json=prevOutHash,proto3" json:"prev_out_hash,omitempty"` PrevOutVout uint32 `protobuf:"varint,2,opt,name=prev_out_vout,json=prevOutVout,proto3" json:"prev_out_vout,omitempty"` TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` SlpAction SlpAction `protobuf:"varint,4,opt,name=slp_action,json=slpAction,proto3,enum=pb.SlpAction" json:"slp_action,omitempty"` TokenType SlpTokenType `protobuf:"varint,5,opt,name=token_type,json=tokenType,proto3,enum=pb.SlpTokenType" json:"token_type,omitempty"` // Types that are assignable to ValidityResultType: // *GetSlpTrustedValidationResponse_ValidityResult_V1TokenAmount // *GetSlpTrustedValidationResponse_ValidityResult_V1MintBaton ValidityResultType isGetSlpTrustedValidationResponse_ValidityResult_ValidityResultType `protobuf_oneof:"validity_result_type"` SlpTxnOpreturn []byte `protobuf:"bytes,8,opt,name=slp_txn_opreturn,json=slpTxnOpreturn,proto3" json:"slp_txn_opreturn,omitempty"` GraphsearchTxnCount uint32 `protobuf:"varint,9,opt,name=graphsearch_txn_count,json=graphsearchTxnCount,proto3" json:"graphsearch_txn_count,omitempty"` // contains filtered or unexported fields }
func (*GetSlpTrustedValidationResponse_ValidityResult) Descriptor
deprecated
func (*GetSlpTrustedValidationResponse_ValidityResult) Descriptor() ([]byte, []int)
Deprecated: Use GetSlpTrustedValidationResponse_ValidityResult.ProtoReflect.Descriptor instead.
func (*GetSlpTrustedValidationResponse_ValidityResult) GetGraphsearchTxnCount ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetGraphsearchTxnCount() uint32
func (*GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutHash ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutHash() []byte
func (*GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutVout ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutVout() uint32
func (*GetSlpTrustedValidationResponse_ValidityResult) GetSlpAction ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetSlpAction() SlpAction
func (*GetSlpTrustedValidationResponse_ValidityResult) GetSlpTxnOpreturn ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetSlpTxnOpreturn() []byte
func (*GetSlpTrustedValidationResponse_ValidityResult) GetTokenId ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetTokenId() []byte
func (*GetSlpTrustedValidationResponse_ValidityResult) GetTokenType ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetTokenType() SlpTokenType
func (*GetSlpTrustedValidationResponse_ValidityResult) GetV1MintBaton ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetV1MintBaton() bool
func (*GetSlpTrustedValidationResponse_ValidityResult) GetV1TokenAmount ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) GetV1TokenAmount() uint64
func (*GetSlpTrustedValidationResponse_ValidityResult) GetValidityResultType ¶
func (m *GetSlpTrustedValidationResponse_ValidityResult) GetValidityResultType() isGetSlpTrustedValidationResponse_ValidityResult_ValidityResultType
func (*GetSlpTrustedValidationResponse_ValidityResult) ProtoMessage ¶
func (*GetSlpTrustedValidationResponse_ValidityResult) ProtoMessage()
func (*GetSlpTrustedValidationResponse_ValidityResult) ProtoReflect ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) ProtoReflect() protoreflect.Message
func (*GetSlpTrustedValidationResponse_ValidityResult) Reset ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) Reset()
func (*GetSlpTrustedValidationResponse_ValidityResult) String ¶
func (x *GetSlpTrustedValidationResponse_ValidityResult) String() string
type GetSlpTrustedValidationResponse_ValidityResult_V1MintBaton ¶
type GetSlpTrustedValidationResponse_ValidityResult_V1MintBaton struct {
V1MintBaton bool `protobuf:"varint,7,opt,name=v1_mint_baton,json=v1MintBaton,proto3,oneof"`
}
type GetSlpTrustedValidationResponse_ValidityResult_V1TokenAmount ¶
type GetSlpTrustedValidationResponse_ValidityResult_V1TokenAmount struct {
V1TokenAmount uint64 `protobuf:"varint,6,opt,name=v1_token_amount,json=v1TokenAmount,proto3,oneof"`
}
type GetTransactionRequest ¶
type GetTransactionRequest struct { // A transaction hash, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` IncludeTokenMetadata bool `protobuf:"varint,2,opt,name=include_token_metadata,json=includeTokenMetadata,proto3" json:"include_token_metadata,omitempty"` // contains filtered or unexported fields }
Get a transaction from a transaction hash.
func (*GetTransactionRequest) Descriptor
deprecated
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionRequest) GetHash ¶
func (x *GetTransactionRequest) GetHash() []byte
func (*GetTransactionRequest) GetIncludeTokenMetadata ¶
func (x *GetTransactionRequest) GetIncludeTokenMetadata() bool
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) ProtoReflect ¶
func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionRequest) Reset ¶
func (x *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (x *GetTransactionRequest) String() string
type GetTransactionResponse ¶
type GetTransactionResponse struct { // A marshaled transaction. Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` TokenMetadata *SlpTokenMetadata `protobuf:"bytes,2,opt,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetTokenMetadata ¶
func (x *GetTransactionResponse) GetTokenMetadata() *SlpTokenMetadata
func (*GetTransactionResponse) GetTransaction ¶
func (x *GetTransactionResponse) GetTransaction() *Transaction
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) ProtoReflect ¶
func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionResponse) Reset ¶
func (x *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (x *GetTransactionResponse) String() string
type GetUnspentOutputRequest ¶
type GetUnspentOutputRequest struct { // The hash of the transaction, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The number of the output, starting from zero. Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // When include_mempool is true, unconfirmed transactions from mempool // are returned. Default is false. IncludeMempool bool `protobuf:"varint,3,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"` IncludeTokenMetadata bool `protobuf:"varint,4,opt,name=include_token_metadata,json=includeTokenMetadata,proto3" json:"include_token_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetUnspentOutputRequest) Descriptor
deprecated
func (*GetUnspentOutputRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUnspentOutputRequest.ProtoReflect.Descriptor instead.
func (*GetUnspentOutputRequest) GetHash ¶
func (x *GetUnspentOutputRequest) GetHash() []byte
func (*GetUnspentOutputRequest) GetIncludeMempool ¶
func (x *GetUnspentOutputRequest) GetIncludeMempool() bool
func (*GetUnspentOutputRequest) GetIncludeTokenMetadata ¶
func (x *GetUnspentOutputRequest) GetIncludeTokenMetadata() bool
func (*GetUnspentOutputRequest) GetIndex ¶
func (x *GetUnspentOutputRequest) GetIndex() uint32
func (*GetUnspentOutputRequest) ProtoMessage ¶
func (*GetUnspentOutputRequest) ProtoMessage()
func (*GetUnspentOutputRequest) ProtoReflect ¶
func (x *GetUnspentOutputRequest) ProtoReflect() protoreflect.Message
func (*GetUnspentOutputRequest) Reset ¶
func (x *GetUnspentOutputRequest) Reset()
func (*GetUnspentOutputRequest) String ¶
func (x *GetUnspentOutputRequest) String() string
type GetUnspentOutputResponse ¶
type GetUnspentOutputResponse struct { // A reference to the related input. Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // Locking script dictating how funds can be spent in the future PubkeyScript []byte `protobuf:"bytes,2,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"` // Amount in satoshi. Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // When is_coinbase is true, the transaction was the first in a block, // created by a miner, and used to pay the block reward IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"` // The index number of the block containing the transaction creating the output. BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` SlpToken *SlpToken `protobuf:"bytes,6,opt,name=slp_token,json=slpToken,proto3" json:"slp_token,omitempty"` TokenMetadata *SlpTokenMetadata `protobuf:"bytes,7,opt,name=token_metadata,json=tokenMetadata,proto3" json:"token_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetUnspentOutputResponse) Descriptor
deprecated
func (*GetUnspentOutputResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUnspentOutputResponse.ProtoReflect.Descriptor instead.
func (*GetUnspentOutputResponse) GetBlockHeight ¶
func (x *GetUnspentOutputResponse) GetBlockHeight() int32
func (*GetUnspentOutputResponse) GetIsCoinbase ¶
func (x *GetUnspentOutputResponse) GetIsCoinbase() bool
func (*GetUnspentOutputResponse) GetOutpoint ¶
func (x *GetUnspentOutputResponse) GetOutpoint() *Transaction_Input_Outpoint
func (*GetUnspentOutputResponse) GetPubkeyScript ¶
func (x *GetUnspentOutputResponse) GetPubkeyScript() []byte
func (*GetUnspentOutputResponse) GetSlpToken ¶
func (x *GetUnspentOutputResponse) GetSlpToken() *SlpToken
func (*GetUnspentOutputResponse) GetTokenMetadata ¶
func (x *GetUnspentOutputResponse) GetTokenMetadata() *SlpTokenMetadata
func (*GetUnspentOutputResponse) GetValue ¶
func (x *GetUnspentOutputResponse) GetValue() int64
func (*GetUnspentOutputResponse) ProtoMessage ¶
func (*GetUnspentOutputResponse) ProtoMessage()
func (*GetUnspentOutputResponse) ProtoReflect ¶
func (x *GetUnspentOutputResponse) ProtoReflect() protoreflect.Message
func (*GetUnspentOutputResponse) Reset ¶
func (x *GetUnspentOutputResponse) Reset()
func (*GetUnspentOutputResponse) String ¶
func (x *GetUnspentOutputResponse) String() string
type MempoolTransaction ¶
type MempoolTransaction struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // The time when the transaction was added too the pool. AddedTime int64 `protobuf:"varint,2,opt,name=added_time,json=addedTime,proto3" json:"added_time,omitempty"` // The block height when the transaction was added to the pool. AddedHeight int32 `protobuf:"varint,3,opt,name=added_height,json=addedHeight,proto3" json:"added_height,omitempty"` // The total fee in satoshi the transaction pays. Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` // The fee in satoshi per kilobyte the transaction pays. FeePerKb int64 `protobuf:"varint,5,opt,name=fee_per_kb,json=feePerKb,proto3" json:"fee_per_kb,omitempty"` // The priority of the transaction when it was added to the pool. StartingPriority float64 `protobuf:"fixed64,6,opt,name=starting_priority,json=startingPriority,proto3" json:"starting_priority,omitempty"` // contains filtered or unexported fields }
func (*MempoolTransaction) Descriptor
deprecated
func (*MempoolTransaction) Descriptor() ([]byte, []int)
Deprecated: Use MempoolTransaction.ProtoReflect.Descriptor instead.
func (*MempoolTransaction) GetAddedHeight ¶
func (x *MempoolTransaction) GetAddedHeight() int32
func (*MempoolTransaction) GetAddedTime ¶
func (x *MempoolTransaction) GetAddedTime() int64
func (*MempoolTransaction) GetFee ¶
func (x *MempoolTransaction) GetFee() int64
func (*MempoolTransaction) GetFeePerKb ¶
func (x *MempoolTransaction) GetFeePerKb() int64
func (*MempoolTransaction) GetStartingPriority ¶
func (x *MempoolTransaction) GetStartingPriority() float64
func (*MempoolTransaction) GetTransaction ¶
func (x *MempoolTransaction) GetTransaction() *Transaction
func (*MempoolTransaction) ProtoMessage ¶
func (*MempoolTransaction) ProtoMessage()
func (*MempoolTransaction) ProtoReflect ¶
func (x *MempoolTransaction) ProtoReflect() protoreflect.Message
func (*MempoolTransaction) Reset ¶
func (x *MempoolTransaction) Reset()
func (*MempoolTransaction) String ¶
func (x *MempoolTransaction) String() string
type SlpAction ¶
type SlpAction int32
SlpAction is used to allow clients to identify the type of slp transaction from this single field.
NOTE: All enum types except for "NON_SLP" may be annotated with one or more BurnFlags.
const ( SlpAction_NON_SLP SlpAction = 0 SlpAction_NON_SLP_BURN SlpAction = 1 SlpAction_SLP_PARSE_ERROR SlpAction = 2 SlpAction_SLP_UNSUPPORTED_VERSION SlpAction = 3 SlpAction_SLP_V1_GENESIS SlpAction = 4 SlpAction_SLP_V1_MINT SlpAction = 5 SlpAction_SLP_V1_SEND SlpAction = 6 SlpAction_SLP_V1_NFT1_GROUP_GENESIS SlpAction = 7 SlpAction_SLP_V1_NFT1_GROUP_MINT SlpAction = 8 SlpAction_SLP_V1_NFT1_GROUP_SEND SlpAction = 9 SlpAction_SLP_V1_NFT1_UNIQUE_CHILD_GENESIS SlpAction = 10 SlpAction_SLP_V1_NFT1_UNIQUE_CHILD_SEND SlpAction = 11 )
func (SlpAction) Descriptor ¶
func (SlpAction) Descriptor() protoreflect.EnumDescriptor
func (SlpAction) EnumDescriptor
deprecated
func (SlpAction) Number ¶
func (x SlpAction) Number() protoreflect.EnumNumber
func (SlpAction) Type ¶
func (SlpAction) Type() protoreflect.EnumType
type SlpRequiredBurn ¶
type SlpRequiredBurn struct { Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` TokenId []byte `protobuf:"bytes,2,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` TokenType SlpTokenType `protobuf:"varint,3,opt,name=token_type,json=tokenType,proto3,enum=pb.SlpTokenType" json:"token_type,omitempty"` // Types that are assignable to BurnIntention: // *SlpRequiredBurn_Amount // *SlpRequiredBurn_MintBatonVout BurnIntention isSlpRequiredBurn_BurnIntention `protobuf_oneof:"burn_intention"` // contains filtered or unexported fields }
SlpRequiredBurn is used by clients to allow token burning
func (*SlpRequiredBurn) Descriptor
deprecated
func (*SlpRequiredBurn) Descriptor() ([]byte, []int)
Deprecated: Use SlpRequiredBurn.ProtoReflect.Descriptor instead.
func (*SlpRequiredBurn) GetAmount ¶
func (x *SlpRequiredBurn) GetAmount() uint64
func (*SlpRequiredBurn) GetBurnIntention ¶
func (m *SlpRequiredBurn) GetBurnIntention() isSlpRequiredBurn_BurnIntention
func (*SlpRequiredBurn) GetMintBatonVout ¶
func (x *SlpRequiredBurn) GetMintBatonVout() uint32
func (*SlpRequiredBurn) GetOutpoint ¶
func (x *SlpRequiredBurn) GetOutpoint() *Transaction_Input_Outpoint
func (*SlpRequiredBurn) GetTokenId ¶
func (x *SlpRequiredBurn) GetTokenId() []byte
func (*SlpRequiredBurn) GetTokenType ¶
func (x *SlpRequiredBurn) GetTokenType() SlpTokenType
func (*SlpRequiredBurn) ProtoMessage ¶
func (*SlpRequiredBurn) ProtoMessage()
func (*SlpRequiredBurn) ProtoReflect ¶
func (x *SlpRequiredBurn) ProtoReflect() protoreflect.Message
func (*SlpRequiredBurn) Reset ¶
func (x *SlpRequiredBurn) Reset()
func (*SlpRequiredBurn) String ¶
func (x *SlpRequiredBurn) String() string
type SlpRequiredBurn_Amount ¶
type SlpRequiredBurn_Amount struct {
Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3,oneof"`
}
type SlpRequiredBurn_MintBatonVout ¶
type SlpRequiredBurn_MintBatonVout struct {
MintBatonVout uint32 `protobuf:"varint,5,opt,name=mint_baton_vout,json=mintBatonVout,proto3,oneof"`
}
type SlpToken ¶
type SlpToken struct { TokenId []byte `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` IsMintBaton bool `protobuf:"varint,3,opt,name=is_mint_baton,json=isMintBaton,proto3" json:"is_mint_baton,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Decimals uint32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` SlpAction SlpAction `protobuf:"varint,6,opt,name=slp_action,json=slpAction,proto3,enum=pb.SlpAction" json:"slp_action,omitempty"` TokenType SlpTokenType `protobuf:"varint,7,opt,name=token_type,json=tokenType,proto3,enum=pb.SlpTokenType" json:"token_type,omitempty"` // contains filtered or unexported fields }
SlpToken info used in transaction inputs / outputs
WARNING: Some languages (e.g., JavaScript) may not properly handle the 'uint64' for large amounts. For this reason, an annotation has been added for JS to return a string for the amount field instead of casting uint64 to the JS 'number' type. Other languages may require similar treatment.
func (*SlpToken) Descriptor
deprecated
func (*SlpToken) GetAddress ¶
func (*SlpToken) GetDecimals ¶
func (*SlpToken) GetIsMintBaton ¶
func (*SlpToken) GetSlpAction ¶
func (*SlpToken) GetTokenId ¶
func (*SlpToken) GetTokenType ¶
func (x *SlpToken) GetTokenType() SlpTokenType
func (*SlpToken) ProtoMessage ¶
func (*SlpToken) ProtoMessage()
func (*SlpToken) ProtoReflect ¶
func (x *SlpToken) ProtoReflect() protoreflect.Message
type SlpTokenMetadata ¶
type SlpTokenMetadata struct { TokenId []byte `protobuf:"bytes,1,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` TokenType SlpTokenType `protobuf:"varint,2,opt,name=token_type,json=tokenType,proto3,enum=pb.SlpTokenType" json:"token_type,omitempty"` // Types that are assignable to TypeMetadata: // *SlpTokenMetadata_V1Fungible_ // *SlpTokenMetadata_V1Nft1Group // *SlpTokenMetadata_V1Nft1Child TypeMetadata isSlpTokenMetadata_TypeMetadata `protobuf_oneof:"type_metadata"` // contains filtered or unexported fields }
SlpTokenMetadata is used to marshal metadata about a specific TokenID
func (*SlpTokenMetadata) Descriptor
deprecated
func (*SlpTokenMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SlpTokenMetadata.ProtoReflect.Descriptor instead.
func (*SlpTokenMetadata) GetTokenId ¶
func (x *SlpTokenMetadata) GetTokenId() []byte
func (*SlpTokenMetadata) GetTokenType ¶
func (x *SlpTokenMetadata) GetTokenType() SlpTokenType
func (*SlpTokenMetadata) GetTypeMetadata ¶
func (m *SlpTokenMetadata) GetTypeMetadata() isSlpTokenMetadata_TypeMetadata
func (*SlpTokenMetadata) GetV1Fungible ¶
func (x *SlpTokenMetadata) GetV1Fungible() *SlpTokenMetadata_V1Fungible
func (*SlpTokenMetadata) GetV1Nft1Child ¶
func (x *SlpTokenMetadata) GetV1Nft1Child() *SlpTokenMetadata_V1NFT1Child
func (*SlpTokenMetadata) GetV1Nft1Group ¶
func (x *SlpTokenMetadata) GetV1Nft1Group() *SlpTokenMetadata_V1NFT1Group
func (*SlpTokenMetadata) ProtoMessage ¶
func (*SlpTokenMetadata) ProtoMessage()
func (*SlpTokenMetadata) ProtoReflect ¶
func (x *SlpTokenMetadata) ProtoReflect() protoreflect.Message
func (*SlpTokenMetadata) Reset ¶
func (x *SlpTokenMetadata) Reset()
func (*SlpTokenMetadata) String ¶
func (x *SlpTokenMetadata) String() string
type SlpTokenMetadata_V1Fungible ¶
type SlpTokenMetadata_V1Fungible struct { TokenTicker string `protobuf:"bytes,1,opt,name=token_ticker,json=tokenTicker,proto3" json:"token_ticker,omitempty"` TokenName string `protobuf:"bytes,2,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"` TokenDocumentUrl string `protobuf:"bytes,3,opt,name=token_document_url,json=tokenDocumentUrl,proto3" json:"token_document_url,omitempty"` TokenDocumentHash []byte `protobuf:"bytes,4,opt,name=token_document_hash,json=tokenDocumentHash,proto3" json:"token_document_hash,omitempty"` Decimals uint32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` MintBatonHash []byte `protobuf:"bytes,6,opt,name=mint_baton_hash,json=mintBatonHash,proto3" json:"mint_baton_hash,omitempty"` MintBatonVout uint32 `protobuf:"varint,7,opt,name=mint_baton_vout,json=mintBatonVout,proto3" json:"mint_baton_vout,omitempty"` // contains filtered or unexported fields }
V1Fungible is used to marshal metadata specific to Type 1 token IDs
func (*SlpTokenMetadata_V1Fungible) Descriptor
deprecated
func (*SlpTokenMetadata_V1Fungible) Descriptor() ([]byte, []int)
Deprecated: Use SlpTokenMetadata_V1Fungible.ProtoReflect.Descriptor instead.
func (*SlpTokenMetadata_V1Fungible) GetDecimals ¶
func (x *SlpTokenMetadata_V1Fungible) GetDecimals() uint32
func (*SlpTokenMetadata_V1Fungible) GetMintBatonHash ¶
func (x *SlpTokenMetadata_V1Fungible) GetMintBatonHash() []byte
func (*SlpTokenMetadata_V1Fungible) GetMintBatonVout ¶
func (x *SlpTokenMetadata_V1Fungible) GetMintBatonVout() uint32
func (*SlpTokenMetadata_V1Fungible) GetTokenDocumentHash ¶
func (x *SlpTokenMetadata_V1Fungible) GetTokenDocumentHash() []byte
func (*SlpTokenMetadata_V1Fungible) GetTokenDocumentUrl ¶
func (x *SlpTokenMetadata_V1Fungible) GetTokenDocumentUrl() string
func (*SlpTokenMetadata_V1Fungible) GetTokenName ¶
func (x *SlpTokenMetadata_V1Fungible) GetTokenName() string
func (*SlpTokenMetadata_V1Fungible) GetTokenTicker ¶
func (x *SlpTokenMetadata_V1Fungible) GetTokenTicker() string
func (*SlpTokenMetadata_V1Fungible) ProtoMessage ¶
func (*SlpTokenMetadata_V1Fungible) ProtoMessage()
func (*SlpTokenMetadata_V1Fungible) ProtoReflect ¶
func (x *SlpTokenMetadata_V1Fungible) ProtoReflect() protoreflect.Message
func (*SlpTokenMetadata_V1Fungible) Reset ¶
func (x *SlpTokenMetadata_V1Fungible) Reset()
func (*SlpTokenMetadata_V1Fungible) String ¶
func (x *SlpTokenMetadata_V1Fungible) String() string
type SlpTokenMetadata_V1Fungible_ ¶
type SlpTokenMetadata_V1Fungible_ struct {
V1Fungible *SlpTokenMetadata_V1Fungible `protobuf:"bytes,3,opt,name=v1_fungible,json=v1Fungible,proto3,oneof"`
}
type SlpTokenMetadata_V1NFT1Child ¶
type SlpTokenMetadata_V1NFT1Child struct { TokenTicker string `protobuf:"bytes,1,opt,name=token_ticker,json=tokenTicker,proto3" json:"token_ticker,omitempty"` TokenName string `protobuf:"bytes,2,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"` TokenDocumentUrl string `protobuf:"bytes,3,opt,name=token_document_url,json=tokenDocumentUrl,proto3" json:"token_document_url,omitempty"` TokenDocumentHash []byte `protobuf:"bytes,4,opt,name=token_document_hash,json=tokenDocumentHash,proto3" json:"token_document_hash,omitempty"` GroupId []byte `protobuf:"bytes,5,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
V1NFT1Child is used to marshal metadata specific to NFT1 Child token IDs
func (*SlpTokenMetadata_V1NFT1Child) Descriptor
deprecated
func (*SlpTokenMetadata_V1NFT1Child) Descriptor() ([]byte, []int)
Deprecated: Use SlpTokenMetadata_V1NFT1Child.ProtoReflect.Descriptor instead.
func (*SlpTokenMetadata_V1NFT1Child) GetGroupId ¶
func (x *SlpTokenMetadata_V1NFT1Child) GetGroupId() []byte
func (*SlpTokenMetadata_V1NFT1Child) GetTokenDocumentHash ¶
func (x *SlpTokenMetadata_V1NFT1Child) GetTokenDocumentHash() []byte
func (*SlpTokenMetadata_V1NFT1Child) GetTokenDocumentUrl ¶
func (x *SlpTokenMetadata_V1NFT1Child) GetTokenDocumentUrl() string
func (*SlpTokenMetadata_V1NFT1Child) GetTokenName ¶
func (x *SlpTokenMetadata_V1NFT1Child) GetTokenName() string
func (*SlpTokenMetadata_V1NFT1Child) GetTokenTicker ¶
func (x *SlpTokenMetadata_V1NFT1Child) GetTokenTicker() string
func (*SlpTokenMetadata_V1NFT1Child) ProtoMessage ¶
func (*SlpTokenMetadata_V1NFT1Child) ProtoMessage()
func (*SlpTokenMetadata_V1NFT1Child) ProtoReflect ¶
func (x *SlpTokenMetadata_V1NFT1Child) ProtoReflect() protoreflect.Message
func (*SlpTokenMetadata_V1NFT1Child) Reset ¶
func (x *SlpTokenMetadata_V1NFT1Child) Reset()
func (*SlpTokenMetadata_V1NFT1Child) String ¶
func (x *SlpTokenMetadata_V1NFT1Child) String() string
type SlpTokenMetadata_V1NFT1Group ¶
type SlpTokenMetadata_V1NFT1Group struct { TokenTicker string `protobuf:"bytes,1,opt,name=token_ticker,json=tokenTicker,proto3" json:"token_ticker,omitempty"` TokenName string `protobuf:"bytes,2,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"` TokenDocumentUrl string `protobuf:"bytes,3,opt,name=token_document_url,json=tokenDocumentUrl,proto3" json:"token_document_url,omitempty"` TokenDocumentHash []byte `protobuf:"bytes,4,opt,name=token_document_hash,json=tokenDocumentHash,proto3" json:"token_document_hash,omitempty"` Decimals uint32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` MintBatonHash []byte `protobuf:"bytes,6,opt,name=mint_baton_hash,json=mintBatonHash,proto3" json:"mint_baton_hash,omitempty"` MintBatonVout uint32 `protobuf:"varint,7,opt,name=mint_baton_vout,json=mintBatonVout,proto3" json:"mint_baton_vout,omitempty"` // contains filtered or unexported fields }
V1NFT1Group is used to marshal metadata specific to NFT1 Group token IDs
func (*SlpTokenMetadata_V1NFT1Group) Descriptor
deprecated
func (*SlpTokenMetadata_V1NFT1Group) Descriptor() ([]byte, []int)
Deprecated: Use SlpTokenMetadata_V1NFT1Group.ProtoReflect.Descriptor instead.
func (*SlpTokenMetadata_V1NFT1Group) GetDecimals ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetDecimals() uint32
func (*SlpTokenMetadata_V1NFT1Group) GetMintBatonHash ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetMintBatonHash() []byte
func (*SlpTokenMetadata_V1NFT1Group) GetMintBatonVout ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetMintBatonVout() uint32
func (*SlpTokenMetadata_V1NFT1Group) GetTokenDocumentHash ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetTokenDocumentHash() []byte
func (*SlpTokenMetadata_V1NFT1Group) GetTokenDocumentUrl ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetTokenDocumentUrl() string
func (*SlpTokenMetadata_V1NFT1Group) GetTokenName ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetTokenName() string
func (*SlpTokenMetadata_V1NFT1Group) GetTokenTicker ¶
func (x *SlpTokenMetadata_V1NFT1Group) GetTokenTicker() string
func (*SlpTokenMetadata_V1NFT1Group) ProtoMessage ¶
func (*SlpTokenMetadata_V1NFT1Group) ProtoMessage()
func (*SlpTokenMetadata_V1NFT1Group) ProtoReflect ¶
func (x *SlpTokenMetadata_V1NFT1Group) ProtoReflect() protoreflect.Message
func (*SlpTokenMetadata_V1NFT1Group) Reset ¶
func (x *SlpTokenMetadata_V1NFT1Group) Reset()
func (*SlpTokenMetadata_V1NFT1Group) String ¶
func (x *SlpTokenMetadata_V1NFT1Group) String() string
type SlpTokenMetadata_V1Nft1Child ¶
type SlpTokenMetadata_V1Nft1Child struct {
V1Nft1Child *SlpTokenMetadata_V1NFT1Child `protobuf:"bytes,5,opt,name=v1_nft1_child,json=v1Nft1Child,proto3,oneof"`
}
type SlpTokenMetadata_V1Nft1Group ¶
type SlpTokenMetadata_V1Nft1Group struct {
V1Nft1Group *SlpTokenMetadata_V1NFT1Group `protobuf:"bytes,4,opt,name=v1_nft1_group,json=v1Nft1Group,proto3,oneof"`
}
type SlpTokenType ¶
type SlpTokenType int32
const ( SlpTokenType_VERSION_NOT_SET SlpTokenType = 0 SlpTokenType_V1_FUNGIBLE SlpTokenType = 1 SlpTokenType_V1_NFT1_CHILD SlpTokenType = 65 SlpTokenType_V1_NFT1_GROUP SlpTokenType = 129 )
func (SlpTokenType) Descriptor ¶
func (SlpTokenType) Descriptor() protoreflect.EnumDescriptor
func (SlpTokenType) Enum ¶
func (x SlpTokenType) Enum() *SlpTokenType
func (SlpTokenType) EnumDescriptor
deprecated
func (SlpTokenType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SlpTokenType.Descriptor instead.
func (SlpTokenType) Number ¶
func (x SlpTokenType) Number() protoreflect.EnumNumber
func (SlpTokenType) String ¶
func (x SlpTokenType) String() string
func (SlpTokenType) Type ¶
func (SlpTokenType) Type() protoreflect.EnumType
type SlpTransactionInfo ¶
type SlpTransactionInfo struct { SlpAction SlpAction `protobuf:"varint,1,opt,name=slp_action,json=slpAction,proto3,enum=pb.SlpAction" json:"slp_action,omitempty"` ValidityJudgement SlpTransactionInfo_ValidityJudgement `` /* 158-byte string literal not displayed */ ParseError string `protobuf:"bytes,3,opt,name=parse_error,json=parseError,proto3" json:"parse_error,omitempty"` TokenId []byte `protobuf:"bytes,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` BurnFlags []SlpTransactionInfo_BurnFlags `` /* 133-byte string literal not displayed */ // Types that are assignable to TxMetadata: // *SlpTransactionInfo_V1Genesis // *SlpTransactionInfo_V1Mint // *SlpTransactionInfo_V1Send // *SlpTransactionInfo_V1Nft1ChildGenesis // *SlpTransactionInfo_V1Nft1ChildSend TxMetadata isSlpTransactionInfo_TxMetadata `protobuf_oneof:"tx_metadata"` // contains filtered or unexported fields }
SlpTransactionInfo is used inside the Transaction message type.
func (*SlpTransactionInfo) Descriptor
deprecated
func (*SlpTransactionInfo) Descriptor() ([]byte, []int)
Deprecated: Use SlpTransactionInfo.ProtoReflect.Descriptor instead.
func (*SlpTransactionInfo) GetBurnFlags ¶
func (x *SlpTransactionInfo) GetBurnFlags() []SlpTransactionInfo_BurnFlags
func (*SlpTransactionInfo) GetParseError ¶
func (x *SlpTransactionInfo) GetParseError() string
func (*SlpTransactionInfo) GetSlpAction ¶
func (x *SlpTransactionInfo) GetSlpAction() SlpAction
func (*SlpTransactionInfo) GetTokenId ¶
func (x *SlpTransactionInfo) GetTokenId() []byte
func (*SlpTransactionInfo) GetTxMetadata ¶
func (m *SlpTransactionInfo) GetTxMetadata() isSlpTransactionInfo_TxMetadata
func (*SlpTransactionInfo) GetV1Genesis ¶
func (x *SlpTransactionInfo) GetV1Genesis() *SlpV1GenesisMetadata
func (*SlpTransactionInfo) GetV1Mint ¶
func (x *SlpTransactionInfo) GetV1Mint() *SlpV1MintMetadata
func (*SlpTransactionInfo) GetV1Nft1ChildGenesis ¶
func (x *SlpTransactionInfo) GetV1Nft1ChildGenesis() *SlpV1Nft1ChildGenesisMetadata
func (*SlpTransactionInfo) GetV1Nft1ChildSend ¶
func (x *SlpTransactionInfo) GetV1Nft1ChildSend() *SlpV1Nft1ChildSendMetadata
func (*SlpTransactionInfo) GetV1Send ¶
func (x *SlpTransactionInfo) GetV1Send() *SlpV1SendMetadata
func (*SlpTransactionInfo) GetValidityJudgement ¶
func (x *SlpTransactionInfo) GetValidityJudgement() SlpTransactionInfo_ValidityJudgement
func (*SlpTransactionInfo) ProtoMessage ¶
func (*SlpTransactionInfo) ProtoMessage()
func (*SlpTransactionInfo) ProtoReflect ¶
func (x *SlpTransactionInfo) ProtoReflect() protoreflect.Message
func (*SlpTransactionInfo) Reset ¶
func (x *SlpTransactionInfo) Reset()
func (*SlpTransactionInfo) String ¶
func (x *SlpTransactionInfo) String() string
type SlpTransactionInfo_BurnFlags ¶
type SlpTransactionInfo_BurnFlags int32
const ( SlpTransactionInfo_BURNED_INPUTS_OUTPUTS_TOO_HIGH SlpTransactionInfo_BurnFlags = 0 SlpTransactionInfo_BURNED_INPUTS_BAD_OPRETURN SlpTransactionInfo_BurnFlags = 1 SlpTransactionInfo_BURNED_INPUTS_OTHER_TOKEN SlpTransactionInfo_BurnFlags = 2 SlpTransactionInfo_BURNED_OUTPUTS_MISSING_BCH_VOUT SlpTransactionInfo_BurnFlags = 3 SlpTransactionInfo_BURNED_INPUTS_GREATER_THAN_OUTPUTS SlpTransactionInfo_BurnFlags = 4 )
func (SlpTransactionInfo_BurnFlags) Descriptor ¶
func (SlpTransactionInfo_BurnFlags) Descriptor() protoreflect.EnumDescriptor
func (SlpTransactionInfo_BurnFlags) Enum ¶
func (x SlpTransactionInfo_BurnFlags) Enum() *SlpTransactionInfo_BurnFlags
func (SlpTransactionInfo_BurnFlags) EnumDescriptor
deprecated
func (SlpTransactionInfo_BurnFlags) EnumDescriptor() ([]byte, []int)
Deprecated: Use SlpTransactionInfo_BurnFlags.Descriptor instead.
func (SlpTransactionInfo_BurnFlags) Number ¶
func (x SlpTransactionInfo_BurnFlags) Number() protoreflect.EnumNumber
func (SlpTransactionInfo_BurnFlags) String ¶
func (x SlpTransactionInfo_BurnFlags) String() string
func (SlpTransactionInfo_BurnFlags) Type ¶
func (SlpTransactionInfo_BurnFlags) Type() protoreflect.EnumType
type SlpTransactionInfo_V1Genesis ¶
type SlpTransactionInfo_V1Genesis struct {
V1Genesis *SlpV1GenesisMetadata `protobuf:"bytes,6,opt,name=v1_genesis,json=v1Genesis,proto3,oneof"` // NFT1 Group also uses this
}
type SlpTransactionInfo_V1Mint ¶
type SlpTransactionInfo_V1Mint struct {
V1Mint *SlpV1MintMetadata `protobuf:"bytes,7,opt,name=v1_mint,json=v1Mint,proto3,oneof"` // NFT1 Group also uses this
}
type SlpTransactionInfo_V1Nft1ChildGenesis ¶
type SlpTransactionInfo_V1Nft1ChildGenesis struct {
V1Nft1ChildGenesis *SlpV1Nft1ChildGenesisMetadata `protobuf:"bytes,9,opt,name=v1_nft1_child_genesis,json=v1Nft1ChildGenesis,proto3,oneof"`
}
type SlpTransactionInfo_V1Nft1ChildSend ¶
type SlpTransactionInfo_V1Nft1ChildSend struct {
V1Nft1ChildSend *SlpV1Nft1ChildSendMetadata `protobuf:"bytes,10,opt,name=v1_nft1_child_send,json=v1Nft1ChildSend,proto3,oneof"`
}
type SlpTransactionInfo_V1Send ¶
type SlpTransactionInfo_V1Send struct {
V1Send *SlpV1SendMetadata `protobuf:"bytes,8,opt,name=v1_send,json=v1Send,proto3,oneof"` // NFT1 Group also uses this
}
type SlpTransactionInfo_ValidityJudgement ¶
type SlpTransactionInfo_ValidityJudgement int32
const ( SlpTransactionInfo_UNKNOWN_OR_INVALID SlpTransactionInfo_ValidityJudgement = 0 SlpTransactionInfo_VALID SlpTransactionInfo_ValidityJudgement = 1 )
func (SlpTransactionInfo_ValidityJudgement) Descriptor ¶
func (SlpTransactionInfo_ValidityJudgement) Descriptor() protoreflect.EnumDescriptor
func (SlpTransactionInfo_ValidityJudgement) Enum ¶
func (x SlpTransactionInfo_ValidityJudgement) Enum() *SlpTransactionInfo_ValidityJudgement
func (SlpTransactionInfo_ValidityJudgement) EnumDescriptor
deprecated
func (SlpTransactionInfo_ValidityJudgement) EnumDescriptor() ([]byte, []int)
Deprecated: Use SlpTransactionInfo_ValidityJudgement.Descriptor instead.
func (SlpTransactionInfo_ValidityJudgement) Number ¶
func (x SlpTransactionInfo_ValidityJudgement) Number() protoreflect.EnumNumber
func (SlpTransactionInfo_ValidityJudgement) String ¶
func (x SlpTransactionInfo_ValidityJudgement) String() string
func (SlpTransactionInfo_ValidityJudgement) Type ¶
func (SlpTransactionInfo_ValidityJudgement) Type() protoreflect.EnumType
type SlpV1GenesisMetadata ¶
type SlpV1GenesisMetadata struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ticker []byte `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"` DocumentUrl []byte `protobuf:"bytes,3,opt,name=document_url,json=documentUrl,proto3" json:"document_url,omitempty"` DocumentHash []byte `protobuf:"bytes,4,opt,name=document_hash,json=documentHash,proto3" json:"document_hash,omitempty"` Decimals uint32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` MintBatonVout uint32 `protobuf:"varint,6,opt,name=mint_baton_vout,json=mintBatonVout,proto3" json:"mint_baton_vout,omitempty"` MintAmount uint64 `protobuf:"varint,7,opt,name=mint_amount,json=mintAmount,proto3" json:"mint_amount,omitempty"` // contains filtered or unexported fields }
SlpV1GenesisMetadata is used to marshal type 1 and NFT1 Group GENESIS OP_RETURN scriptPubKey
func (*SlpV1GenesisMetadata) Descriptor
deprecated
func (*SlpV1GenesisMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SlpV1GenesisMetadata.ProtoReflect.Descriptor instead.
func (*SlpV1GenesisMetadata) GetDecimals ¶
func (x *SlpV1GenesisMetadata) GetDecimals() uint32
func (*SlpV1GenesisMetadata) GetDocumentHash ¶
func (x *SlpV1GenesisMetadata) GetDocumentHash() []byte
func (*SlpV1GenesisMetadata) GetDocumentUrl ¶
func (x *SlpV1GenesisMetadata) GetDocumentUrl() []byte
func (*SlpV1GenesisMetadata) GetMintAmount ¶
func (x *SlpV1GenesisMetadata) GetMintAmount() uint64
func (*SlpV1GenesisMetadata) GetMintBatonVout ¶
func (x *SlpV1GenesisMetadata) GetMintBatonVout() uint32
func (*SlpV1GenesisMetadata) GetName ¶
func (x *SlpV1GenesisMetadata) GetName() []byte
func (*SlpV1GenesisMetadata) GetTicker ¶
func (x *SlpV1GenesisMetadata) GetTicker() []byte
func (*SlpV1GenesisMetadata) ProtoMessage ¶
func (*SlpV1GenesisMetadata) ProtoMessage()
func (*SlpV1GenesisMetadata) ProtoReflect ¶
func (x *SlpV1GenesisMetadata) ProtoReflect() protoreflect.Message
func (*SlpV1GenesisMetadata) Reset ¶
func (x *SlpV1GenesisMetadata) Reset()
func (*SlpV1GenesisMetadata) String ¶
func (x *SlpV1GenesisMetadata) String() string
type SlpV1MintMetadata ¶
type SlpV1MintMetadata struct { MintBatonVout uint32 `protobuf:"varint,1,opt,name=mint_baton_vout,json=mintBatonVout,proto3" json:"mint_baton_vout,omitempty"` MintAmount uint64 `protobuf:"varint,2,opt,name=mint_amount,json=mintAmount,proto3" json:"mint_amount,omitempty"` // contains filtered or unexported fields }
SlpV1MintMetadata is used to marshal type 1 MINT OP_RETURN scriptPubKey
func (*SlpV1MintMetadata) Descriptor
deprecated
func (*SlpV1MintMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SlpV1MintMetadata.ProtoReflect.Descriptor instead.
func (*SlpV1MintMetadata) GetMintAmount ¶
func (x *SlpV1MintMetadata) GetMintAmount() uint64
func (*SlpV1MintMetadata) GetMintBatonVout ¶
func (x *SlpV1MintMetadata) GetMintBatonVout() uint32
func (*SlpV1MintMetadata) ProtoMessage ¶
func (*SlpV1MintMetadata) ProtoMessage()
func (*SlpV1MintMetadata) ProtoReflect ¶
func (x *SlpV1MintMetadata) ProtoReflect() protoreflect.Message
func (*SlpV1MintMetadata) Reset ¶
func (x *SlpV1MintMetadata) Reset()
func (*SlpV1MintMetadata) String ¶
func (x *SlpV1MintMetadata) String() string
type SlpV1Nft1ChildGenesisMetadata ¶
type SlpV1Nft1ChildGenesisMetadata struct { Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ticker []byte `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"` DocumentUrl []byte `protobuf:"bytes,3,opt,name=document_url,json=documentUrl,proto3" json:"document_url,omitempty"` DocumentHash []byte `protobuf:"bytes,4,opt,name=document_hash,json=documentHash,proto3" json:"document_hash,omitempty"` Decimals uint32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"` GroupTokenId []byte `protobuf:"bytes,6,opt,name=group_token_id,json=groupTokenId,proto3" json:"group_token_id,omitempty"` // contains filtered or unexported fields }
SlpV1Nft1ChildGenesisMetadata is used to marshal NFT1 Child GENESIS OP_RETURN scriptPubKey
func (*SlpV1Nft1ChildGenesisMetadata) Descriptor
deprecated
func (*SlpV1Nft1ChildGenesisMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SlpV1Nft1ChildGenesisMetadata.ProtoReflect.Descriptor instead.
func (*SlpV1Nft1ChildGenesisMetadata) GetDecimals ¶
func (x *SlpV1Nft1ChildGenesisMetadata) GetDecimals() uint32
func (*SlpV1Nft1ChildGenesisMetadata) GetDocumentHash ¶
func (x *SlpV1Nft1ChildGenesisMetadata) GetDocumentHash() []byte
func (*SlpV1Nft1ChildGenesisMetadata) GetDocumentUrl ¶
func (x *SlpV1Nft1ChildGenesisMetadata) GetDocumentUrl() []byte
func (*SlpV1Nft1ChildGenesisMetadata) GetGroupTokenId ¶
func (x *SlpV1Nft1ChildGenesisMetadata) GetGroupTokenId() []byte
func (*SlpV1Nft1ChildGenesisMetadata) GetName ¶
func (x *SlpV1Nft1ChildGenesisMetadata) GetName() []byte
func (*SlpV1Nft1ChildGenesisMetadata) GetTicker ¶
func (x *SlpV1Nft1ChildGenesisMetadata) GetTicker() []byte
func (*SlpV1Nft1ChildGenesisMetadata) ProtoMessage ¶
func (*SlpV1Nft1ChildGenesisMetadata) ProtoMessage()
func (*SlpV1Nft1ChildGenesisMetadata) ProtoReflect ¶
func (x *SlpV1Nft1ChildGenesisMetadata) ProtoReflect() protoreflect.Message
func (*SlpV1Nft1ChildGenesisMetadata) Reset ¶
func (x *SlpV1Nft1ChildGenesisMetadata) Reset()
func (*SlpV1Nft1ChildGenesisMetadata) String ¶
func (x *SlpV1Nft1ChildGenesisMetadata) String() string
type SlpV1Nft1ChildSendMetadata ¶
type SlpV1Nft1ChildSendMetadata struct { GroupTokenId []byte `protobuf:"bytes,1,opt,name=group_token_id,json=groupTokenId,proto3" json:"group_token_id,omitempty"` // contains filtered or unexported fields }
SlpV1Nft1ChildSendMetadata is used to marshal NFT1 Child SEND OP_RETURN scriptPubKey
func (*SlpV1Nft1ChildSendMetadata) Descriptor
deprecated
func (*SlpV1Nft1ChildSendMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SlpV1Nft1ChildSendMetadata.ProtoReflect.Descriptor instead.
func (*SlpV1Nft1ChildSendMetadata) GetGroupTokenId ¶
func (x *SlpV1Nft1ChildSendMetadata) GetGroupTokenId() []byte
func (*SlpV1Nft1ChildSendMetadata) ProtoMessage ¶
func (*SlpV1Nft1ChildSendMetadata) ProtoMessage()
func (*SlpV1Nft1ChildSendMetadata) ProtoReflect ¶
func (x *SlpV1Nft1ChildSendMetadata) ProtoReflect() protoreflect.Message
func (*SlpV1Nft1ChildSendMetadata) Reset ¶
func (x *SlpV1Nft1ChildSendMetadata) Reset()
func (*SlpV1Nft1ChildSendMetadata) String ¶
func (x *SlpV1Nft1ChildSendMetadata) String() string
type SlpV1SendMetadata ¶
type SlpV1SendMetadata struct { Amounts []uint64 `protobuf:"varint,1,rep,packed,name=amounts,proto3" json:"amounts,omitempty"` // contains filtered or unexported fields }
SlpV1SendMetadata is used to marshal type 1 and NFT1 Group SEND OP_RETURN scriptPubKey
func (*SlpV1SendMetadata) Descriptor
deprecated
func (*SlpV1SendMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SlpV1SendMetadata.ProtoReflect.Descriptor instead.
func (*SlpV1SendMetadata) GetAmounts ¶
func (x *SlpV1SendMetadata) GetAmounts() []uint64
func (*SlpV1SendMetadata) ProtoMessage ¶
func (*SlpV1SendMetadata) ProtoMessage()
func (*SlpV1SendMetadata) ProtoReflect ¶
func (x *SlpV1SendMetadata) ProtoReflect() protoreflect.Message
func (*SlpV1SendMetadata) Reset ¶
func (x *SlpV1SendMetadata) Reset()
func (*SlpV1SendMetadata) String ¶
func (x *SlpV1SendMetadata) String() string
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct { // The encoded transaction. Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` SkipSlpValidityCheck bool `` /* 126-byte string literal not displayed */ RequiredSlpBurns []*SlpRequiredBurn `protobuf:"bytes,3,rep,name=required_slp_burns,json=requiredSlpBurns,proto3" json:"required_slp_burns,omitempty"` // contains filtered or unexported fields }
func (*SubmitTransactionRequest) Descriptor
deprecated
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead.
func (*SubmitTransactionRequest) GetRequiredSlpBurns ¶
func (x *SubmitTransactionRequest) GetRequiredSlpBurns() []*SlpRequiredBurn
func (*SubmitTransactionRequest) GetSkipSlpValidityCheck ¶
func (x *SubmitTransactionRequest) GetSkipSlpValidityCheck() bool
func (*SubmitTransactionRequest) GetTransaction ¶
func (x *SubmitTransactionRequest) GetTransaction() []byte
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) ProtoReflect ¶
func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
func (*SubmitTransactionRequest) Reset ¶
func (x *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (x *SubmitTransactionRequest) String() string
type SubmitTransactionResponse ¶
type SubmitTransactionResponse struct { // Transaction hash, little-endian. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*SubmitTransactionResponse) Descriptor
deprecated
func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead.
func (*SubmitTransactionResponse) GetHash ¶
func (x *SubmitTransactionResponse) GetHash() []byte
func (*SubmitTransactionResponse) ProtoMessage ¶
func (*SubmitTransactionResponse) ProtoMessage()
func (*SubmitTransactionResponse) ProtoReflect ¶
func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
func (*SubmitTransactionResponse) Reset ¶
func (x *SubmitTransactionResponse) Reset()
func (*SubmitTransactionResponse) String ¶
func (x *SubmitTransactionResponse) String() string
type SubscribeBlocksRequest ¶
type SubscribeBlocksRequest struct { // When full_block is true, a complete marshaled block is sent. See `Block`. // Default is false, block metadata is sent. See `BlockInfo`. FullBlock bool `protobuf:"varint,1,opt,name=full_block,json=fullBlock,proto3" json:"full_block,omitempty"` // When full_transactions is true, provide full transaction info // for a marshaled block. // Default is false, only the transaction hashes are included for // a marshaled block. See `TransactionData`. FullTransactions bool `protobuf:"varint,2,opt,name=full_transactions,json=fullTransactions,proto3" json:"full_transactions,omitempty"` // When serialize_block is true, blocks are serialized using bitcoin protocol encoding. // Default is false, block will be Marshaled (see `BlockInfo` and `BlockNotification`) SerializeBlock bool `protobuf:"varint,3,opt,name=serialize_block,json=serializeBlock,proto3" json:"serialize_block,omitempty"` // contains filtered or unexported fields }
Options to define data structure to be sent by SubscribeBlock stream:
BlockInfo (block metadata): `BlockInfo`
SubscribeBlocksRequest {}
Marshaled Block (with transaction hashes): `Block`
SubscribeBlocksRequest { full_block = true }
Marshaled Block (with full transaction data): `Block`
SubscribeBlocksRequest { full_block = true full_transactions = true }
Serialized Block acccording to bitcoin protocol encoding: `bytes`
SubscribeBlocksRequest { serialize_block = true }
func (*SubscribeBlocksRequest) Descriptor
deprecated
func (*SubscribeBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeBlocksRequest.ProtoReflect.Descriptor instead.
func (*SubscribeBlocksRequest) GetFullBlock ¶
func (x *SubscribeBlocksRequest) GetFullBlock() bool
func (*SubscribeBlocksRequest) GetFullTransactions ¶
func (x *SubscribeBlocksRequest) GetFullTransactions() bool
func (*SubscribeBlocksRequest) GetSerializeBlock ¶
func (x *SubscribeBlocksRequest) GetSerializeBlock() bool
func (*SubscribeBlocksRequest) ProtoMessage ¶
func (*SubscribeBlocksRequest) ProtoMessage()
func (*SubscribeBlocksRequest) ProtoReflect ¶
func (x *SubscribeBlocksRequest) ProtoReflect() protoreflect.Message
func (*SubscribeBlocksRequest) Reset ¶
func (x *SubscribeBlocksRequest) Reset()
func (*SubscribeBlocksRequest) String ¶
func (x *SubscribeBlocksRequest) String() string
type SubscribeTransactionsRequest ¶
type SubscribeTransactionsRequest struct { // Subscribe to a filter. add items to a filter Subscribe *TransactionFilter `protobuf:"bytes,1,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // Unsubscribe to a filter, remove items from a filter Unsubscribe *TransactionFilter `protobuf:"bytes,2,opt,name=unsubscribe,proto3" json:"unsubscribe,omitempty"` // When include_mempool is true, new unconfirmed transactions from mempool are // included apart from the ones confirmed in a block. IncludeMempool bool `protobuf:"varint,3,opt,name=include_mempool,json=includeMempool,proto3" json:"include_mempool,omitempty"` // When include_in_block is true, transactions are included when they are confirmed. // This notification is sent in addition to any requested mempool notifications. IncludeInBlock bool `protobuf:"varint,4,opt,name=include_in_block,json=includeInBlock,proto3" json:"include_in_block,omitempty"` // When serialize_tx is true, transactions are serialized using // bitcoin protocol encoding. Default is false, transaction will be Marshaled // (see `Transaction`, `MempoolTransaction` and `TransactionNotification`) SerializeTx bool `protobuf:"varint,5,opt,name=serialize_tx,json=serializeTx,proto3" json:"serialize_tx,omitempty"` // contains filtered or unexported fields }
Request to subscribe or unsubscribe from a stream of transactions.
func (*SubscribeTransactionsRequest) Descriptor
deprecated
func (*SubscribeTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTransactionsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTransactionsRequest) GetIncludeInBlock ¶
func (x *SubscribeTransactionsRequest) GetIncludeInBlock() bool
func (*SubscribeTransactionsRequest) GetIncludeMempool ¶
func (x *SubscribeTransactionsRequest) GetIncludeMempool() bool
func (*SubscribeTransactionsRequest) GetSerializeTx ¶
func (x *SubscribeTransactionsRequest) GetSerializeTx() bool
func (*SubscribeTransactionsRequest) GetSubscribe ¶
func (x *SubscribeTransactionsRequest) GetSubscribe() *TransactionFilter
func (*SubscribeTransactionsRequest) GetUnsubscribe ¶
func (x *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter
func (*SubscribeTransactionsRequest) ProtoMessage ¶
func (*SubscribeTransactionsRequest) ProtoMessage()
func (*SubscribeTransactionsRequest) ProtoReflect ¶
func (x *SubscribeTransactionsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTransactionsRequest) Reset ¶
func (x *SubscribeTransactionsRequest) Reset()
func (*SubscribeTransactionsRequest) String ¶
func (x *SubscribeTransactionsRequest) String() string
type Transaction ¶
type Transaction struct { // The double sha256 hash of the encoded transaction, little-endian. // sha256(sha256(encoded_transaction)) Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The version of the transaction format. Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // List of inputs. Inputs []*Transaction_Input `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` // List of outputs. Outputs []*Transaction_Output `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs,omitempty"` // The block height or timestamp after which this transaction is allowed. // If value is greater than 500 million, it is assumed to be an epoch timestamp, // otherwise it is treated as a block-height. Default is zero, or lock. LockTime uint32 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"` // The size of the transaction in bytes. Size int32 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` // When the transaction was included in a block, in epoch time. Timestamp int64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Number of blocks including proof of the transaction, including // the block it appeared. Confirmations int32 `protobuf:"varint,10,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // Number of the block containing the transaction. BlockHeight int32 `protobuf:"varint,11,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Hash of the block the transaction was recorded in, little-endian. BlockHash []byte `protobuf:"bytes,12,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` SlpTransactionInfo *SlpTransactionInfo `protobuf:"bytes,13,opt,name=slp_transaction_info,json=slpTransactionInfo,proto3" json:"slp_transaction_info,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetBlockHash ¶
func (x *Transaction) GetBlockHash() []byte
func (*Transaction) GetBlockHeight ¶
func (x *Transaction) GetBlockHeight() int32
func (*Transaction) GetConfirmations ¶
func (x *Transaction) GetConfirmations() int32
func (*Transaction) GetHash ¶
func (x *Transaction) GetHash() []byte
func (*Transaction) GetInputs ¶
func (x *Transaction) GetInputs() []*Transaction_Input
func (*Transaction) GetLockTime ¶
func (x *Transaction) GetLockTime() uint32
func (*Transaction) GetOutputs ¶
func (x *Transaction) GetOutputs() []*Transaction_Output
func (*Transaction) GetSize ¶
func (x *Transaction) GetSize() int32
func (*Transaction) GetSlpTransactionInfo ¶
func (x *Transaction) GetSlpTransactionInfo() *SlpTransactionInfo
func (*Transaction) GetTimestamp ¶
func (x *Transaction) GetTimestamp() int64
func (*Transaction) GetVersion ¶
func (x *Transaction) GetVersion() int32
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionFilter ¶
type TransactionFilter struct { // Filter by address(es) Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // Filter by output hash and index. Outpoints []*Transaction_Input_Outpoint `protobuf:"bytes,2,rep,name=outpoints,proto3" json:"outpoints,omitempty"` // Filter by data elements contained in pubkey scripts. DataElements [][]byte `protobuf:"bytes,3,rep,name=data_elements,json=dataElements,proto3" json:"data_elements,omitempty"` // Subscribed/Unsubscribe to everything. Other filters // will be ignored. AllTransactions bool `protobuf:"varint,4,opt,name=all_transactions,json=allTransactions,proto3" json:"all_transactions,omitempty"` // Subscribed/Unsubscribe to everything slp. Other filters // will be ignored, except this filter will be overriden by all_transactions=true AllSlpTransactions bool `protobuf:"varint,5,opt,name=all_slp_transactions,json=allSlpTransactions,proto3" json:"all_slp_transactions,omitempty"` // only transactions associated with the included tokenIds SlpTokenIds [][]byte `protobuf:"bytes,6,rep,name=slp_token_ids,json=slpTokenIds,proto3" json:"slp_token_ids,omitempty"` // contains filtered or unexported fields }
func (*TransactionFilter) Descriptor
deprecated
func (*TransactionFilter) Descriptor() ([]byte, []int)
Deprecated: Use TransactionFilter.ProtoReflect.Descriptor instead.
func (*TransactionFilter) GetAddresses ¶
func (x *TransactionFilter) GetAddresses() []string
func (*TransactionFilter) GetAllSlpTransactions ¶
func (x *TransactionFilter) GetAllSlpTransactions() bool
func (*TransactionFilter) GetAllTransactions ¶
func (x *TransactionFilter) GetAllTransactions() bool
func (*TransactionFilter) GetDataElements ¶
func (x *TransactionFilter) GetDataElements() [][]byte
func (*TransactionFilter) GetOutpoints ¶
func (x *TransactionFilter) GetOutpoints() []*Transaction_Input_Outpoint
func (*TransactionFilter) GetSlpTokenIds ¶
func (x *TransactionFilter) GetSlpTokenIds() [][]byte
func (*TransactionFilter) ProtoMessage ¶
func (*TransactionFilter) ProtoMessage()
func (*TransactionFilter) ProtoReflect ¶
func (x *TransactionFilter) ProtoReflect() protoreflect.Message
func (*TransactionFilter) Reset ¶
func (x *TransactionFilter) Reset()
func (*TransactionFilter) String ¶
func (x *TransactionFilter) String() string
type TransactionNotification ¶
type TransactionNotification struct { // Whether or not the transaction has been included in a block. Type TransactionNotification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=pb.TransactionNotification_Type" json:"type,omitempty"` // Types that are assignable to Transaction: // *TransactionNotification_ConfirmedTransaction // *TransactionNotification_UnconfirmedTransaction // *TransactionNotification_SerializedTransaction Transaction isTransactionNotification_Transaction `protobuf_oneof:"transaction"` // contains filtered or unexported fields }
func (*TransactionNotification) Descriptor
deprecated
func (*TransactionNotification) Descriptor() ([]byte, []int)
Deprecated: Use TransactionNotification.ProtoReflect.Descriptor instead.
func (*TransactionNotification) GetConfirmedTransaction ¶
func (x *TransactionNotification) GetConfirmedTransaction() *Transaction
func (*TransactionNotification) GetSerializedTransaction ¶
func (x *TransactionNotification) GetSerializedTransaction() []byte
func (*TransactionNotification) GetTransaction ¶
func (m *TransactionNotification) GetTransaction() isTransactionNotification_Transaction
func (*TransactionNotification) GetType ¶
func (x *TransactionNotification) GetType() TransactionNotification_Type
func (*TransactionNotification) GetUnconfirmedTransaction ¶
func (x *TransactionNotification) GetUnconfirmedTransaction() *MempoolTransaction
func (*TransactionNotification) ProtoMessage ¶
func (*TransactionNotification) ProtoMessage()
func (*TransactionNotification) ProtoReflect ¶
func (x *TransactionNotification) ProtoReflect() protoreflect.Message
func (*TransactionNotification) Reset ¶
func (x *TransactionNotification) Reset()
func (*TransactionNotification) String ¶
func (x *TransactionNotification) String() string
type TransactionNotification_ConfirmedTransaction ¶
type TransactionNotification_ConfirmedTransaction struct { // A transaction included in a block. ConfirmedTransaction *Transaction `protobuf:"bytes,2,opt,name=confirmed_transaction,json=confirmedTransaction,proto3,oneof"` }
type TransactionNotification_SerializedTransaction ¶
type TransactionNotification_SerializedTransaction struct { // Binary transaction, serialized using bitcoin protocol encoding. SerializedTransaction []byte `protobuf:"bytes,4,opt,name=serialized_transaction,json=serializedTransaction,proto3,oneof"` }
type TransactionNotification_Type ¶
type TransactionNotification_Type int32
State of the transaction acceptance.
const ( // A transaction in mempool. TransactionNotification_UNCONFIRMED TransactionNotification_Type = 0 // A transaction in a block. TransactionNotification_CONFIRMED TransactionNotification_Type = 1 )
func (TransactionNotification_Type) Descriptor ¶
func (TransactionNotification_Type) Descriptor() protoreflect.EnumDescriptor
func (TransactionNotification_Type) Enum ¶
func (x TransactionNotification_Type) Enum() *TransactionNotification_Type
func (TransactionNotification_Type) EnumDescriptor
deprecated
func (TransactionNotification_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionNotification_Type.Descriptor instead.
func (TransactionNotification_Type) Number ¶
func (x TransactionNotification_Type) Number() protoreflect.EnumNumber
func (TransactionNotification_Type) String ¶
func (x TransactionNotification_Type) String() string
func (TransactionNotification_Type) Type ¶
func (TransactionNotification_Type) Type() protoreflect.EnumType
type TransactionNotification_UnconfirmedTransaction ¶
type TransactionNotification_UnconfirmedTransaction struct { // A transaction in mempool. UnconfirmedTransaction *MempoolTransaction `protobuf:"bytes,3,opt,name=unconfirmed_transaction,json=unconfirmedTransaction,proto3,oneof"` }
type Transaction_Input ¶
type Transaction_Input struct { // The number of the input, starting from zero. Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // The related outpoint. Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // An unlocking script asserting a transaction is permitted to spend // the Outpoint (UTXO) SignatureScript []byte `protobuf:"bytes,3,opt,name=signature_script,json=signatureScript,proto3" json:"signature_script,omitempty"` // As of BIP-68, the sequence number is interpreted as a relative // lock-time for the input. Sequence uint32 `protobuf:"varint,4,opt,name=sequence,proto3" json:"sequence,omitempty"` // Amount in satoshi. Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` // The pubkey_script of the previous output that is being spent. PreviousScript []byte `protobuf:"bytes,6,opt,name=previous_script,json=previousScript,proto3" json:"previous_script,omitempty"` // The bitcoin addresses associated with this input. Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` SlpToken *SlpToken `protobuf:"bytes,8,opt,name=slp_token,json=slpToken,proto3" json:"slp_token,omitempty"` // contains filtered or unexported fields }
func (*Transaction_Input) Descriptor
deprecated
func (*Transaction_Input) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Input.ProtoReflect.Descriptor instead.
func (*Transaction_Input) GetAddress ¶
func (x *Transaction_Input) GetAddress() string
func (*Transaction_Input) GetIndex ¶
func (x *Transaction_Input) GetIndex() uint32
func (*Transaction_Input) GetOutpoint ¶
func (x *Transaction_Input) GetOutpoint() *Transaction_Input_Outpoint
func (*Transaction_Input) GetPreviousScript ¶
func (x *Transaction_Input) GetPreviousScript() []byte
func (*Transaction_Input) GetSequence ¶
func (x *Transaction_Input) GetSequence() uint32
func (*Transaction_Input) GetSignatureScript ¶
func (x *Transaction_Input) GetSignatureScript() []byte
func (*Transaction_Input) GetSlpToken ¶
func (x *Transaction_Input) GetSlpToken() *SlpToken
func (*Transaction_Input) GetValue ¶
func (x *Transaction_Input) GetValue() int64
func (*Transaction_Input) ProtoMessage ¶
func (*Transaction_Input) ProtoMessage()
func (*Transaction_Input) ProtoReflect ¶
func (x *Transaction_Input) ProtoReflect() protoreflect.Message
func (*Transaction_Input) Reset ¶
func (x *Transaction_Input) Reset()
func (*Transaction_Input) String ¶
func (x *Transaction_Input) String() string
type Transaction_Input_Outpoint ¶
type Transaction_Input_Outpoint struct { // The hash of the transaction containing the output to be spent, little-endian Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The index of specific output on the transaction. Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*Transaction_Input_Outpoint) Descriptor
deprecated
func (*Transaction_Input_Outpoint) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Input_Outpoint.ProtoReflect.Descriptor instead.
func (*Transaction_Input_Outpoint) GetHash ¶
func (x *Transaction_Input_Outpoint) GetHash() []byte
func (*Transaction_Input_Outpoint) GetIndex ¶
func (x *Transaction_Input_Outpoint) GetIndex() uint32
func (*Transaction_Input_Outpoint) ProtoMessage ¶
func (*Transaction_Input_Outpoint) ProtoMessage()
func (*Transaction_Input_Outpoint) ProtoReflect ¶
func (x *Transaction_Input_Outpoint) ProtoReflect() protoreflect.Message
func (*Transaction_Input_Outpoint) Reset ¶
func (x *Transaction_Input_Outpoint) Reset()
func (*Transaction_Input_Outpoint) String ¶
func (x *Transaction_Input_Outpoint) String() string
type Transaction_Output ¶
type Transaction_Output struct { // The number of the output, starting from zero. Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // The number of satoshis to be transferred. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // The public key script used to pay coins. PubkeyScript []byte `protobuf:"bytes,3,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"` // The bitcoin addresses associated with this output. Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // The type of script. ScriptClass string `protobuf:"bytes,5,opt,name=script_class,json=scriptClass,proto3" json:"script_class,omitempty"` // The script expressed in Bitcoin Cash Script. DisassembledScript string `protobuf:"bytes,6,opt,name=disassembled_script,json=disassembledScript,proto3" json:"disassembled_script,omitempty"` SlpToken *SlpToken `protobuf:"bytes,7,opt,name=slp_token,json=slpToken,proto3" json:"slp_token,omitempty"` // contains filtered or unexported fields }
func (*Transaction_Output) Descriptor
deprecated
func (*Transaction_Output) Descriptor() ([]byte, []int)
Deprecated: Use Transaction_Output.ProtoReflect.Descriptor instead.
func (*Transaction_Output) GetAddress ¶
func (x *Transaction_Output) GetAddress() string
func (*Transaction_Output) GetDisassembledScript ¶
func (x *Transaction_Output) GetDisassembledScript() string
func (*Transaction_Output) GetIndex ¶
func (x *Transaction_Output) GetIndex() uint32
func (*Transaction_Output) GetPubkeyScript ¶
func (x *Transaction_Output) GetPubkeyScript() []byte
func (*Transaction_Output) GetScriptClass ¶
func (x *Transaction_Output) GetScriptClass() string
func (*Transaction_Output) GetSlpToken ¶
func (x *Transaction_Output) GetSlpToken() *SlpToken
func (*Transaction_Output) GetValue ¶
func (x *Transaction_Output) GetValue() int64
func (*Transaction_Output) ProtoMessage ¶
func (*Transaction_Output) ProtoMessage()
func (*Transaction_Output) ProtoReflect ¶
func (x *Transaction_Output) ProtoReflect() protoreflect.Message
func (*Transaction_Output) Reset ¶
func (x *Transaction_Output) Reset()
func (*Transaction_Output) String ¶
func (x *Transaction_Output) String() string
type UnimplementedBchrpcServer ¶
type UnimplementedBchrpcServer struct { }
UnimplementedBchrpcServer can be embedded to have forward compatible implementations.
func (*UnimplementedBchrpcServer) CheckSlpTransaction ¶
func (*UnimplementedBchrpcServer) CheckSlpTransaction(context.Context, *CheckSlpTransactionRequest) (*CheckSlpTransactionResponse, error)
func (*UnimplementedBchrpcServer) GetAddressTransactions ¶
func (*UnimplementedBchrpcServer) GetAddressTransactions(context.Context, *GetAddressTransactionsRequest) (*GetAddressTransactionsResponse, error)
func (*UnimplementedBchrpcServer) GetAddressUnspentOutputs ¶
func (*UnimplementedBchrpcServer) GetAddressUnspentOutputs(context.Context, *GetAddressUnspentOutputsRequest) (*GetAddressUnspentOutputsResponse, error)
func (*UnimplementedBchrpcServer) GetBlock ¶
func (*UnimplementedBchrpcServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
func (*UnimplementedBchrpcServer) GetBlockFilter ¶
func (*UnimplementedBchrpcServer) GetBlockFilter(context.Context, *GetBlockFilterRequest) (*GetBlockFilterResponse, error)
func (*UnimplementedBchrpcServer) GetBlockInfo ¶
func (*UnimplementedBchrpcServer) GetBlockInfo(context.Context, *GetBlockInfoRequest) (*GetBlockInfoResponse, error)
func (*UnimplementedBchrpcServer) GetBlockchainInfo ¶
func (*UnimplementedBchrpcServer) GetBlockchainInfo(context.Context, *GetBlockchainInfoRequest) (*GetBlockchainInfoResponse, error)
func (*UnimplementedBchrpcServer) GetHeaders ¶
func (*UnimplementedBchrpcServer) GetHeaders(context.Context, *GetHeadersRequest) (*GetHeadersResponse, error)
func (*UnimplementedBchrpcServer) GetMempool ¶
func (*UnimplementedBchrpcServer) GetMempool(context.Context, *GetMempoolRequest) (*GetMempoolResponse, error)
func (*UnimplementedBchrpcServer) GetMempoolInfo ¶
func (*UnimplementedBchrpcServer) GetMempoolInfo(context.Context, *GetMempoolInfoRequest) (*GetMempoolInfoResponse, error)
func (*UnimplementedBchrpcServer) GetMerkleProof ¶
func (*UnimplementedBchrpcServer) GetMerkleProof(context.Context, *GetMerkleProofRequest) (*GetMerkleProofResponse, error)
func (*UnimplementedBchrpcServer) GetRawAddressTransactions ¶
func (*UnimplementedBchrpcServer) GetRawAddressTransactions(context.Context, *GetRawAddressTransactionsRequest) (*GetRawAddressTransactionsResponse, error)
func (*UnimplementedBchrpcServer) GetRawBlock ¶
func (*UnimplementedBchrpcServer) GetRawBlock(context.Context, *GetRawBlockRequest) (*GetRawBlockResponse, error)
func (*UnimplementedBchrpcServer) GetRawTransaction ¶
func (*UnimplementedBchrpcServer) GetRawTransaction(context.Context, *GetRawTransactionRequest) (*GetRawTransactionResponse, error)
func (*UnimplementedBchrpcServer) GetSlpGraphSearch ¶
func (*UnimplementedBchrpcServer) GetSlpGraphSearch(context.Context, *GetSlpGraphSearchRequest) (*GetSlpGraphSearchResponse, error)
func (*UnimplementedBchrpcServer) GetSlpParsedScript ¶
func (*UnimplementedBchrpcServer) GetSlpParsedScript(context.Context, *GetSlpParsedScriptRequest) (*GetSlpParsedScriptResponse, error)
func (*UnimplementedBchrpcServer) GetSlpTokenMetadata ¶
func (*UnimplementedBchrpcServer) GetSlpTokenMetadata(context.Context, *GetSlpTokenMetadataRequest) (*GetSlpTokenMetadataResponse, error)
func (*UnimplementedBchrpcServer) GetSlpTrustedValidation ¶
func (*UnimplementedBchrpcServer) GetSlpTrustedValidation(context.Context, *GetSlpTrustedValidationRequest) (*GetSlpTrustedValidationResponse, error)
func (*UnimplementedBchrpcServer) GetTransaction ¶
func (*UnimplementedBchrpcServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
func (*UnimplementedBchrpcServer) GetUnspentOutput ¶
func (*UnimplementedBchrpcServer) GetUnspentOutput(context.Context, *GetUnspentOutputRequest) (*GetUnspentOutputResponse, error)
func (*UnimplementedBchrpcServer) SubmitTransaction ¶
func (*UnimplementedBchrpcServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
func (*UnimplementedBchrpcServer) SubscribeBlocks ¶
func (*UnimplementedBchrpcServer) SubscribeBlocks(*SubscribeBlocksRequest, Bchrpc_SubscribeBlocksServer) error
func (*UnimplementedBchrpcServer) SubscribeTransactionStream ¶
func (*UnimplementedBchrpcServer) SubscribeTransactionStream(Bchrpc_SubscribeTransactionStreamServer) error
func (*UnimplementedBchrpcServer) SubscribeTransactions ¶
func (*UnimplementedBchrpcServer) SubscribeTransactions(*SubscribeTransactionsRequest, Bchrpc_SubscribeTransactionsServer) error
type UnspentOutput ¶
type UnspentOutput struct { // A reference to the output given by transaction hash and index. Outpoint *Transaction_Input_Outpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The public key script used to pay coins. PubkeyScript []byte `protobuf:"bytes,2,opt,name=pubkey_script,json=pubkeyScript,proto3" json:"pubkey_script,omitempty"` // The amount in satoshis Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // When is_coinbase is true, the output is the first in the block, // a generation transaction, the result of mining. IsCoinbase bool `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"` // The block number containing the UXTO. BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` SlpToken *SlpToken `protobuf:"bytes,6,opt,name=slp_token,json=slpToken,proto3" json:"slp_token,omitempty"` // contains filtered or unexported fields }
func (*UnspentOutput) Descriptor
deprecated
func (*UnspentOutput) Descriptor() ([]byte, []int)
Deprecated: Use UnspentOutput.ProtoReflect.Descriptor instead.
func (*UnspentOutput) GetBlockHeight ¶
func (x *UnspentOutput) GetBlockHeight() int32
func (*UnspentOutput) GetIsCoinbase ¶
func (x *UnspentOutput) GetIsCoinbase() bool
func (*UnspentOutput) GetOutpoint ¶
func (x *UnspentOutput) GetOutpoint() *Transaction_Input_Outpoint
func (*UnspentOutput) GetPubkeyScript ¶
func (x *UnspentOutput) GetPubkeyScript() []byte
func (*UnspentOutput) GetSlpToken ¶
func (x *UnspentOutput) GetSlpToken() *SlpToken
func (*UnspentOutput) GetValue ¶
func (x *UnspentOutput) GetValue() int64
func (*UnspentOutput) ProtoMessage ¶
func (*UnspentOutput) ProtoMessage()
func (*UnspentOutput) ProtoReflect ¶
func (x *UnspentOutput) ProtoReflect() protoreflect.Message
func (*UnspentOutput) Reset ¶
func (x *UnspentOutput) Reset()
func (*UnspentOutput) String ¶
func (x *UnspentOutput) String() string