pb

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: ISC Imports: 16 Imported by: 3

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_bchrpc_proto protoreflect.FileDescriptor

Functions

func RegisterBchrpcHandler added in v0.18.0

func RegisterBchrpcHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterBchrpcHandler registers the http handlers for service Bchrpc to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterBchrpcHandlerClient added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetInfo

func (x *Block) GetInfo() *BlockInfo

func (*Block) GetTransactionData

func (x *Block) GetTransactionData() []*Block_TransactionData

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect added in v0.17.0

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BlockInfo.ProtoReflect.Descriptor instead.

func (*BlockInfo) GetBits

func (x *BlockInfo) GetBits() uint32

func (*BlockInfo) GetConfirmations

func (x *BlockInfo) GetConfirmations() int32

func (*BlockInfo) GetDifficulty

func (x *BlockInfo) GetDifficulty() float64

func (*BlockInfo) GetHash

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

func (*BlockInfo) GetHeight

func (x *BlockInfo) GetHeight() int32

func (*BlockInfo) GetMedianTime added in v0.14.7

func (x *BlockInfo) GetMedianTime() int64

func (*BlockInfo) GetMerkleRoot

func (x *BlockInfo) GetMerkleRoot() []byte

func (*BlockInfo) GetNextBlockHash

func (x *BlockInfo) GetNextBlockHash() []byte

func (*BlockInfo) GetNonce

func (x *BlockInfo) GetNonce() uint32

func (*BlockInfo) GetPreviousBlock

func (x *BlockInfo) GetPreviousBlock() []byte

func (*BlockInfo) GetSize

func (x *BlockInfo) GetSize() int32

func (*BlockInfo) GetTimestamp

func (x *BlockInfo) GetTimestamp() int64

func (*BlockInfo) GetVersion

func (x *BlockInfo) GetVersion() int32

func (*BlockInfo) ProtoMessage

func (*BlockInfo) ProtoMessage()

func (*BlockInfo) ProtoReflect added in v0.17.0

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

func (*BlockInfo) Reset

func (x *BlockInfo) Reset()

func (*BlockInfo) String

func (x *BlockInfo) String() string

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 added in v0.14.7

func (x *BlockNotification) GetBlockInfo() *BlockInfo

func (*BlockNotification) GetMarshaledBlock added in v0.14.7

func (x *BlockNotification) GetMarshaledBlock() *Block

func (*BlockNotification) GetSerializedBlock added in v0.14.7

func (x *BlockNotification) GetSerializedBlock() []byte

func (*BlockNotification) GetType

func (*BlockNotification) ProtoMessage

func (*BlockNotification) ProtoMessage()

func (*BlockNotification) ProtoReflect added in v0.17.0

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

func (*BlockNotification) Reset

func (x *BlockNotification) Reset()

func (*BlockNotification) String

func (x *BlockNotification) String() string

type BlockNotification_BlockInfo added in v0.14.7

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 added in v0.14.7

type BlockNotification_MarshaledBlock struct {
	// A Block.
	MarshaledBlock *Block `protobuf:"bytes,3,opt,name=marshaled_block,json=marshaledBlock,proto3,oneof"`
}

type BlockNotification_SerializedBlock added in v0.14.7

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 added in v0.17.0

func (BlockNotification_Type) Enum added in v0.17.0

func (BlockNotification_Type) EnumDescriptor deprecated

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

Deprecated: Use BlockNotification_Type.Descriptor instead.

func (BlockNotification_Type) Number added in v0.17.0

func (BlockNotification_Type) String

func (x BlockNotification_Type) String() string

func (BlockNotification_Type) Type added in v0.17.0

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 added in v0.17.0

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 added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use CheckSlpTransactionRequest.ProtoReflect.Descriptor instead.

func (*CheckSlpTransactionRequest) GetRequiredSlpBurns added in v0.18.0

func (x *CheckSlpTransactionRequest) GetRequiredSlpBurns() []*SlpRequiredBurn

func (*CheckSlpTransactionRequest) GetTransaction added in v0.18.0

func (x *CheckSlpTransactionRequest) GetTransaction() []byte

func (*CheckSlpTransactionRequest) GetUseSpecValidityJudgement added in v0.18.0

func (x *CheckSlpTransactionRequest) GetUseSpecValidityJudgement() bool

func (*CheckSlpTransactionRequest) ProtoMessage added in v0.18.0

func (*CheckSlpTransactionRequest) ProtoMessage()

func (*CheckSlpTransactionRequest) ProtoReflect added in v0.18.0

func (*CheckSlpTransactionRequest) Reset added in v0.18.0

func (x *CheckSlpTransactionRequest) Reset()

func (*CheckSlpTransactionRequest) String added in v0.18.0

func (x *CheckSlpTransactionRequest) String() string

type CheckSlpTransactionResponse added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use CheckSlpTransactionResponse.ProtoReflect.Descriptor instead.

func (*CheckSlpTransactionResponse) GetBestHeight added in v0.18.0

func (x *CheckSlpTransactionResponse) GetBestHeight() int32

func (*CheckSlpTransactionResponse) GetInvalidReason added in v0.18.0

func (x *CheckSlpTransactionResponse) GetInvalidReason() string

func (*CheckSlpTransactionResponse) GetIsValid added in v0.18.0

func (x *CheckSlpTransactionResponse) GetIsValid() bool

func (*CheckSlpTransactionResponse) ProtoMessage added in v0.18.0

func (*CheckSlpTransactionResponse) ProtoMessage()

func (*CheckSlpTransactionResponse) ProtoReflect added in v0.18.0

func (*CheckSlpTransactionResponse) Reset added in v0.18.0

func (x *CheckSlpTransactionResponse) Reset()

func (*CheckSlpTransactionResponse) String added in v0.18.0

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 added in v0.17.0

func (*GetAddressTransactionsRequest) Reset

func (x *GetAddressTransactionsRequest) Reset()

func (*GetAddressTransactionsRequest) 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 added in v0.17.0

func (*GetAddressTransactionsResponse) Reset

func (x *GetAddressTransactionsResponse) Reset()

func (*GetAddressTransactionsResponse) 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 added in v0.14.7

func (x *GetAddressUnspentOutputsRequest) GetIncludeMempool() bool

func (*GetAddressUnspentOutputsRequest) GetIncludeTokenMetadata added in v0.18.0

func (x *GetAddressUnspentOutputsRequest) GetIncludeTokenMetadata() bool

func (*GetAddressUnspentOutputsRequest) ProtoMessage

func (*GetAddressUnspentOutputsRequest) ProtoMessage()

func (*GetAddressUnspentOutputsRequest) ProtoReflect added in v0.17.0

func (*GetAddressUnspentOutputsRequest) Reset

func (*GetAddressUnspentOutputsRequest) 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 (*GetAddressUnspentOutputsResponse) GetTokenMetadata added in v0.18.0

func (x *GetAddressUnspentOutputsResponse) GetTokenMetadata() []*SlpTokenMetadata

func (*GetAddressUnspentOutputsResponse) ProtoMessage

func (*GetAddressUnspentOutputsResponse) ProtoMessage()

func (*GetAddressUnspentOutputsResponse) ProtoReflect added in v0.17.0

func (*GetAddressUnspentOutputsResponse) Reset

func (*GetAddressUnspentOutputsResponse) 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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 (*GetBlockchainInfoResponse) GetDifficulty

func (x *GetBlockchainInfoResponse) GetDifficulty() float64

func (*GetBlockchainInfoResponse) GetMedianTime

func (x *GetBlockchainInfoResponse) GetMedianTime() int64

func (*GetBlockchainInfoResponse) GetSlpGraphsearch added in v0.18.0

func (x *GetBlockchainInfoResponse) GetSlpGraphsearch() bool

func (*GetBlockchainInfoResponse) GetSlpIndex added in v0.18.0

func (x *GetBlockchainInfoResponse) GetSlpIndex() bool

func (*GetBlockchainInfoResponse) GetTxIndex

func (x *GetBlockchainInfoResponse) GetTxIndex() bool

func (*GetBlockchainInfoResponse) ProtoMessage

func (*GetBlockchainInfoResponse) ProtoMessage()

func (*GetBlockchainInfoResponse) ProtoReflect added in v0.17.0

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 added in v0.17.0

func (GetBlockchainInfoResponse_BitcoinNet) Enum added in v0.17.0

func (GetBlockchainInfoResponse_BitcoinNet) EnumDescriptor deprecated

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

Deprecated: Use GetBlockchainInfoResponse_BitcoinNet.Descriptor instead.

func (GetBlockchainInfoResponse_BitcoinNet) Number added in v0.17.0

func (GetBlockchainInfoResponse_BitcoinNet) String

func (GetBlockchainInfoResponse_BitcoinNet) Type added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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

func (*GetMempoolInfoResponse) Reset

func (x *GetMempoolInfoResponse) Reset()

func (*GetMempoolInfoResponse) String

func (x *GetMempoolInfoResponse) String() string

type GetMempoolRequest added in v0.14.7

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 added in v0.14.7

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

Deprecated: Use GetMempoolRequest.ProtoReflect.Descriptor instead.

func (*GetMempoolRequest) GetFullTransactions added in v0.14.7

func (x *GetMempoolRequest) GetFullTransactions() bool

func (*GetMempoolRequest) ProtoMessage added in v0.14.7

func (*GetMempoolRequest) ProtoMessage()

func (*GetMempoolRequest) ProtoReflect added in v0.17.0

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

func (*GetMempoolRequest) Reset added in v0.14.7

func (x *GetMempoolRequest) Reset()

func (*GetMempoolRequest) String added in v0.14.7

func (x *GetMempoolRequest) String() string

type GetMempoolResponse added in v0.14.7

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 added in v0.14.7

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

Deprecated: Use GetMempoolResponse.ProtoReflect.Descriptor instead.

func (*GetMempoolResponse) GetTransactionData added in v0.14.7

func (x *GetMempoolResponse) GetTransactionData() []*GetMempoolResponse_TransactionData

func (*GetMempoolResponse) ProtoMessage added in v0.14.7

func (*GetMempoolResponse) ProtoMessage()

func (*GetMempoolResponse) ProtoReflect added in v0.17.0

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

func (*GetMempoolResponse) Reset added in v0.14.7

func (x *GetMempoolResponse) Reset()

func (*GetMempoolResponse) String added in v0.14.7

func (x *GetMempoolResponse) String() string

type GetMempoolResponse_TransactionData added in v0.14.7

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 added in v0.14.7

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

Deprecated: Use GetMempoolResponse_TransactionData.ProtoReflect.Descriptor instead.

func (*GetMempoolResponse_TransactionData) GetTransaction added in v0.14.7

func (x *GetMempoolResponse_TransactionData) GetTransaction() *Transaction

func (*GetMempoolResponse_TransactionData) GetTransactionHash added in v0.14.7

func (x *GetMempoolResponse_TransactionData) GetTransactionHash() []byte

func (*GetMempoolResponse_TransactionData) GetTxidsOrTxs added in v0.14.7

func (m *GetMempoolResponse_TransactionData) GetTxidsOrTxs() isGetMempoolResponse_TransactionData_TxidsOrTxs

func (*GetMempoolResponse_TransactionData) ProtoMessage added in v0.14.7

func (*GetMempoolResponse_TransactionData) ProtoMessage()

func (*GetMempoolResponse_TransactionData) ProtoReflect added in v0.17.0

func (*GetMempoolResponse_TransactionData) Reset added in v0.14.7

func (*GetMempoolResponse_TransactionData) String added in v0.14.7

type GetMempoolResponse_TransactionData_Transaction added in v0.14.7

type GetMempoolResponse_TransactionData_Transaction struct {
	// The transaction data.
	Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3,oneof"`
}

type GetMempoolResponse_TransactionData_TransactionHash added in v0.14.7

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 added in v0.17.0

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 added in v0.17.0

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 (*GetRawAddressTransactionsRequest) GetStartBlock

func (m *GetRawAddressTransactionsRequest) GetStartBlock() isGetRawAddressTransactionsRequest_StartBlock

func (*GetRawAddressTransactionsRequest) ProtoMessage

func (*GetRawAddressTransactionsRequest) ProtoMessage()

func (*GetRawAddressTransactionsRequest) ProtoReflect added in v0.17.0

func (*GetRawAddressTransactionsRequest) Reset

func (*GetRawAddressTransactionsRequest) 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 added in v0.17.0

func (*GetRawAddressTransactionsResponse) Reset

func (*GetRawAddressTransactionsResponse) 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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.17.0

func (*GetRawTransactionResponse) Reset

func (x *GetRawTransactionResponse) Reset()

func (*GetRawTransactionResponse) String

func (x *GetRawTransactionResponse) String() string

type GetSlpGraphSearchRequest added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpGraphSearchRequest.ProtoReflect.Descriptor instead.

func (*GetSlpGraphSearchRequest) GetHash added in v0.18.0

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

func (*GetSlpGraphSearchRequest) GetValidHashes added in v0.18.0

func (x *GetSlpGraphSearchRequest) GetValidHashes() [][]byte

func (*GetSlpGraphSearchRequest) ProtoMessage added in v0.18.0

func (*GetSlpGraphSearchRequest) ProtoMessage()

func (*GetSlpGraphSearchRequest) ProtoReflect added in v0.18.0

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

func (*GetSlpGraphSearchRequest) Reset added in v0.18.0

func (x *GetSlpGraphSearchRequest) Reset()

func (*GetSlpGraphSearchRequest) String added in v0.18.0

func (x *GetSlpGraphSearchRequest) String() string

type GetSlpGraphSearchResponse added in v0.18.0

type GetSlpGraphSearchResponse struct {
	Txdata [][]byte `protobuf:"bytes,1,rep,name=txdata,proto3" json:"txdata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSlpGraphSearchResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetSlpGraphSearchResponse.ProtoReflect.Descriptor instead.

func (*GetSlpGraphSearchResponse) GetTxdata added in v0.18.0

func (x *GetSlpGraphSearchResponse) GetTxdata() [][]byte

func (*GetSlpGraphSearchResponse) ProtoMessage added in v0.18.0

func (*GetSlpGraphSearchResponse) ProtoMessage()

func (*GetSlpGraphSearchResponse) ProtoReflect added in v0.18.0

func (*GetSlpGraphSearchResponse) Reset added in v0.18.0

func (x *GetSlpGraphSearchResponse) Reset()

func (*GetSlpGraphSearchResponse) String added in v0.18.0

func (x *GetSlpGraphSearchResponse) String() string

type GetSlpParsedScriptRequest added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpParsedScriptRequest.ProtoReflect.Descriptor instead.

func (*GetSlpParsedScriptRequest) GetSlpOpreturnScript added in v0.18.0

func (x *GetSlpParsedScriptRequest) GetSlpOpreturnScript() []byte

func (*GetSlpParsedScriptRequest) ProtoMessage added in v0.18.0

func (*GetSlpParsedScriptRequest) ProtoMessage()

func (*GetSlpParsedScriptRequest) ProtoReflect added in v0.18.0

func (*GetSlpParsedScriptRequest) Reset added in v0.18.0

func (x *GetSlpParsedScriptRequest) Reset()

func (*GetSlpParsedScriptRequest) String added in v0.18.0

func (x *GetSlpParsedScriptRequest) String() string

type GetSlpParsedScriptResponse added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpParsedScriptResponse.ProtoReflect.Descriptor instead.

func (*GetSlpParsedScriptResponse) GetParsingError added in v0.18.0

func (x *GetSlpParsedScriptResponse) GetParsingError() string

func (*GetSlpParsedScriptResponse) GetSlpAction added in v0.18.0

func (x *GetSlpParsedScriptResponse) GetSlpAction() SlpAction

func (*GetSlpParsedScriptResponse) GetSlpMetadata added in v0.18.0

func (m *GetSlpParsedScriptResponse) GetSlpMetadata() isGetSlpParsedScriptResponse_SlpMetadata

func (*GetSlpParsedScriptResponse) GetTokenId added in v0.18.0

func (x *GetSlpParsedScriptResponse) GetTokenId() []byte

func (*GetSlpParsedScriptResponse) GetTokenType added in v0.18.0

func (x *GetSlpParsedScriptResponse) GetTokenType() SlpTokenType

func (*GetSlpParsedScriptResponse) GetV1Genesis added in v0.18.0

func (*GetSlpParsedScriptResponse) GetV1Mint added in v0.18.0

func (*GetSlpParsedScriptResponse) GetV1Nft1ChildGenesis added in v0.18.0

func (x *GetSlpParsedScriptResponse) GetV1Nft1ChildGenesis() *SlpV1Nft1ChildGenesisMetadata

func (*GetSlpParsedScriptResponse) GetV1Nft1ChildSend added in v0.18.0

func (x *GetSlpParsedScriptResponse) GetV1Nft1ChildSend() *SlpV1Nft1ChildSendMetadata

func (*GetSlpParsedScriptResponse) GetV1Send added in v0.18.0

func (*GetSlpParsedScriptResponse) ProtoMessage added in v0.18.0

func (*GetSlpParsedScriptResponse) ProtoMessage()

func (*GetSlpParsedScriptResponse) ProtoReflect added in v0.18.0

func (*GetSlpParsedScriptResponse) Reset added in v0.18.0

func (x *GetSlpParsedScriptResponse) Reset()

func (*GetSlpParsedScriptResponse) String added in v0.18.0

func (x *GetSlpParsedScriptResponse) String() string

type GetSlpParsedScriptResponse_V1Genesis added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

type GetSlpParsedScriptResponse_V1Nft1ChildGenesis struct {
	V1Nft1ChildGenesis *SlpV1Nft1ChildGenesisMetadata `protobuf:"bytes,8,opt,name=v1_nft1_child_genesis,json=v1Nft1ChildGenesis,proto3,oneof"`
}

type GetSlpParsedScriptResponse_V1Nft1ChildSend added in v0.18.0

type GetSlpParsedScriptResponse_V1Nft1ChildSend struct {
	V1Nft1ChildSend *SlpV1Nft1ChildSendMetadata `protobuf:"bytes,9,opt,name=v1_nft1_child_send,json=v1Nft1ChildSend,proto3,oneof"`
}

type GetSlpParsedScriptResponse_V1Send added in v0.18.0

type GetSlpParsedScriptResponse_V1Send struct {
	V1Send *SlpV1SendMetadata `protobuf:"bytes,7,opt,name=v1_send,json=v1Send,proto3,oneof"` // NFT1 Group also uses this
}

type GetSlpTokenMetadataRequest added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpTokenMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetSlpTokenMetadataRequest) GetTokenIds added in v0.18.0

func (x *GetSlpTokenMetadataRequest) GetTokenIds() [][]byte

func (*GetSlpTokenMetadataRequest) ProtoMessage added in v0.18.0

func (*GetSlpTokenMetadataRequest) ProtoMessage()

func (*GetSlpTokenMetadataRequest) ProtoReflect added in v0.18.0

func (*GetSlpTokenMetadataRequest) Reset added in v0.18.0

func (x *GetSlpTokenMetadataRequest) Reset()

func (*GetSlpTokenMetadataRequest) String added in v0.18.0

func (x *GetSlpTokenMetadataRequest) String() string

type GetSlpTokenMetadataResponse added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpTokenMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetSlpTokenMetadataResponse) GetTokenMetadata added in v0.18.0

func (x *GetSlpTokenMetadataResponse) GetTokenMetadata() []*SlpTokenMetadata

func (*GetSlpTokenMetadataResponse) ProtoMessage added in v0.18.0

func (*GetSlpTokenMetadataResponse) ProtoMessage()

func (*GetSlpTokenMetadataResponse) ProtoReflect added in v0.18.0

func (*GetSlpTokenMetadataResponse) Reset added in v0.18.0

func (x *GetSlpTokenMetadataResponse) Reset()

func (*GetSlpTokenMetadataResponse) String added in v0.18.0

func (x *GetSlpTokenMetadataResponse) String() string

type GetSlpTrustedValidationRequest added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpTrustedValidationRequest.ProtoReflect.Descriptor instead.

func (*GetSlpTrustedValidationRequest) GetIncludeGraphsearchCount added in v0.18.0

func (x *GetSlpTrustedValidationRequest) GetIncludeGraphsearchCount() bool

func (*GetSlpTrustedValidationRequest) GetQueries added in v0.18.0

func (*GetSlpTrustedValidationRequest) ProtoMessage added in v0.18.0

func (*GetSlpTrustedValidationRequest) ProtoMessage()

func (*GetSlpTrustedValidationRequest) ProtoReflect added in v0.18.0

func (*GetSlpTrustedValidationRequest) Reset added in v0.18.0

func (x *GetSlpTrustedValidationRequest) Reset()

func (*GetSlpTrustedValidationRequest) String added in v0.18.0

type GetSlpTrustedValidationRequest_Query added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpTrustedValidationRequest_Query.ProtoReflect.Descriptor instead.

func (*GetSlpTrustedValidationRequest_Query) GetGraphsearchValidHashes added in v0.18.0

func (x *GetSlpTrustedValidationRequest_Query) GetGraphsearchValidHashes() [][]byte

func (*GetSlpTrustedValidationRequest_Query) GetPrevOutHash added in v0.18.0

func (x *GetSlpTrustedValidationRequest_Query) GetPrevOutHash() []byte

func (*GetSlpTrustedValidationRequest_Query) GetPrevOutVout added in v0.18.0

func (x *GetSlpTrustedValidationRequest_Query) GetPrevOutVout() uint32

func (*GetSlpTrustedValidationRequest_Query) ProtoMessage added in v0.18.0

func (*GetSlpTrustedValidationRequest_Query) ProtoMessage()

func (*GetSlpTrustedValidationRequest_Query) ProtoReflect added in v0.18.0

func (*GetSlpTrustedValidationRequest_Query) Reset added in v0.18.0

func (*GetSlpTrustedValidationRequest_Query) String added in v0.18.0

type GetSlpTrustedValidationResponse added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use GetSlpTrustedValidationResponse.ProtoReflect.Descriptor instead.

func (*GetSlpTrustedValidationResponse) GetResults added in v0.18.0

func (*GetSlpTrustedValidationResponse) ProtoMessage added in v0.18.0

func (*GetSlpTrustedValidationResponse) ProtoMessage()

func (*GetSlpTrustedValidationResponse) ProtoReflect added in v0.18.0

func (*GetSlpTrustedValidationResponse) Reset added in v0.18.0

func (*GetSlpTrustedValidationResponse) String added in v0.18.0

type GetSlpTrustedValidationResponse_ValidityResult added in v0.18.0

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 added in v0.18.0

Deprecated: Use GetSlpTrustedValidationResponse_ValidityResult.ProtoReflect.Descriptor instead.

func (*GetSlpTrustedValidationResponse_ValidityResult) GetGraphsearchTxnCount added in v0.18.0

func (x *GetSlpTrustedValidationResponse_ValidityResult) GetGraphsearchTxnCount() uint32

func (*GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutHash added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetPrevOutVout added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetSlpAction added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetSlpTxnOpreturn added in v0.18.0

func (x *GetSlpTrustedValidationResponse_ValidityResult) GetSlpTxnOpreturn() []byte

func (*GetSlpTrustedValidationResponse_ValidityResult) GetTokenId added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetTokenType added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetV1MintBaton added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetV1TokenAmount added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) GetValidityResultType added in v0.18.0

func (m *GetSlpTrustedValidationResponse_ValidityResult) GetValidityResultType() isGetSlpTrustedValidationResponse_ValidityResult_ValidityResultType

func (*GetSlpTrustedValidationResponse_ValidityResult) ProtoMessage added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) ProtoReflect added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) Reset added in v0.18.0

func (*GetSlpTrustedValidationResponse_ValidityResult) String added in v0.18.0

type GetSlpTrustedValidationResponse_ValidityResult_V1MintBaton added in v0.18.0

type GetSlpTrustedValidationResponse_ValidityResult_V1MintBaton struct {
	V1MintBaton bool `protobuf:"varint,7,opt,name=v1_mint_baton,json=v1MintBaton,proto3,oneof"`
}

type GetSlpTrustedValidationResponse_ValidityResult_V1TokenAmount added in v0.18.0

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 added in v0.18.0

func (x *GetTransactionRequest) GetIncludeTokenMetadata() bool

func (*GetTransactionRequest) ProtoMessage

func (*GetTransactionRequest) ProtoMessage()

func (*GetTransactionRequest) ProtoReflect added in v0.17.0

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 added in v0.18.0

func (x *GetTransactionResponse) GetTokenMetadata() *SlpTokenMetadata

func (*GetTransactionResponse) GetTransaction

func (x *GetTransactionResponse) GetTransaction() *Transaction

func (*GetTransactionResponse) ProtoMessage

func (*GetTransactionResponse) ProtoMessage()

func (*GetTransactionResponse) ProtoReflect added in v0.17.0

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

func (*GetTransactionResponse) Reset

func (x *GetTransactionResponse) Reset()

func (*GetTransactionResponse) String

func (x *GetTransactionResponse) String() string

type GetUnspentOutputRequest added in v0.14.7

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 added in v0.14.7

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

Deprecated: Use GetUnspentOutputRequest.ProtoReflect.Descriptor instead.

func (*GetUnspentOutputRequest) GetHash added in v0.14.7

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

func (*GetUnspentOutputRequest) GetIncludeMempool added in v0.14.7

func (x *GetUnspentOutputRequest) GetIncludeMempool() bool

func (*GetUnspentOutputRequest) GetIncludeTokenMetadata added in v0.18.0

func (x *GetUnspentOutputRequest) GetIncludeTokenMetadata() bool

func (*GetUnspentOutputRequest) GetIndex added in v0.14.7

func (x *GetUnspentOutputRequest) GetIndex() uint32

func (*GetUnspentOutputRequest) ProtoMessage added in v0.14.7

func (*GetUnspentOutputRequest) ProtoMessage()

func (*GetUnspentOutputRequest) ProtoReflect added in v0.17.0

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

func (*GetUnspentOutputRequest) Reset added in v0.14.7

func (x *GetUnspentOutputRequest) Reset()

func (*GetUnspentOutputRequest) String added in v0.14.7

func (x *GetUnspentOutputRequest) String() string

type GetUnspentOutputResponse added in v0.14.7

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 added in v0.14.7

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

Deprecated: Use GetUnspentOutputResponse.ProtoReflect.Descriptor instead.

func (*GetUnspentOutputResponse) GetBlockHeight added in v0.14.7

func (x *GetUnspentOutputResponse) GetBlockHeight() int32

func (*GetUnspentOutputResponse) GetIsCoinbase added in v0.14.7

func (x *GetUnspentOutputResponse) GetIsCoinbase() bool

func (*GetUnspentOutputResponse) GetOutpoint added in v0.14.7

func (*GetUnspentOutputResponse) GetPubkeyScript added in v0.14.7

func (x *GetUnspentOutputResponse) GetPubkeyScript() []byte

func (*GetUnspentOutputResponse) GetSlpToken added in v0.18.0

func (x *GetUnspentOutputResponse) GetSlpToken() *SlpToken

func (*GetUnspentOutputResponse) GetTokenMetadata added in v0.18.0

func (x *GetUnspentOutputResponse) GetTokenMetadata() *SlpTokenMetadata

func (*GetUnspentOutputResponse) GetValue added in v0.14.7

func (x *GetUnspentOutputResponse) GetValue() int64

func (*GetUnspentOutputResponse) ProtoMessage added in v0.14.7

func (*GetUnspentOutputResponse) ProtoMessage()

func (*GetUnspentOutputResponse) ProtoReflect added in v0.17.0

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

func (*GetUnspentOutputResponse) Reset added in v0.14.7

func (x *GetUnspentOutputResponse) Reset()

func (*GetUnspentOutputResponse) String added in v0.14.7

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 added in v0.17.0

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

func (*MempoolTransaction) Reset

func (x *MempoolTransaction) Reset()

func (*MempoolTransaction) String

func (x *MempoolTransaction) String() string

type SlpAction added in v0.18.0

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 added in v0.18.0

func (SlpAction) Descriptor() protoreflect.EnumDescriptor

func (SlpAction) Enum added in v0.18.0

func (x SlpAction) Enum() *SlpAction

func (SlpAction) EnumDescriptor deprecated added in v0.18.0

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

Deprecated: Use SlpAction.Descriptor instead.

func (SlpAction) Number added in v0.18.0

func (x SlpAction) Number() protoreflect.EnumNumber

func (SlpAction) String added in v0.18.0

func (x SlpAction) String() string

func (SlpAction) Type added in v0.18.0

type SlpRequiredBurn added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpRequiredBurn.ProtoReflect.Descriptor instead.

func (*SlpRequiredBurn) GetAmount added in v0.18.0

func (x *SlpRequiredBurn) GetAmount() uint64

func (*SlpRequiredBurn) GetBurnIntention added in v0.18.0

func (m *SlpRequiredBurn) GetBurnIntention() isSlpRequiredBurn_BurnIntention

func (*SlpRequiredBurn) GetMintBatonVout added in v0.18.0

func (x *SlpRequiredBurn) GetMintBatonVout() uint32

func (*SlpRequiredBurn) GetOutpoint added in v0.18.0

func (x *SlpRequiredBurn) GetOutpoint() *Transaction_Input_Outpoint

func (*SlpRequiredBurn) GetTokenId added in v0.18.0

func (x *SlpRequiredBurn) GetTokenId() []byte

func (*SlpRequiredBurn) GetTokenType added in v0.18.0

func (x *SlpRequiredBurn) GetTokenType() SlpTokenType

func (*SlpRequiredBurn) ProtoMessage added in v0.18.0

func (*SlpRequiredBurn) ProtoMessage()

func (*SlpRequiredBurn) ProtoReflect added in v0.18.0

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

func (*SlpRequiredBurn) Reset added in v0.18.0

func (x *SlpRequiredBurn) Reset()

func (*SlpRequiredBurn) String added in v0.18.0

func (x *SlpRequiredBurn) String() string

type SlpRequiredBurn_Amount added in v0.18.0

type SlpRequiredBurn_Amount struct {
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3,oneof"`
}

type SlpRequiredBurn_MintBatonVout added in v0.18.0

type SlpRequiredBurn_MintBatonVout struct {
	MintBatonVout uint32 `protobuf:"varint,5,opt,name=mint_baton_vout,json=mintBatonVout,proto3,oneof"`
}

type SlpToken added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpToken.ProtoReflect.Descriptor instead.

func (*SlpToken) GetAddress added in v0.18.0

func (x *SlpToken) GetAddress() string

func (*SlpToken) GetAmount added in v0.18.0

func (x *SlpToken) GetAmount() uint64

func (*SlpToken) GetDecimals added in v0.18.0

func (x *SlpToken) GetDecimals() uint32

func (*SlpToken) GetIsMintBaton added in v0.18.0

func (x *SlpToken) GetIsMintBaton() bool

func (*SlpToken) GetSlpAction added in v0.18.0

func (x *SlpToken) GetSlpAction() SlpAction

func (*SlpToken) GetTokenId added in v0.18.0

func (x *SlpToken) GetTokenId() []byte

func (*SlpToken) GetTokenType added in v0.18.0

func (x *SlpToken) GetTokenType() SlpTokenType

func (*SlpToken) ProtoMessage added in v0.18.0

func (*SlpToken) ProtoMessage()

func (*SlpToken) ProtoReflect added in v0.18.0

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

func (*SlpToken) Reset added in v0.18.0

func (x *SlpToken) Reset()

func (*SlpToken) String added in v0.18.0

func (x *SlpToken) String() string

type SlpTokenMetadata added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpTokenMetadata.ProtoReflect.Descriptor instead.

func (*SlpTokenMetadata) GetTokenId added in v0.18.0

func (x *SlpTokenMetadata) GetTokenId() []byte

func (*SlpTokenMetadata) GetTokenType added in v0.18.0

func (x *SlpTokenMetadata) GetTokenType() SlpTokenType

func (*SlpTokenMetadata) GetTypeMetadata added in v0.18.0

func (m *SlpTokenMetadata) GetTypeMetadata() isSlpTokenMetadata_TypeMetadata

func (*SlpTokenMetadata) GetV1Fungible added in v0.18.0

func (x *SlpTokenMetadata) GetV1Fungible() *SlpTokenMetadata_V1Fungible

func (*SlpTokenMetadata) GetV1Nft1Child added in v0.18.0

func (x *SlpTokenMetadata) GetV1Nft1Child() *SlpTokenMetadata_V1NFT1Child

func (*SlpTokenMetadata) GetV1Nft1Group added in v0.18.0

func (x *SlpTokenMetadata) GetV1Nft1Group() *SlpTokenMetadata_V1NFT1Group

func (*SlpTokenMetadata) ProtoMessage added in v0.18.0

func (*SlpTokenMetadata) ProtoMessage()

func (*SlpTokenMetadata) ProtoReflect added in v0.18.0

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

func (*SlpTokenMetadata) Reset added in v0.18.0

func (x *SlpTokenMetadata) Reset()

func (*SlpTokenMetadata) String added in v0.18.0

func (x *SlpTokenMetadata) String() string

type SlpTokenMetadata_V1Fungible added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpTokenMetadata_V1Fungible.ProtoReflect.Descriptor instead.

func (*SlpTokenMetadata_V1Fungible) GetDecimals added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetDecimals() uint32

func (*SlpTokenMetadata_V1Fungible) GetMintBatonHash added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetMintBatonHash() []byte

func (*SlpTokenMetadata_V1Fungible) GetMintBatonVout added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetMintBatonVout() uint32

func (*SlpTokenMetadata_V1Fungible) GetTokenDocumentHash added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetTokenDocumentHash() []byte

func (*SlpTokenMetadata_V1Fungible) GetTokenDocumentUrl added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetTokenDocumentUrl() string

func (*SlpTokenMetadata_V1Fungible) GetTokenName added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetTokenName() string

func (*SlpTokenMetadata_V1Fungible) GetTokenTicker added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) GetTokenTicker() string

func (*SlpTokenMetadata_V1Fungible) ProtoMessage added in v0.18.0

func (*SlpTokenMetadata_V1Fungible) ProtoMessage()

func (*SlpTokenMetadata_V1Fungible) ProtoReflect added in v0.18.0

func (*SlpTokenMetadata_V1Fungible) Reset added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) Reset()

func (*SlpTokenMetadata_V1Fungible) String added in v0.18.0

func (x *SlpTokenMetadata_V1Fungible) String() string

type SlpTokenMetadata_V1Fungible_ added in v0.18.0

type SlpTokenMetadata_V1Fungible_ struct {
	V1Fungible *SlpTokenMetadata_V1Fungible `protobuf:"bytes,3,opt,name=v1_fungible,json=v1Fungible,proto3,oneof"`
}

type SlpTokenMetadata_V1NFT1Child added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpTokenMetadata_V1NFT1Child.ProtoReflect.Descriptor instead.

func (*SlpTokenMetadata_V1NFT1Child) GetGroupId added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Child) GetGroupId() []byte

func (*SlpTokenMetadata_V1NFT1Child) GetTokenDocumentHash added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Child) GetTokenDocumentHash() []byte

func (*SlpTokenMetadata_V1NFT1Child) GetTokenDocumentUrl added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Child) GetTokenDocumentUrl() string

func (*SlpTokenMetadata_V1NFT1Child) GetTokenName added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Child) GetTokenName() string

func (*SlpTokenMetadata_V1NFT1Child) GetTokenTicker added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Child) GetTokenTicker() string

func (*SlpTokenMetadata_V1NFT1Child) ProtoMessage added in v0.18.0

func (*SlpTokenMetadata_V1NFT1Child) ProtoMessage()

func (*SlpTokenMetadata_V1NFT1Child) ProtoReflect added in v0.18.0

func (*SlpTokenMetadata_V1NFT1Child) Reset added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Child) Reset()

func (*SlpTokenMetadata_V1NFT1Child) String added in v0.18.0

type SlpTokenMetadata_V1NFT1Group added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpTokenMetadata_V1NFT1Group.ProtoReflect.Descriptor instead.

func (*SlpTokenMetadata_V1NFT1Group) GetDecimals added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetDecimals() uint32

func (*SlpTokenMetadata_V1NFT1Group) GetMintBatonHash added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetMintBatonHash() []byte

func (*SlpTokenMetadata_V1NFT1Group) GetMintBatonVout added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetMintBatonVout() uint32

func (*SlpTokenMetadata_V1NFT1Group) GetTokenDocumentHash added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetTokenDocumentHash() []byte

func (*SlpTokenMetadata_V1NFT1Group) GetTokenDocumentUrl added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetTokenDocumentUrl() string

func (*SlpTokenMetadata_V1NFT1Group) GetTokenName added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetTokenName() string

func (*SlpTokenMetadata_V1NFT1Group) GetTokenTicker added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) GetTokenTicker() string

func (*SlpTokenMetadata_V1NFT1Group) ProtoMessage added in v0.18.0

func (*SlpTokenMetadata_V1NFT1Group) ProtoMessage()

func (*SlpTokenMetadata_V1NFT1Group) ProtoReflect added in v0.18.0

func (*SlpTokenMetadata_V1NFT1Group) Reset added in v0.18.0

func (x *SlpTokenMetadata_V1NFT1Group) Reset()

func (*SlpTokenMetadata_V1NFT1Group) String added in v0.18.0

type SlpTokenMetadata_V1Nft1Child added in v0.18.0

type SlpTokenMetadata_V1Nft1Child struct {
	V1Nft1Child *SlpTokenMetadata_V1NFT1Child `protobuf:"bytes,5,opt,name=v1_nft1_child,json=v1Nft1Child,proto3,oneof"`
}

type SlpTokenMetadata_V1Nft1Group added in v0.18.0

type SlpTokenMetadata_V1Nft1Group struct {
	V1Nft1Group *SlpTokenMetadata_V1NFT1Group `protobuf:"bytes,4,opt,name=v1_nft1_group,json=v1Nft1Group,proto3,oneof"`
}

type SlpTokenType added in v0.18.0

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 added in v0.18.0

func (SlpTokenType) Enum added in v0.18.0

func (x SlpTokenType) Enum() *SlpTokenType

func (SlpTokenType) EnumDescriptor deprecated added in v0.18.0

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

Deprecated: Use SlpTokenType.Descriptor instead.

func (SlpTokenType) Number added in v0.18.0

func (SlpTokenType) String added in v0.18.0

func (x SlpTokenType) String() string

func (SlpTokenType) Type added in v0.18.0

type SlpTransactionInfo added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpTransactionInfo.ProtoReflect.Descriptor instead.

func (*SlpTransactionInfo) GetBurnFlags added in v0.18.0

func (*SlpTransactionInfo) GetParseError added in v0.18.0

func (x *SlpTransactionInfo) GetParseError() string

func (*SlpTransactionInfo) GetSlpAction added in v0.18.0

func (x *SlpTransactionInfo) GetSlpAction() SlpAction

func (*SlpTransactionInfo) GetTokenId added in v0.18.0

func (x *SlpTransactionInfo) GetTokenId() []byte

func (*SlpTransactionInfo) GetTxMetadata added in v0.18.0

func (m *SlpTransactionInfo) GetTxMetadata() isSlpTransactionInfo_TxMetadata

func (*SlpTransactionInfo) GetV1Genesis added in v0.18.0

func (x *SlpTransactionInfo) GetV1Genesis() *SlpV1GenesisMetadata

func (*SlpTransactionInfo) GetV1Mint added in v0.18.0

func (x *SlpTransactionInfo) GetV1Mint() *SlpV1MintMetadata

func (*SlpTransactionInfo) GetV1Nft1ChildGenesis added in v0.18.0

func (x *SlpTransactionInfo) GetV1Nft1ChildGenesis() *SlpV1Nft1ChildGenesisMetadata

func (*SlpTransactionInfo) GetV1Nft1ChildSend added in v0.18.0

func (x *SlpTransactionInfo) GetV1Nft1ChildSend() *SlpV1Nft1ChildSendMetadata

func (*SlpTransactionInfo) GetV1Send added in v0.18.0

func (x *SlpTransactionInfo) GetV1Send() *SlpV1SendMetadata

func (*SlpTransactionInfo) GetValidityJudgement added in v0.18.0

func (x *SlpTransactionInfo) GetValidityJudgement() SlpTransactionInfo_ValidityJudgement

func (*SlpTransactionInfo) ProtoMessage added in v0.18.0

func (*SlpTransactionInfo) ProtoMessage()

func (*SlpTransactionInfo) ProtoReflect added in v0.18.0

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

func (*SlpTransactionInfo) Reset added in v0.18.0

func (x *SlpTransactionInfo) Reset()

func (*SlpTransactionInfo) String added in v0.18.0

func (x *SlpTransactionInfo) String() string

type SlpTransactionInfo_BurnFlags added in v0.18.0

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 added in v0.18.0

func (SlpTransactionInfo_BurnFlags) Enum added in v0.18.0

func (SlpTransactionInfo_BurnFlags) EnumDescriptor deprecated added in v0.18.0

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

Deprecated: Use SlpTransactionInfo_BurnFlags.Descriptor instead.

func (SlpTransactionInfo_BurnFlags) Number added in v0.18.0

func (SlpTransactionInfo_BurnFlags) String added in v0.18.0

func (SlpTransactionInfo_BurnFlags) Type added in v0.18.0

type SlpTransactionInfo_V1Genesis added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

type SlpTransactionInfo_V1Nft1ChildGenesis struct {
	V1Nft1ChildGenesis *SlpV1Nft1ChildGenesisMetadata `protobuf:"bytes,9,opt,name=v1_nft1_child_genesis,json=v1Nft1ChildGenesis,proto3,oneof"`
}

type SlpTransactionInfo_V1Nft1ChildSend added in v0.18.0

type SlpTransactionInfo_V1Nft1ChildSend struct {
	V1Nft1ChildSend *SlpV1Nft1ChildSendMetadata `protobuf:"bytes,10,opt,name=v1_nft1_child_send,json=v1Nft1ChildSend,proto3,oneof"`
}

type SlpTransactionInfo_V1Send added in v0.18.0

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 added in v0.18.0

type SlpTransactionInfo_ValidityJudgement int32
const (
	SlpTransactionInfo_UNKNOWN_OR_INVALID SlpTransactionInfo_ValidityJudgement = 0
	SlpTransactionInfo_VALID              SlpTransactionInfo_ValidityJudgement = 1
)

func (SlpTransactionInfo_ValidityJudgement) Descriptor added in v0.18.0

func (SlpTransactionInfo_ValidityJudgement) Enum added in v0.18.0

func (SlpTransactionInfo_ValidityJudgement) EnumDescriptor deprecated added in v0.18.0

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

Deprecated: Use SlpTransactionInfo_ValidityJudgement.Descriptor instead.

func (SlpTransactionInfo_ValidityJudgement) Number added in v0.18.0

func (SlpTransactionInfo_ValidityJudgement) String added in v0.18.0

func (SlpTransactionInfo_ValidityJudgement) Type added in v0.18.0

type SlpV1GenesisMetadata added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpV1GenesisMetadata.ProtoReflect.Descriptor instead.

func (*SlpV1GenesisMetadata) GetDecimals added in v0.18.0

func (x *SlpV1GenesisMetadata) GetDecimals() uint32

func (*SlpV1GenesisMetadata) GetDocumentHash added in v0.18.0

func (x *SlpV1GenesisMetadata) GetDocumentHash() []byte

func (*SlpV1GenesisMetadata) GetDocumentUrl added in v0.18.0

func (x *SlpV1GenesisMetadata) GetDocumentUrl() []byte

func (*SlpV1GenesisMetadata) GetMintAmount added in v0.18.0

func (x *SlpV1GenesisMetadata) GetMintAmount() uint64

func (*SlpV1GenesisMetadata) GetMintBatonVout added in v0.18.0

func (x *SlpV1GenesisMetadata) GetMintBatonVout() uint32

func (*SlpV1GenesisMetadata) GetName added in v0.18.0

func (x *SlpV1GenesisMetadata) GetName() []byte

func (*SlpV1GenesisMetadata) GetTicker added in v0.18.0

func (x *SlpV1GenesisMetadata) GetTicker() []byte

func (*SlpV1GenesisMetadata) ProtoMessage added in v0.18.0

func (*SlpV1GenesisMetadata) ProtoMessage()

func (*SlpV1GenesisMetadata) ProtoReflect added in v0.18.0

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

func (*SlpV1GenesisMetadata) Reset added in v0.18.0

func (x *SlpV1GenesisMetadata) Reset()

func (*SlpV1GenesisMetadata) String added in v0.18.0

func (x *SlpV1GenesisMetadata) String() string

type SlpV1MintMetadata added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpV1MintMetadata.ProtoReflect.Descriptor instead.

func (*SlpV1MintMetadata) GetMintAmount added in v0.18.0

func (x *SlpV1MintMetadata) GetMintAmount() uint64

func (*SlpV1MintMetadata) GetMintBatonVout added in v0.18.0

func (x *SlpV1MintMetadata) GetMintBatonVout() uint32

func (*SlpV1MintMetadata) ProtoMessage added in v0.18.0

func (*SlpV1MintMetadata) ProtoMessage()

func (*SlpV1MintMetadata) ProtoReflect added in v0.18.0

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

func (*SlpV1MintMetadata) Reset added in v0.18.0

func (x *SlpV1MintMetadata) Reset()

func (*SlpV1MintMetadata) String added in v0.18.0

func (x *SlpV1MintMetadata) String() string

type SlpV1Nft1ChildGenesisMetadata added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpV1Nft1ChildGenesisMetadata.ProtoReflect.Descriptor instead.

func (*SlpV1Nft1ChildGenesisMetadata) GetDecimals added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) GetDecimals() uint32

func (*SlpV1Nft1ChildGenesisMetadata) GetDocumentHash added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) GetDocumentHash() []byte

func (*SlpV1Nft1ChildGenesisMetadata) GetDocumentUrl added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) GetDocumentUrl() []byte

func (*SlpV1Nft1ChildGenesisMetadata) GetGroupTokenId added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) GetGroupTokenId() []byte

func (*SlpV1Nft1ChildGenesisMetadata) GetName added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) GetName() []byte

func (*SlpV1Nft1ChildGenesisMetadata) GetTicker added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) GetTicker() []byte

func (*SlpV1Nft1ChildGenesisMetadata) ProtoMessage added in v0.18.0

func (*SlpV1Nft1ChildGenesisMetadata) ProtoMessage()

func (*SlpV1Nft1ChildGenesisMetadata) ProtoReflect added in v0.18.0

func (*SlpV1Nft1ChildGenesisMetadata) Reset added in v0.18.0

func (x *SlpV1Nft1ChildGenesisMetadata) Reset()

func (*SlpV1Nft1ChildGenesisMetadata) String added in v0.18.0

type SlpV1Nft1ChildSendMetadata added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpV1Nft1ChildSendMetadata.ProtoReflect.Descriptor instead.

func (*SlpV1Nft1ChildSendMetadata) GetGroupTokenId added in v0.18.0

func (x *SlpV1Nft1ChildSendMetadata) GetGroupTokenId() []byte

func (*SlpV1Nft1ChildSendMetadata) ProtoMessage added in v0.18.0

func (*SlpV1Nft1ChildSendMetadata) ProtoMessage()

func (*SlpV1Nft1ChildSendMetadata) ProtoReflect added in v0.18.0

func (*SlpV1Nft1ChildSendMetadata) Reset added in v0.18.0

func (x *SlpV1Nft1ChildSendMetadata) Reset()

func (*SlpV1Nft1ChildSendMetadata) String added in v0.18.0

func (x *SlpV1Nft1ChildSendMetadata) String() string

type SlpV1SendMetadata added in v0.18.0

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 added in v0.18.0

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

Deprecated: Use SlpV1SendMetadata.ProtoReflect.Descriptor instead.

func (*SlpV1SendMetadata) GetAmounts added in v0.18.0

func (x *SlpV1SendMetadata) GetAmounts() []uint64

func (*SlpV1SendMetadata) ProtoMessage added in v0.18.0

func (*SlpV1SendMetadata) ProtoMessage()

func (*SlpV1SendMetadata) ProtoReflect added in v0.18.0

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

func (*SlpV1SendMetadata) Reset added in v0.18.0

func (x *SlpV1SendMetadata) Reset()

func (*SlpV1SendMetadata) String added in v0.18.0

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 added in v0.18.0

func (x *SubmitTransactionRequest) GetRequiredSlpBurns() []*SlpRequiredBurn

func (*SubmitTransactionRequest) GetSkipSlpValidityCheck added in v0.18.0

func (x *SubmitTransactionRequest) GetSkipSlpValidityCheck() bool

func (*SubmitTransactionRequest) GetTransaction

func (x *SubmitTransactionRequest) GetTransaction() []byte

func (*SubmitTransactionRequest) ProtoMessage

func (*SubmitTransactionRequest) ProtoMessage()

func (*SubmitTransactionRequest) ProtoReflect added in v0.17.0

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 added in v0.17.0

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 added in v0.14.7

func (x *SubscribeBlocksRequest) GetFullBlock() bool

func (*SubscribeBlocksRequest) GetFullTransactions added in v0.14.7

func (x *SubscribeBlocksRequest) GetFullTransactions() bool

func (*SubscribeBlocksRequest) GetSerializeBlock added in v0.14.7

func (x *SubscribeBlocksRequest) GetSerializeBlock() bool

func (*SubscribeBlocksRequest) ProtoMessage

func (*SubscribeBlocksRequest) ProtoMessage()

func (*SubscribeBlocksRequest) ProtoReflect added in v0.17.0

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 added in v0.14.7

func (x *SubscribeTransactionsRequest) GetSerializeTx() bool

func (*SubscribeTransactionsRequest) GetSubscribe

func (*SubscribeTransactionsRequest) GetUnsubscribe

func (x *SubscribeTransactionsRequest) GetUnsubscribe() *TransactionFilter

func (*SubscribeTransactionsRequest) ProtoMessage

func (*SubscribeTransactionsRequest) ProtoMessage()

func (*SubscribeTransactionsRequest) ProtoReflect added in v0.17.0

func (*SubscribeTransactionsRequest) Reset

func (x *SubscribeTransactionsRequest) Reset()

func (*SubscribeTransactionsRequest) 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 added in v0.18.0

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 added in v0.17.0

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 added in v0.18.0

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 added in v0.18.0

func (x *TransactionFilter) GetSlpTokenIds() [][]byte

func (*TransactionFilter) ProtoMessage

func (*TransactionFilter) ProtoMessage()

func (*TransactionFilter) ProtoReflect added in v0.17.0

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 added in v0.14.7

func (x *TransactionNotification) GetSerializedTransaction() []byte

func (*TransactionNotification) GetTransaction

func (m *TransactionNotification) GetTransaction() isTransactionNotification_Transaction

func (*TransactionNotification) GetType

func (*TransactionNotification) GetUnconfirmedTransaction

func (x *TransactionNotification) GetUnconfirmedTransaction() *MempoolTransaction

func (*TransactionNotification) ProtoMessage

func (*TransactionNotification) ProtoMessage()

func (*TransactionNotification) ProtoReflect added in v0.17.0

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 added in v0.14.7

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 added in v0.17.0

func (TransactionNotification_Type) Enum added in v0.17.0

func (TransactionNotification_Type) EnumDescriptor deprecated

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

Deprecated: Use TransactionNotification_Type.Descriptor instead.

func (TransactionNotification_Type) Number added in v0.17.0

func (TransactionNotification_Type) String

func (TransactionNotification_Type) Type added in v0.17.0

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 (*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 added in v0.18.0

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 added in v0.17.0

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 added in v0.17.0

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 added in v0.18.0

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 added in v0.17.0

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 added in v0.14.7

type UnimplementedBchrpcServer struct {
}

UnimplementedBchrpcServer can be embedded to have forward compatible implementations.

func (*UnimplementedBchrpcServer) CheckSlpTransaction added in v0.18.0

func (*UnimplementedBchrpcServer) GetAddressTransactions added in v0.14.7

func (*UnimplementedBchrpcServer) GetAddressUnspentOutputs added in v0.14.7

func (*UnimplementedBchrpcServer) GetBlock added in v0.14.7

func (*UnimplementedBchrpcServer) GetBlockFilter added in v0.14.7

func (*UnimplementedBchrpcServer) GetBlockInfo added in v0.14.7

func (*UnimplementedBchrpcServer) GetBlockchainInfo added in v0.14.7

func (*UnimplementedBchrpcServer) GetHeaders added in v0.14.7

func (*UnimplementedBchrpcServer) GetMempool added in v0.14.7

func (*UnimplementedBchrpcServer) GetMempoolInfo added in v0.14.7

func (*UnimplementedBchrpcServer) GetMerkleProof added in v0.14.7

func (*UnimplementedBchrpcServer) GetRawAddressTransactions added in v0.14.7

func (*UnimplementedBchrpcServer) GetRawBlock added in v0.14.7

func (*UnimplementedBchrpcServer) GetRawTransaction added in v0.14.7

func (*UnimplementedBchrpcServer) GetSlpGraphSearch added in v0.18.0

func (*UnimplementedBchrpcServer) GetSlpParsedScript added in v0.18.0

func (*UnimplementedBchrpcServer) GetSlpTokenMetadata added in v0.18.0

func (*UnimplementedBchrpcServer) GetSlpTrustedValidation added in v0.18.0

func (*UnimplementedBchrpcServer) GetTransaction added in v0.14.7

func (*UnimplementedBchrpcServer) GetUnspentOutput added in v0.14.7

func (*UnimplementedBchrpcServer) SubmitTransaction added in v0.14.7

func (*UnimplementedBchrpcServer) SubscribeBlocks added in v0.14.7

func (*UnimplementedBchrpcServer) SubscribeTransactionStream added in v0.14.7

func (*UnimplementedBchrpcServer) SubscribeTransactions added in v0.14.7

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 added in v0.18.0

func (x *UnspentOutput) GetSlpToken() *SlpToken

func (*UnspentOutput) GetValue

func (x *UnspentOutput) GetValue() int64

func (*UnspentOutput) ProtoMessage

func (*UnspentOutput) ProtoMessage()

func (*UnspentOutput) ProtoReflect added in v0.17.0

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

func (*UnspentOutput) Reset

func (x *UnspentOutput) Reset()

func (*UnspentOutput) String

func (x *UnspentOutput) String() string

Jump to

Keyboard shortcuts

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