taprpc

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 31 Imported by: 5

Documentation

Overview

Package taprpc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	AssetType_name = map[int32]string{
		0: "NORMAL",
		1: "COLLECTIBLE",
	}
	AssetType_value = map[string]int32{
		"NORMAL":      0,
		"COLLECTIBLE": 1,
	}
)

Enum value maps for AssetType.

View Source
var (
	AssetMetaType_name = map[int32]string{
		0: "META_TYPE_OPAQUE",
		1: "META_TYPE_JSON",
	}
	AssetMetaType_value = map[string]int32{
		"META_TYPE_OPAQUE": 0,
		"META_TYPE_JSON":   1,
	}
)

Enum value maps for AssetMetaType.

View Source
var (
	AssetVersion_name = map[int32]string{
		0: "ASSET_VERSION_V0",
		1: "ASSET_VERSION_V1",
	}
	AssetVersion_value = map[string]int32{
		"ASSET_VERSION_V0": 0,
		"ASSET_VERSION_V1": 1,
	}
)

Enum value maps for AssetVersion.

View Source
var (
	OutputType_name = map[int32]string{
		0: "OUTPUT_TYPE_SIMPLE",
		1: "OUTPUT_TYPE_SPLIT_ROOT",
	}
	OutputType_value = map[string]int32{
		"OUTPUT_TYPE_SIMPLE":     0,
		"OUTPUT_TYPE_SPLIT_ROOT": 1,
	}
)

Enum value maps for OutputType.

View Source
var (
	AddrVersion_name = map[int32]string{
		0: "ADDR_VERSION_UNSPECIFIED",
		1: "ADDR_VERSION_V0",
		2: "ADDR_VERSION_V1",
	}
	AddrVersion_value = map[string]int32{
		"ADDR_VERSION_UNSPECIFIED": 0,
		"ADDR_VERSION_V0":          1,
		"ADDR_VERSION_V1":          2,
	}
)

Enum value maps for AddrVersion.

View Source
var (
	AddrEventStatus_name = map[int32]string{
		0: "ADDR_EVENT_STATUS_UNKNOWN",
		1: "ADDR_EVENT_STATUS_TRANSACTION_DETECTED",
		2: "ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED",
		3: "ADDR_EVENT_STATUS_PROOF_RECEIVED",
		4: "ADDR_EVENT_STATUS_COMPLETED",
	}
	AddrEventStatus_value = map[string]int32{
		"ADDR_EVENT_STATUS_UNKNOWN":               0,
		"ADDR_EVENT_STATUS_TRANSACTION_DETECTED":  1,
		"ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED": 2,
		"ADDR_EVENT_STATUS_PROOF_RECEIVED":        3,
		"ADDR_EVENT_STATUS_COMPLETED":             4,
	}
)

Enum value maps for AddrEventStatus.

View Source
var (
	SendState_name = map[int32]string{
		0: "SEND_STATE_VIRTUAL_INPUT_SELECT",
		1: "SEND_STATE_VIRTUAL_SIGN",
		2: "SEND_STATE_ANCHOR_SIGN",
		3: "SEND_STATE_LOG_COMMITMENT",
		4: "SEND_STATE_BROADCAST",
		5: "SEND_STATE_WAIT_CONFIRMATION",
		6: "SEND_STATE_STORE_PROOFS",
		7: "SEND_STATE_TRANSFER_PROOFS",
		8: "SEND_STATE_COMPLETED",
	}
	SendState_value = map[string]int32{
		"SEND_STATE_VIRTUAL_INPUT_SELECT": 0,
		"SEND_STATE_VIRTUAL_SIGN":         1,
		"SEND_STATE_ANCHOR_SIGN":          2,
		"SEND_STATE_LOG_COMMITMENT":       3,
		"SEND_STATE_BROADCAST":            4,
		"SEND_STATE_WAIT_CONFIRMATION":    5,
		"SEND_STATE_STORE_PROOFS":         6,
		"SEND_STATE_TRANSFER_PROOFS":      7,
		"SEND_STATE_COMPLETED":            8,
	}
)

Enum value maps for SendState.

View Source
var (
	ParcelType_name = map[int32]string{
		0: "PARCEL_TYPE_ADDRESS",
		1: "PARCEL_TYPE_PRE_SIGNED",
		2: "PARCEL_TYPE_PENDING",
		3: "PARCEL_TYPE_PRE_ANCHORED",
	}
	ParcelType_value = map[string]int32{
		"PARCEL_TYPE_ADDRESS":      0,
		"PARCEL_TYPE_PRE_SIGNED":   1,
		"PARCEL_TYPE_PENDING":      2,
		"PARCEL_TYPE_PRE_ANCHORED": 3,
	}
)

Enum value maps for ParcelType.

View Source
var (
	// ProtoJSONMarshalOpts is a struct that holds the default marshal
	// options for marshaling protobuf messages into JSON in a
	// human-readable way. This should only be used in the CLI and in
	// integration tests.
	ProtoJSONMarshalOpts = &protojson.MarshalOptions{
		EmitUnpopulated: true,
		UseProtoNames:   true,
		Indent:          "    ",
		UseHexForBytes:  true,
	}

	// ProtoJSONUnmarshalOpts is a struct that holds the default unmarshal
	// options for un-marshaling lncli JSON into protobuf messages. This
	// should only be used in the CLI and in integration tests.
	ProtoJSONUnmarshalOpts = &protojson.UnmarshalOptions{
		AllowPartial:   false,
		UseHexForBytes: true,
	}

	// RESTJsonMarshalOpts is a struct that holds the default marshal
	// options for marshaling protobuf messages into REST JSON in a
	// human-readable way. This should be used when interacting with the
	// REST proxy only.
	RESTJsonMarshalOpts = &protojson.MarshalOptions{
		EmitUnpopulated: true,
		UseProtoNames:   true,
		UseHexForBytes:  true,
	}

	// RESTJsonUnmarshalOpts is a struct that holds the default unmarshal
	// options for un-marshaling REST JSON into protobuf messages. This
	// should be used when interacting with the REST proxy only.
	RESTJsonUnmarshalOpts = &protojson.UnmarshalOptions{
		AllowPartial:   false,
		UseHexForBytes: true,
	}
)
View Source
var File_taprootassets_proto protoreflect.FileDescriptor
View Source
var TaprootAssets_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "taprpc.TaprootAssets",
	HandlerType: (*TaprootAssetsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAssets",
			Handler:    _TaprootAssets_ListAssets_Handler,
		},
		{
			MethodName: "ListUtxos",
			Handler:    _TaprootAssets_ListUtxos_Handler,
		},
		{
			MethodName: "ListGroups",
			Handler:    _TaprootAssets_ListGroups_Handler,
		},
		{
			MethodName: "ListBalances",
			Handler:    _TaprootAssets_ListBalances_Handler,
		},
		{
			MethodName: "ListTransfers",
			Handler:    _TaprootAssets_ListTransfers_Handler,
		},
		{
			MethodName: "StopDaemon",
			Handler:    _TaprootAssets_StopDaemon_Handler,
		},
		{
			MethodName: "DebugLevel",
			Handler:    _TaprootAssets_DebugLevel_Handler,
		},
		{
			MethodName: "QueryAddrs",
			Handler:    _TaprootAssets_QueryAddrs_Handler,
		},
		{
			MethodName: "NewAddr",
			Handler:    _TaprootAssets_NewAddr_Handler,
		},
		{
			MethodName: "DecodeAddr",
			Handler:    _TaprootAssets_DecodeAddr_Handler,
		},
		{
			MethodName: "AddrReceives",
			Handler:    _TaprootAssets_AddrReceives_Handler,
		},
		{
			MethodName: "VerifyProof",
			Handler:    _TaprootAssets_VerifyProof_Handler,
		},
		{
			MethodName: "DecodeProof",
			Handler:    _TaprootAssets_DecodeProof_Handler,
		},
		{
			MethodName: "ExportProof",
			Handler:    _TaprootAssets_ExportProof_Handler,
		},
		{
			MethodName: "SendAsset",
			Handler:    _TaprootAssets_SendAsset_Handler,
		},
		{
			MethodName: "BurnAsset",
			Handler:    _TaprootAssets_BurnAsset_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _TaprootAssets_GetInfo_Handler,
		},
		{
			MethodName: "FetchAssetMeta",
			Handler:    _TaprootAssets_FetchAssetMeta_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeReceiveEvents",
			Handler:       _TaprootAssets_SubscribeReceiveEvents_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeSendEvents",
			Handler:       _TaprootAssets_SubscribeSendEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "taprootassets.proto",
}

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

Functions

func MarshalAcceptedBuyQuoteEvent added in v0.4.0

func MarshalAcceptedBuyQuoteEvent(
	event *rfq.PeerAcceptedBuyQuoteEvent) *rfqrpc.PeerAcceptedBuyQuote

MarshalAcceptedBuyQuoteEvent marshals a peer accepted buy quote event to its rpc representation.

func MarshalAcceptedSellQuoteEvent added in v0.4.0

func MarshalAcceptedSellQuoteEvent(
	event *rfq.PeerAcceptedSellQuoteEvent) *rfqrpc.PeerAcceptedSellQuote

MarshalAcceptedSellQuoteEvent marshals a peer accepted sell quote event to its rpc representation.

func MarshalIncomingRejectQuoteEvent added in v0.4.0

func MarshalIncomingRejectQuoteEvent(
	event *rfq.IncomingRejectQuoteEvent) *rfqrpc.RejectedQuoteResponse

MarshalIncomingRejectQuoteEvent marshals an incoming reject quote event to its RPC representation.

func MarshalInvalidQuoteRespEvent added in v0.4.0

func MarshalInvalidQuoteRespEvent(
	event *rfq.InvalidQuoteRespEvent) *rfqrpc.InvalidQuoteResponse

MarshalInvalidQuoteRespEvent marshals an invalid quote response event to its rpc representation.

func NewAddAssetBuyOrderResponse added in v0.4.0

func NewAddAssetBuyOrderResponse(
	event fn.Event) (*rfqrpc.AddAssetBuyOrderResponse, error)

NewAddAssetBuyOrderResponse creates a new AddAssetBuyOrderResponse from the given RFQ event.

func NewAddAssetSellOrderResponse added in v0.4.0

func NewAddAssetSellOrderResponse(
	event fn.Event) (*rfqrpc.AddAssetSellOrderResponse, error)

NewAddAssetSellOrderResponse creates a new AddAssetSellOrderResponse from the given RFQ event.

func RegisterTaprootAssetsHandler

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

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

func RegisterTaprootAssetsHandlerClient

func RegisterTaprootAssetsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TaprootAssetsClient) error

RegisterTaprootAssetsHandlerClient registers the http handlers for service TaprootAssets to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TaprootAssetsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TaprootAssetsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TaprootAssetsClient" to call the correct interceptors.

func RegisterTaprootAssetsHandlerFromEndpoint

func RegisterTaprootAssetsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTaprootAssetsHandlerFromEndpoint is same as RegisterTaprootAssetsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTaprootAssetsHandlerServer

func RegisterTaprootAssetsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TaprootAssetsServer) error

RegisterTaprootAssetsHandlerServer registers the http handlers for service TaprootAssets to "mux". UnaryRPC :call TaprootAssetsServer 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 RegisterTaprootAssetsHandlerFromEndpoint instead.

func RegisterTaprootAssetsJSONCallbacks added in v0.2.1

func RegisterTaprootAssetsJSONCallbacks(registry map[string]func(ctx context.Context,
	conn *grpc.ClientConn, reqJSON string, callback func(string, error)))

func RegisterTaprootAssetsServer

func RegisterTaprootAssetsServer(s grpc.ServiceRegistrar, srv TaprootAssetsServer)

func UnmarshalAddressVersion added in v0.4.0

func UnmarshalAddressVersion(version AddrVersion) (address.Version, error)

UnmarshalAddressVerion parses an address version from the RPC variant.

func UnmarshalAssetVersion added in v0.3.0

func UnmarshalAssetVersion(version AssetVersion) (asset.Version, error)

UnmarshalAssetVersion parses an asset version from the RPC variant.

func UnmarshalGenesisInfo added in v0.4.0

func UnmarshalGenesisInfo(rpcGen *GenesisInfo) (*asset.Genesis, error)

UnmarshalGenesisInfo parses an asset Genesis from the RPC variant.

func UnmarshalGroupKeyRequest added in v0.4.0

func UnmarshalGroupKeyRequest(req *GroupKeyRequest) (*asset.GroupKeyRequest,
	error)

UnmarshalGroupKeyRequest parses a group key request from the RPC variant.

func UnmarshalGroupVirtualTx added in v0.4.0

func UnmarshalGroupVirtualTx(genTx *GroupVirtualTx) (*asset.GroupVirtualTx,
	error)

UnmarshalGroupVirtualTx parses a group virtual transaction from the RPC variant.

func UnmarshalGroupWitness added in v0.4.0

func UnmarshalGroupWitness(wit *GroupWitness) (*asset.PendingGroupWitness,
	error)

UnmarshalGroupWitness parses an asset group witness from the RPC variant.

func UnmarshalKeyDescriptor added in v0.4.0

func UnmarshalKeyDescriptor(rpcDesc *KeyDescriptor) (keychain.KeyDescriptor,
	error)

UnmarshalKeyDescriptor parses the RPC key descriptor into the native counterpart.

func UnmarshalScriptKey added in v0.4.0

func UnmarshalScriptKey(rpcKey *ScriptKey) (*asset.ScriptKey, error)

UnmarshalScriptKey parses the RPC script key into the native counterpart.

func UnmarshalTapscriptBranch added in v0.4.0

func UnmarshalTapscriptBranch(branch *TapBranch) (*asset.TapscriptTreeNodes,
	error)

UnmarshalTapscriptBranch parses a Tapscript branch from the RPC variant.

func UnmarshalTapscriptFullTree added in v0.4.0

func UnmarshalTapscriptFullTree(tree *TapscriptFullTree) (
	*asset.TapscriptTreeNodes, error)

UnmarshalTapscriptFullTree parses a Tapscript tree from the RPC variant.

func UnmarshalTapscriptSibling added in v0.4.0

func UnmarshalTapscriptSibling(rpcTree *TapscriptFullTree,
	rpcBranch *TapBranch) (fn.Option[asset.TapscriptTreeNodes], error)

UnmarshalTapscriptSibling parses a Tapscript sibling from the RPC variant.

Types

type Addr

type Addr struct {

	// The bech32 encoded Taproot Asset address.
	Encoded string `protobuf:"bytes,1,opt,name=encoded,proto3" json:"encoded,omitempty"`
	// The asset ID that uniquely identifies the asset.
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The type of the asset.
	AssetType AssetType `protobuf:"varint,3,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,omitempty"`
	// The total amount of the asset stored in this Taproot Asset UTXO.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// The group key of the asset (if it exists)
	GroupKey []byte `protobuf:"bytes,5,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// The specific script key the asset must commit to in order to transfer
	// ownership to the creator of the address.
	ScriptKey []byte `protobuf:"bytes,6,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The internal key used for the on-chain output.
	InternalKey []byte `protobuf:"bytes,7,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The optional serialized tapscript sibling preimage to use for the receiving
	// asset. This is usually empty as it is only needed when there should be an
	// additional script path in the Taproot tree alongside the Taproot Asset
	// commitment of the asset.
	TapscriptSibling []byte `protobuf:"bytes,8,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	// The tweaked internal key that commits to the asset and represents the
	// on-chain output key the Bitcoin transaction must send to in order to
	// transfer assets described in this address.
	TaprootOutputKey []byte `protobuf:"bytes,9,opt,name=taproot_output_key,json=taprootOutputKey,proto3" json:"taproot_output_key,omitempty"`
	// The address of the proof courier service used in proof transfer.
	ProofCourierAddr string `protobuf:"bytes,10,opt,name=proof_courier_addr,json=proofCourierAddr,proto3" json:"proof_courier_addr,omitempty"`
	// The asset version of the address.
	AssetVersion AssetVersion `protobuf:"varint,11,opt,name=asset_version,json=assetVersion,proto3,enum=taprpc.AssetVersion" json:"asset_version,omitempty"`
	// The version of the address.
	AddressVersion AddrVersion `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Addr) Descriptor deprecated

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

Deprecated: Use Addr.ProtoReflect.Descriptor instead.

func (*Addr) GetAddressVersion added in v0.4.0

func (x *Addr) GetAddressVersion() AddrVersion

func (*Addr) GetAmount

func (x *Addr) GetAmount() uint64

func (*Addr) GetAssetId

func (x *Addr) GetAssetId() []byte

func (*Addr) GetAssetType

func (x *Addr) GetAssetType() AssetType

func (*Addr) GetAssetVersion added in v0.3.0

func (x *Addr) GetAssetVersion() AssetVersion

func (*Addr) GetEncoded

func (x *Addr) GetEncoded() string

func (*Addr) GetGroupKey

func (x *Addr) GetGroupKey() []byte

func (*Addr) GetInternalKey

func (x *Addr) GetInternalKey() []byte

func (*Addr) GetProofCourierAddr added in v0.3.0

func (x *Addr) GetProofCourierAddr() string

func (*Addr) GetScriptKey

func (x *Addr) GetScriptKey() []byte

func (*Addr) GetTaprootOutputKey

func (x *Addr) GetTaprootOutputKey() []byte

func (*Addr) GetTapscriptSibling

func (x *Addr) GetTapscriptSibling() []byte

func (*Addr) ProtoMessage

func (*Addr) ProtoMessage()

func (*Addr) ProtoReflect

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

func (*Addr) Reset

func (x *Addr) Reset()

func (*Addr) String

func (x *Addr) String() string

type AddrEvent

type AddrEvent struct {

	// The time the event was created in unix timestamp seconds.
	CreationTimeUnixSeconds uint64 `` /* 135-byte string literal not displayed */
	// The address the event was created for.
	Addr *Addr `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// The current status of the event.
	Status AddrEventStatus `protobuf:"varint,3,opt,name=status,proto3,enum=taprpc.AddrEventStatus" json:"status,omitempty"`
	// The outpoint that contains the inbound asset transfer.
	Outpoint string `protobuf:"bytes,4,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The amount in satoshis that were transferred on chain along with the asset.
	// This amount is independent of the requested asset amount, which can be
	// looked up on the address.
	UtxoAmtSat uint64 `protobuf:"varint,5,opt,name=utxo_amt_sat,json=utxoAmtSat,proto3" json:"utxo_amt_sat,omitempty"`
	// The taproot sibling hash that was used to send to the Taproot output.
	TaprootSibling []byte `protobuf:"bytes,6,opt,name=taproot_sibling,json=taprootSibling,proto3" json:"taproot_sibling,omitempty"`
	// The height at which the on-chain output was confirmed. If this is zero, it
	// means the output is unconfirmed.
	ConfirmationHeight uint32 `protobuf:"varint,7,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,omitempty"`
	// Indicates whether a proof file can be found for the address' asset ID and
	// script key.
	HasProof bool `protobuf:"varint,8,opt,name=has_proof,json=hasProof,proto3" json:"has_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*AddrEvent) Descriptor deprecated

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

Deprecated: Use AddrEvent.ProtoReflect.Descriptor instead.

func (*AddrEvent) GetAddr

func (x *AddrEvent) GetAddr() *Addr

func (*AddrEvent) GetConfirmationHeight

func (x *AddrEvent) GetConfirmationHeight() uint32

func (*AddrEvent) GetCreationTimeUnixSeconds

func (x *AddrEvent) GetCreationTimeUnixSeconds() uint64

func (*AddrEvent) GetHasProof

func (x *AddrEvent) GetHasProof() bool

func (*AddrEvent) GetOutpoint

func (x *AddrEvent) GetOutpoint() string

func (*AddrEvent) GetStatus

func (x *AddrEvent) GetStatus() AddrEventStatus

func (*AddrEvent) GetTaprootSibling

func (x *AddrEvent) GetTaprootSibling() []byte

func (*AddrEvent) GetUtxoAmtSat

func (x *AddrEvent) GetUtxoAmtSat() uint64

func (*AddrEvent) ProtoMessage

func (*AddrEvent) ProtoMessage()

func (*AddrEvent) ProtoReflect

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

func (*AddrEvent) Reset

func (x *AddrEvent) Reset()

func (*AddrEvent) String

func (x *AddrEvent) String() string

type AddrEventStatus

type AddrEventStatus int32
const (
	AddrEventStatus_ADDR_EVENT_STATUS_UNKNOWN               AddrEventStatus = 0
	AddrEventStatus_ADDR_EVENT_STATUS_TRANSACTION_DETECTED  AddrEventStatus = 1
	AddrEventStatus_ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED AddrEventStatus = 2
	AddrEventStatus_ADDR_EVENT_STATUS_PROOF_RECEIVED        AddrEventStatus = 3
	AddrEventStatus_ADDR_EVENT_STATUS_COMPLETED             AddrEventStatus = 4
)

func (AddrEventStatus) Descriptor

func (AddrEventStatus) Enum

func (x AddrEventStatus) Enum() *AddrEventStatus

func (AddrEventStatus) EnumDescriptor deprecated

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

Deprecated: Use AddrEventStatus.Descriptor instead.

func (AddrEventStatus) Number

func (AddrEventStatus) String

func (x AddrEventStatus) String() string

func (AddrEventStatus) Type

type AddrReceivesRequest

type AddrReceivesRequest struct {

	// Filter receives by a specific address. Leave empty to get all receives.
	FilterAddr string `protobuf:"bytes,1,opt,name=filter_addr,json=filterAddr,proto3" json:"filter_addr,omitempty"`
	// Filter receives by a specific status. Leave empty to get all receives.
	FilterStatus AddrEventStatus `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddrReceivesRequest) Descriptor deprecated

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

Deprecated: Use AddrReceivesRequest.ProtoReflect.Descriptor instead.

func (*AddrReceivesRequest) GetFilterAddr

func (x *AddrReceivesRequest) GetFilterAddr() string

func (*AddrReceivesRequest) GetFilterStatus

func (x *AddrReceivesRequest) GetFilterStatus() AddrEventStatus

func (*AddrReceivesRequest) ProtoMessage

func (*AddrReceivesRequest) ProtoMessage()

func (*AddrReceivesRequest) ProtoReflect

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

func (*AddrReceivesRequest) Reset

func (x *AddrReceivesRequest) Reset()

func (*AddrReceivesRequest) String

func (x *AddrReceivesRequest) String() string

type AddrReceivesResponse

type AddrReceivesResponse struct {

	// The events that match the filter criteria.
	Events []*AddrEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*AddrReceivesResponse) Descriptor deprecated

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

Deprecated: Use AddrReceivesResponse.ProtoReflect.Descriptor instead.

func (*AddrReceivesResponse) GetEvents

func (x *AddrReceivesResponse) GetEvents() []*AddrEvent

func (*AddrReceivesResponse) ProtoMessage

func (*AddrReceivesResponse) ProtoMessage()

func (*AddrReceivesResponse) ProtoReflect

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

func (*AddrReceivesResponse) Reset

func (x *AddrReceivesResponse) Reset()

func (*AddrReceivesResponse) String

func (x *AddrReceivesResponse) String() string

type AddrVersion added in v0.4.0

type AddrVersion int32
const (
	// ADDR_VERSION_UNSPECIFIED is the default value for an address version in
	// an RPC message. It is unmarshalled to the latest address version.
	AddrVersion_ADDR_VERSION_UNSPECIFIED AddrVersion = 0
	// ADDR_VERSION_V0 is the initial address version.
	AddrVersion_ADDR_VERSION_V0 AddrVersion = 1
	// ADDR_VERSION_V1 is the address version that uses V2 Taproot Asset
	// commitments.
	AddrVersion_ADDR_VERSION_V1 AddrVersion = 2
)

func MarshalAddressVersion added in v0.4.0

func MarshalAddressVersion(version address.Version) (AddrVersion, error)

MarshalAddressVerion marshals the native address version into the RPC variant.

func (AddrVersion) Descriptor added in v0.4.0

func (AddrVersion) Enum added in v0.4.0

func (x AddrVersion) Enum() *AddrVersion

func (AddrVersion) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use AddrVersion.Descriptor instead.

func (AddrVersion) Number added in v0.4.0

func (x AddrVersion) Number() protoreflect.EnumNumber

func (AddrVersion) String added in v0.4.0

func (x AddrVersion) String() string

func (AddrVersion) Type added in v0.4.0

type AnchorInfo

type AnchorInfo struct {

	// The transaction that anchors the Taproot Asset commitment where the asset
	//
	//	resides.
	AnchorTx []byte `protobuf:"bytes,1,opt,name=anchor_tx,json=anchorTx,proto3" json:"anchor_tx,omitempty"`
	// The block hash the contains the anchor transaction above.
	AnchorBlockHash string `protobuf:"bytes,3,opt,name=anchor_block_hash,json=anchorBlockHash,proto3" json:"anchor_block_hash,omitempty"`
	// The outpoint (txid:vout) that stores the Taproot Asset commitment.
	AnchorOutpoint string `protobuf:"bytes,4,opt,name=anchor_outpoint,json=anchorOutpoint,proto3" json:"anchor_outpoint,omitempty"`
	// The raw internal key that was used to create the anchor Taproot output key.
	InternalKey []byte `protobuf:"bytes,5,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The Taproot merkle root hash of the anchor output the asset was committed
	// to. If there is no Tapscript sibling, this is equal to the Taproot Asset
	// root commitment hash.
	MerkleRoot []byte `protobuf:"bytes,6,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	// The serialized preimage of a Tapscript sibling, if there was one. If this
	// is empty, then the merkle_root hash is equal to the Taproot root hash of the
	// anchor output.
	TapscriptSibling []byte `protobuf:"bytes,7,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	// The height of the block which contains the anchor transaction.
	BlockHeight uint32 `protobuf:"varint,8,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// contains filtered or unexported fields
}

func (*AnchorInfo) Descriptor deprecated

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

Deprecated: Use AnchorInfo.ProtoReflect.Descriptor instead.

func (*AnchorInfo) GetAnchorBlockHash

func (x *AnchorInfo) GetAnchorBlockHash() string

func (*AnchorInfo) GetAnchorOutpoint

func (x *AnchorInfo) GetAnchorOutpoint() string

func (*AnchorInfo) GetAnchorTx

func (x *AnchorInfo) GetAnchorTx() []byte

func (*AnchorInfo) GetBlockHeight added in v0.2.3

func (x *AnchorInfo) GetBlockHeight() uint32

func (*AnchorInfo) GetInternalKey

func (x *AnchorInfo) GetInternalKey() []byte

func (*AnchorInfo) GetMerkleRoot

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

func (*AnchorInfo) GetTapscriptSibling

func (x *AnchorInfo) GetTapscriptSibling() []byte

func (*AnchorInfo) ProtoMessage

func (*AnchorInfo) ProtoMessage()

func (*AnchorInfo) ProtoReflect

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

func (*AnchorInfo) Reset

func (x *AnchorInfo) Reset()

func (*AnchorInfo) String

func (x *AnchorInfo) String() string

type AnchorTransaction added in v0.4.0

type AnchorTransaction struct {
	AnchorPsbt []byte `protobuf:"bytes,1,opt,name=anchor_psbt,json=anchorPsbt,proto3" json:"anchor_psbt,omitempty"`
	// The index of the (added) change output or -1 if no change was left over.
	ChangeOutputIndex int32 `protobuf:"varint,2,opt,name=change_output_index,json=changeOutputIndex,proto3" json:"change_output_index,omitempty"`
	// The total number of satoshis in on-chain fees paid by the anchor
	// transaction.
	ChainFeesSats int64 `protobuf:"varint,3,opt,name=chain_fees_sats,json=chainFeesSats,proto3" json:"chain_fees_sats,omitempty"`
	// The fee rate in sat/kWU that was targeted by the anchor transaction.
	TargetFeeRateSatKw int32 `protobuf:"varint,4,opt,name=target_fee_rate_sat_kw,json=targetFeeRateSatKw,proto3" json:"target_fee_rate_sat_kw,omitempty"`
	// The list of UTXO lock leases that were acquired for the inputs in the funded
	// PSBT packet from lnd. Only inputs added to the PSBT by this RPC are locked,
	// inputs that were already present in the PSBT are not locked.
	LndLockedUtxos []*OutPoint `protobuf:"bytes,5,rep,name=lnd_locked_utxos,json=lndLockedUtxos,proto3" json:"lnd_locked_utxos,omitempty"`
	// The final, signed anchor transaction that was broadcast to the network.
	FinalTx []byte `protobuf:"bytes,6,opt,name=final_tx,json=finalTx,proto3" json:"final_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*AnchorTransaction) Descriptor deprecated added in v0.4.0

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

Deprecated: Use AnchorTransaction.ProtoReflect.Descriptor instead.

func (*AnchorTransaction) GetAnchorPsbt added in v0.4.0

func (x *AnchorTransaction) GetAnchorPsbt() []byte

func (*AnchorTransaction) GetChainFeesSats added in v0.4.0

func (x *AnchorTransaction) GetChainFeesSats() int64

func (*AnchorTransaction) GetChangeOutputIndex added in v0.4.0

func (x *AnchorTransaction) GetChangeOutputIndex() int32

func (*AnchorTransaction) GetFinalTx added in v0.4.0

func (x *AnchorTransaction) GetFinalTx() []byte

func (*AnchorTransaction) GetLndLockedUtxos added in v0.4.0

func (x *AnchorTransaction) GetLndLockedUtxos() []*OutPoint

func (*AnchorTransaction) GetTargetFeeRateSatKw added in v0.4.0

func (x *AnchorTransaction) GetTargetFeeRateSatKw() int32

func (*AnchorTransaction) ProtoMessage added in v0.4.0

func (*AnchorTransaction) ProtoMessage()

func (*AnchorTransaction) ProtoReflect added in v0.4.0

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

func (*AnchorTransaction) Reset added in v0.4.0

func (x *AnchorTransaction) Reset()

func (*AnchorTransaction) String added in v0.4.0

func (x *AnchorTransaction) String() string

type Asset

type Asset struct {

	// The version of the Taproot Asset.
	Version AssetVersion `protobuf:"varint,1,opt,name=version,proto3,enum=taprpc.AssetVersion" json:"version,omitempty"`
	// The base genesis information of an asset. This information never changes.
	AssetGenesis *GenesisInfo `protobuf:"bytes,2,opt,name=asset_genesis,json=assetGenesis,proto3" json:"asset_genesis,omitempty"`
	// The total amount of the asset stored in this Taproot Asset UTXO.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// An optional locktime, as with Bitcoin transactions.
	LockTime int32 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	// An optional relative lock time, same as Bitcoin transactions.
	RelativeLockTime int32 `protobuf:"varint,6,opt,name=relative_lock_time,json=relativeLockTime,proto3" json:"relative_lock_time,omitempty"`
	// The version of the script, only version 0 is defined at present.
	ScriptVersion int32 `protobuf:"varint,7,opt,name=script_version,json=scriptVersion,proto3" json:"script_version,omitempty"`
	// The script key of the asset, which can be spent under Taproot semantics.
	ScriptKey []byte `protobuf:"bytes,9,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// Indicates whether the script key is known to the wallet of the lnd node
	// connected to the Taproot Asset daemon.
	ScriptKeyIsLocal bool `protobuf:"varint,10,opt,name=script_key_is_local,json=scriptKeyIsLocal,proto3" json:"script_key_is_local,omitempty"`
	// The information related to the key group of an asset (if it exists).
	AssetGroup *AssetGroup `protobuf:"bytes,11,opt,name=asset_group,json=assetGroup,proto3" json:"asset_group,omitempty"`
	// Describes where in the chain the asset is currently anchored.
	ChainAnchor   *AnchorInfo    `protobuf:"bytes,12,opt,name=chain_anchor,json=chainAnchor,proto3" json:"chain_anchor,omitempty"`
	PrevWitnesses []*PrevWitness `protobuf:"bytes,13,rep,name=prev_witnesses,json=prevWitnesses,proto3" json:"prev_witnesses,omitempty"`
	// Indicates whether the asset has been spent.
	IsSpent bool `protobuf:"varint,14,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"`
	// If the asset has been leased, this is the owner (application ID) of the
	// lease.
	LeaseOwner []byte `protobuf:"bytes,15,opt,name=lease_owner,json=leaseOwner,proto3" json:"lease_owner,omitempty"`
	// If the asset has been leased, this is the expiry of the lease as a Unix
	// timestamp in seconds.
	LeaseExpiry int64 `protobuf:"varint,16,opt,name=lease_expiry,json=leaseExpiry,proto3" json:"lease_expiry,omitempty"`
	// Indicates whether this transfer was an asset burn. If true, the number of
	// assets in this output are destroyed and can no longer be spent.
	IsBurn bool `protobuf:"varint,17,opt,name=is_burn,json=isBurn,proto3" json:"is_burn,omitempty"`
	// Indicates whether this script key has either been derived by the local
	// wallet or was explicitly declared to be known by using the
	// DeclareScriptKey RPC. Knowing the key conceptually means the key belongs
	// to the local wallet or is at least known by a software that operates on
	// the local wallet. The flag is never serialized in proofs, so this is
	// never explicitly set for keys foreign to the local wallet. Therefore, if
	// this method returns true for a script key, it means the asset with the
	// script key will be shown in the wallet balance.
	ScriptKeyDeclaredKnown bool `` /* 133-byte string literal not displayed */
	// Indicates whether the script key is known to have a Tapscript spend path,
	// meaning that the Taproot merkle root tweak is not empty. This will only
	// ever be true if either script_key_is_local or script_key_internals_known
	// is true as well, since the presence of a Tapscript spend path cannot be
	// determined for script keys that aren't known to the wallet of the local
	// tapd node.
	ScriptKeyHasScriptPath bool `` /* 135-byte string literal not displayed */
	// This field defines a decimal display value that may be present. If this
	// field is null, it means the presence of a decimal display field is
	// unknown in the current context.
	DecimalDisplay *DecimalDisplay `protobuf:"bytes,20,opt,name=decimal_display,json=decimalDisplay,proto3" json:"decimal_display,omitempty"`
	// contains filtered or unexported fields
}

func MarshalAsset added in v0.3.0

func MarshalAsset(ctx context.Context, a *asset.Asset,
	isSpent, withWitness bool, keyRing KeyLookup,
	decDisplay fn.Option[uint32]) (*Asset, error)

MarshalAsset converts an asset to its rpc representation.

func (*Asset) Descriptor deprecated

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

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetAmount

func (x *Asset) GetAmount() uint64

func (*Asset) GetAssetGenesis

func (x *Asset) GetAssetGenesis() *GenesisInfo

func (*Asset) GetAssetGroup

func (x *Asset) GetAssetGroup() *AssetGroup

func (*Asset) GetChainAnchor

func (x *Asset) GetChainAnchor() *AnchorInfo

func (*Asset) GetDecimalDisplay added in v0.4.0

func (x *Asset) GetDecimalDisplay() *DecimalDisplay

func (*Asset) GetIsBurn added in v0.3.0

func (x *Asset) GetIsBurn() bool

func (*Asset) GetIsSpent

func (x *Asset) GetIsSpent() bool

func (*Asset) GetLeaseExpiry added in v0.3.0

func (x *Asset) GetLeaseExpiry() int64

func (*Asset) GetLeaseOwner added in v0.3.0

func (x *Asset) GetLeaseOwner() []byte

func (*Asset) GetLockTime

func (x *Asset) GetLockTime() int32

func (*Asset) GetPrevWitnesses

func (x *Asset) GetPrevWitnesses() []*PrevWitness

func (*Asset) GetRelativeLockTime

func (x *Asset) GetRelativeLockTime() int32

func (*Asset) GetScriptKey

func (x *Asset) GetScriptKey() []byte

func (*Asset) GetScriptKeyDeclaredKnown added in v0.4.0

func (x *Asset) GetScriptKeyDeclaredKnown() bool

func (*Asset) GetScriptKeyHasScriptPath added in v0.4.0

func (x *Asset) GetScriptKeyHasScriptPath() bool

func (*Asset) GetScriptKeyIsLocal

func (x *Asset) GetScriptKeyIsLocal() bool

func (*Asset) GetScriptVersion

func (x *Asset) GetScriptVersion() int32

func (*Asset) GetVersion

func (x *Asset) GetVersion() AssetVersion

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

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

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetBalance

type AssetBalance struct {

	// The base genesis information of an asset. This information never changes.
	AssetGenesis *GenesisInfo `protobuf:"bytes,1,opt,name=asset_genesis,json=assetGenesis,proto3" json:"asset_genesis,omitempty"`
	// The balance of the asset owned by the target daemon.
	Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetBalance) Descriptor deprecated

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

Deprecated: Use AssetBalance.ProtoReflect.Descriptor instead.

func (*AssetBalance) GetAssetGenesis

func (x *AssetBalance) GetAssetGenesis() *GenesisInfo

func (*AssetBalance) GetBalance

func (x *AssetBalance) GetBalance() uint64

func (*AssetBalance) ProtoMessage

func (*AssetBalance) ProtoMessage()

func (*AssetBalance) ProtoReflect

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

func (*AssetBalance) Reset

func (x *AssetBalance) Reset()

func (*AssetBalance) String

func (x *AssetBalance) String() string

type AssetGroup

type AssetGroup struct {

	// The raw group key which is a normal public key.
	RawGroupKey []byte `protobuf:"bytes,1,opt,name=raw_group_key,json=rawGroupKey,proto3" json:"raw_group_key,omitempty"`
	// The tweaked group key, which is derived based on the genesis point and also
	// asset type.
	TweakedGroupKey []byte `protobuf:"bytes,2,opt,name=tweaked_group_key,json=tweakedGroupKey,proto3" json:"tweaked_group_key,omitempty"`
	// A witness that authorizes a specific asset to be part of the asset group
	// specified by the above key.
	AssetWitness []byte `protobuf:"bytes,3,opt,name=asset_witness,json=assetWitness,proto3" json:"asset_witness,omitempty"`
	// The root hash of a tapscript tree, which enables future issuance authorized
	// with a script witness.
	TapscriptRoot []byte `protobuf:"bytes,4,opt,name=tapscript_root,json=tapscriptRoot,proto3" json:"tapscript_root,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetGroup) Descriptor deprecated

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

Deprecated: Use AssetGroup.ProtoReflect.Descriptor instead.

func (*AssetGroup) GetAssetWitness added in v0.3.0

func (x *AssetGroup) GetAssetWitness() []byte

func (*AssetGroup) GetRawGroupKey

func (x *AssetGroup) GetRawGroupKey() []byte

func (*AssetGroup) GetTapscriptRoot added in v0.4.0

func (x *AssetGroup) GetTapscriptRoot() []byte

func (*AssetGroup) GetTweakedGroupKey

func (x *AssetGroup) GetTweakedGroupKey() []byte

func (*AssetGroup) ProtoMessage

func (*AssetGroup) ProtoMessage()

func (*AssetGroup) ProtoReflect

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

func (*AssetGroup) Reset

func (x *AssetGroup) Reset()

func (*AssetGroup) String

func (x *AssetGroup) String() string

type AssetGroupBalance

type AssetGroupBalance struct {

	// The group key or nil aggregating assets that don't have a group.
	GroupKey []byte `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// The total balance of the assets in the group.
	Balance uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetGroupBalance) Descriptor deprecated

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

Deprecated: Use AssetGroupBalance.ProtoReflect.Descriptor instead.

func (*AssetGroupBalance) GetBalance

func (x *AssetGroupBalance) GetBalance() uint64

func (*AssetGroupBalance) GetGroupKey

func (x *AssetGroupBalance) GetGroupKey() []byte

func (*AssetGroupBalance) ProtoMessage

func (*AssetGroupBalance) ProtoMessage()

func (*AssetGroupBalance) ProtoReflect

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

func (*AssetGroupBalance) Reset

func (x *AssetGroupBalance) Reset()

func (*AssetGroupBalance) String

func (x *AssetGroupBalance) String() string

type AssetHumanReadable

type AssetHumanReadable struct {

	// The ID of the asset.
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The amount of the asset.
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// An optional locktime, as with Bitcoin transactions.
	LockTime int32 `protobuf:"varint,3,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	// An optional relative locktime, as with Bitcoin transactions.
	RelativeLockTime int32 `protobuf:"varint,4,opt,name=relative_lock_time,json=relativeLockTime,proto3" json:"relative_lock_time,omitempty"`
	// The name of the asset.
	Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag,omitempty"`
	// The metadata hash of the asset.
	MetaHash []byte `protobuf:"bytes,6,opt,name=meta_hash,json=metaHash,proto3" json:"meta_hash,omitempty"`
	// The type of the asset.
	Type AssetType `protobuf:"varint,7,opt,name=type,proto3,enum=taprpc.AssetType" json:"type,omitempty"`
	// The version of the asset.
	Version AssetVersion `protobuf:"varint,8,opt,name=version,proto3,enum=taprpc.AssetVersion" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetHumanReadable) Descriptor deprecated

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

Deprecated: Use AssetHumanReadable.ProtoReflect.Descriptor instead.

func (*AssetHumanReadable) GetAmount

func (x *AssetHumanReadable) GetAmount() uint64

func (*AssetHumanReadable) GetId

func (x *AssetHumanReadable) GetId() []byte

func (*AssetHumanReadable) GetLockTime

func (x *AssetHumanReadable) GetLockTime() int32

func (*AssetHumanReadable) GetMetaHash

func (x *AssetHumanReadable) GetMetaHash() []byte

func (*AssetHumanReadable) GetRelativeLockTime

func (x *AssetHumanReadable) GetRelativeLockTime() int32

func (*AssetHumanReadable) GetTag

func (x *AssetHumanReadable) GetTag() string

func (*AssetHumanReadable) GetType

func (x *AssetHumanReadable) GetType() AssetType

func (*AssetHumanReadable) GetVersion added in v0.3.0

func (x *AssetHumanReadable) GetVersion() AssetVersion

func (*AssetHumanReadable) ProtoMessage

func (*AssetHumanReadable) ProtoMessage()

func (*AssetHumanReadable) ProtoReflect

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

func (*AssetHumanReadable) Reset

func (x *AssetHumanReadable) Reset()

func (*AssetHumanReadable) String

func (x *AssetHumanReadable) String() string

type AssetMeta

type AssetMeta struct {

	// The raw data of the asset meta data. Based on the type below, this may be
	// structured data such as a text file or PDF. The size of the data is limited
	// to 1MiB.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// The type of the asset meta data.
	Type AssetMetaType `protobuf:"varint,2,opt,name=type,proto3,enum=taprpc.AssetMetaType" json:"type,omitempty"`
	// The hash of the meta. This is the hash of the TLV serialization of the meta
	// itself.
	MetaHash []byte `protobuf:"bytes,3,opt,name=meta_hash,json=metaHash,proto3" json:"meta_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetMeta) Descriptor deprecated

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

Deprecated: Use AssetMeta.ProtoReflect.Descriptor instead.

func (*AssetMeta) GetData

func (x *AssetMeta) GetData() []byte

func (*AssetMeta) GetMetaHash

func (x *AssetMeta) GetMetaHash() []byte

func (*AssetMeta) GetType

func (x *AssetMeta) GetType() AssetMetaType

func (*AssetMeta) ProtoMessage

func (*AssetMeta) ProtoMessage()

func (*AssetMeta) ProtoReflect

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

func (*AssetMeta) Reset

func (x *AssetMeta) Reset()

func (*AssetMeta) String

func (x *AssetMeta) String() string

type AssetMetaType

type AssetMetaType int32
const (
	// Opaque is used for asset meta blobs that have no true structure and instead
	// should be interpreted as opaque blobs.
	AssetMetaType_META_TYPE_OPAQUE AssetMetaType = 0
	// JSON is used for asset meta blobs that are to be interpreted as valid JSON
	// strings.
	AssetMetaType_META_TYPE_JSON AssetMetaType = 1
)

func (AssetMetaType) Descriptor

func (AssetMetaType) Enum

func (x AssetMetaType) Enum() *AssetMetaType

func (AssetMetaType) EnumDescriptor deprecated

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

Deprecated: Use AssetMetaType.Descriptor instead.

func (AssetMetaType) Number

func (AssetMetaType) String

func (x AssetMetaType) String() string

func (AssetMetaType) Type

type AssetTransfer

type AssetTransfer struct {
	TransferTimestamp int64 `protobuf:"varint,1,opt,name=transfer_timestamp,json=transferTimestamp,proto3" json:"transfer_timestamp,omitempty"`
	// The new transaction that commits to the set of Taproot Assets found
	// at the above new anchor point.
	AnchorTxHash       []byte `protobuf:"bytes,2,opt,name=anchor_tx_hash,json=anchorTxHash,proto3" json:"anchor_tx_hash,omitempty"`
	AnchorTxHeightHint uint32 `protobuf:"varint,3,opt,name=anchor_tx_height_hint,json=anchorTxHeightHint,proto3" json:"anchor_tx_height_hint,omitempty"`
	AnchorTxChainFees  int64  `protobuf:"varint,4,opt,name=anchor_tx_chain_fees,json=anchorTxChainFees,proto3" json:"anchor_tx_chain_fees,omitempty"`
	// Describes the set of spent assets.
	Inputs []*TransferInput `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// Describes the set of newly created asset outputs.
	Outputs []*TransferOutput `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetTransfer) Descriptor deprecated

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

Deprecated: Use AssetTransfer.ProtoReflect.Descriptor instead.

func (*AssetTransfer) GetAnchorTxChainFees

func (x *AssetTransfer) GetAnchorTxChainFees() int64

func (*AssetTransfer) GetAnchorTxHash

func (x *AssetTransfer) GetAnchorTxHash() []byte

func (*AssetTransfer) GetAnchorTxHeightHint

func (x *AssetTransfer) GetAnchorTxHeightHint() uint32

func (*AssetTransfer) GetInputs

func (x *AssetTransfer) GetInputs() []*TransferInput

func (*AssetTransfer) GetOutputs

func (x *AssetTransfer) GetOutputs() []*TransferOutput

func (*AssetTransfer) GetTransferTimestamp

func (x *AssetTransfer) GetTransferTimestamp() int64

func (*AssetTransfer) ProtoMessage

func (*AssetTransfer) ProtoMessage()

func (*AssetTransfer) ProtoReflect

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

func (*AssetTransfer) Reset

func (x *AssetTransfer) Reset()

func (*AssetTransfer) String

func (x *AssetTransfer) String() string

type AssetType

type AssetType int32
const (
	// Indicates that an asset is capable of being split/merged, with each of the
	// units being fungible, even across a key asset ID boundary (assuming the
	// key group is the same).
	AssetType_NORMAL AssetType = 0
	// Indicates that an asset is a collectible, meaning that each of the other
	// items under the same key group are not fully fungible with each other.
	// Collectibles also cannot be split or merged.
	AssetType_COLLECTIBLE AssetType = 1
)

func (AssetType) Descriptor

func (AssetType) Descriptor() protoreflect.EnumDescriptor

func (AssetType) Enum

func (x AssetType) Enum() *AssetType

func (AssetType) EnumDescriptor deprecated

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

Deprecated: Use AssetType.Descriptor instead.

func (AssetType) Number

func (x AssetType) Number() protoreflect.EnumNumber

func (AssetType) String

func (x AssetType) String() string

func (AssetType) Type

type AssetVersion added in v0.3.0

type AssetVersion int32
const (
	// ASSET_VERSION_V0 is the default asset version. This version will include
	// the witness vector in the leaf for a tap commitment.
	AssetVersion_ASSET_VERSION_V0 AssetVersion = 0
	// ASSET_VERSION_V1 is the asset version that leaves out the witness vector
	// from the MS-SMT leaf encoding.
	AssetVersion_ASSET_VERSION_V1 AssetVersion = 1
)

func MarshalAssetVersion added in v0.3.0

func MarshalAssetVersion(version asset.Version) (AssetVersion, error)

MarshalAssetVersion parses an asset version from the RPC variant.

func (AssetVersion) Descriptor added in v0.3.0

func (AssetVersion) Enum added in v0.3.0

func (x AssetVersion) Enum() *AssetVersion

func (AssetVersion) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use AssetVersion.Descriptor instead.

func (AssetVersion) Number added in v0.3.0

func (AssetVersion) String added in v0.3.0

func (x AssetVersion) String() string

func (AssetVersion) Type added in v0.3.0

type BurnAssetRequest added in v0.3.0

type BurnAssetRequest struct {

	// Types that are assignable to Asset:
	//
	//	*BurnAssetRequest_AssetId
	//	*BurnAssetRequest_AssetIdStr
	Asset        isBurnAssetRequest_Asset `protobuf_oneof:"asset"`
	AmountToBurn uint64                   `protobuf:"varint,3,opt,name=amount_to_burn,json=amountToBurn,proto3" json:"amount_to_burn,omitempty"`
	// A safety check to ensure the user is aware of the destructive nature of
	// the burn. This needs to be set to the value "assets will be destroyed"
	// for the burn to succeed.
	ConfirmationText string `protobuf:"bytes,4,opt,name=confirmation_text,json=confirmationText,proto3" json:"confirmation_text,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnAssetRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BurnAssetRequest.ProtoReflect.Descriptor instead.

func (*BurnAssetRequest) GetAmountToBurn added in v0.3.0

func (x *BurnAssetRequest) GetAmountToBurn() uint64

func (*BurnAssetRequest) GetAsset added in v0.3.0

func (m *BurnAssetRequest) GetAsset() isBurnAssetRequest_Asset

func (*BurnAssetRequest) GetAssetId added in v0.3.0

func (x *BurnAssetRequest) GetAssetId() []byte

func (*BurnAssetRequest) GetAssetIdStr added in v0.3.0

func (x *BurnAssetRequest) GetAssetIdStr() string

func (*BurnAssetRequest) GetConfirmationText added in v0.3.0

func (x *BurnAssetRequest) GetConfirmationText() string

func (*BurnAssetRequest) ProtoMessage added in v0.3.0

func (*BurnAssetRequest) ProtoMessage()

func (*BurnAssetRequest) ProtoReflect added in v0.3.0

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

func (*BurnAssetRequest) Reset added in v0.3.0

func (x *BurnAssetRequest) Reset()

func (*BurnAssetRequest) String added in v0.3.0

func (x *BurnAssetRequest) String() string

type BurnAssetRequest_AssetId added in v0.3.0

type BurnAssetRequest_AssetId struct {
	// The asset ID of the asset to burn units of.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3,oneof"`
}

type BurnAssetRequest_AssetIdStr added in v0.3.0

type BurnAssetRequest_AssetIdStr struct {
	// The hex encoded asset ID of the asset to burn units of.
	AssetIdStr string `protobuf:"bytes,2,opt,name=asset_id_str,json=assetIdStr,proto3,oneof"`
}

type BurnAssetResponse added in v0.3.0

type BurnAssetResponse struct {

	// The asset transfer that contains the asset burn as an output.
	BurnTransfer *AssetTransfer `protobuf:"bytes,1,opt,name=burn_transfer,json=burnTransfer,proto3" json:"burn_transfer,omitempty"`
	// The burn transition proof for the asset burn output.
	BurnProof *DecodedProof `protobuf:"bytes,2,opt,name=burn_proof,json=burnProof,proto3" json:"burn_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnAssetResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BurnAssetResponse.ProtoReflect.Descriptor instead.

func (*BurnAssetResponse) GetBurnProof added in v0.3.0

func (x *BurnAssetResponse) GetBurnProof() *DecodedProof

func (*BurnAssetResponse) GetBurnTransfer added in v0.3.0

func (x *BurnAssetResponse) GetBurnTransfer() *AssetTransfer

func (*BurnAssetResponse) ProtoMessage added in v0.3.0

func (*BurnAssetResponse) ProtoMessage()

func (*BurnAssetResponse) ProtoReflect added in v0.3.0

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

func (*BurnAssetResponse) Reset added in v0.3.0

func (x *BurnAssetResponse) Reset()

func (*BurnAssetResponse) String added in v0.3.0

func (x *BurnAssetResponse) String() string

type DebugLevelRequest

type DebugLevelRequest struct {

	// If true, all the valid debug sub-systems will be returned.
	Show      bool   `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
	LevelSpec string `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec,proto3" json:"level_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugLevelRequest) Descriptor deprecated

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

Deprecated: Use DebugLevelRequest.ProtoReflect.Descriptor instead.

func (*DebugLevelRequest) GetLevelSpec

func (x *DebugLevelRequest) GetLevelSpec() string

func (*DebugLevelRequest) GetShow

func (x *DebugLevelRequest) GetShow() bool

func (*DebugLevelRequest) ProtoMessage

func (*DebugLevelRequest) ProtoMessage()

func (*DebugLevelRequest) ProtoReflect

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

func (*DebugLevelRequest) Reset

func (x *DebugLevelRequest) Reset()

func (*DebugLevelRequest) String

func (x *DebugLevelRequest) String() string

type DebugLevelResponse

type DebugLevelResponse struct {
	SubSystems string `protobuf:"bytes,1,opt,name=sub_systems,json=subSystems,proto3" json:"sub_systems,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugLevelResponse) Descriptor deprecated

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

Deprecated: Use DebugLevelResponse.ProtoReflect.Descriptor instead.

func (*DebugLevelResponse) GetSubSystems

func (x *DebugLevelResponse) GetSubSystems() string

func (*DebugLevelResponse) ProtoMessage

func (*DebugLevelResponse) ProtoMessage()

func (*DebugLevelResponse) ProtoReflect

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

func (*DebugLevelResponse) Reset

func (x *DebugLevelResponse) Reset()

func (*DebugLevelResponse) String

func (x *DebugLevelResponse) String() string

type DecimalDisplay added in v0.4.0

type DecimalDisplay struct {

	// Decimal display dictates the number of decimal places to shift the amount to
	// the left converting from Taproot Asset integer representation to a
	// UX-recognizable fractional quantity.
	//
	// For example, if the decimal_display value is 2 and there's 100 of those
	// assets, then a wallet would display the amount as "1.00". This field is
	// intended as information for wallets that display balances and has no impact
	// on the behavior of the daemon or any other part of the protocol. This value
	// is encoded in the MetaData field as a JSON field, therefore it is only
	// compatible with assets that have a JSON MetaData field.
	DecimalDisplay uint32 `protobuf:"varint,1,opt,name=decimal_display,json=decimalDisplay,proto3" json:"decimal_display,omitempty"`
	// contains filtered or unexported fields
}

func (*DecimalDisplay) Descriptor deprecated added in v0.4.0

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

Deprecated: Use DecimalDisplay.ProtoReflect.Descriptor instead.

func (*DecimalDisplay) GetDecimalDisplay added in v0.4.0

func (x *DecimalDisplay) GetDecimalDisplay() uint32

func (*DecimalDisplay) ProtoMessage added in v0.4.0

func (*DecimalDisplay) ProtoMessage()

func (*DecimalDisplay) ProtoReflect added in v0.4.0

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

func (*DecimalDisplay) Reset added in v0.4.0

func (x *DecimalDisplay) Reset()

func (*DecimalDisplay) String added in v0.4.0

func (x *DecimalDisplay) String() string

type DecodeAddrRequest

type DecodeAddrRequest struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeAddrRequest) Descriptor deprecated

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

Deprecated: Use DecodeAddrRequest.ProtoReflect.Descriptor instead.

func (*DecodeAddrRequest) GetAddr

func (x *DecodeAddrRequest) GetAddr() string

func (*DecodeAddrRequest) ProtoMessage

func (*DecodeAddrRequest) ProtoMessage()

func (*DecodeAddrRequest) ProtoReflect

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

func (*DecodeAddrRequest) Reset

func (x *DecodeAddrRequest) Reset()

func (*DecodeAddrRequest) String

func (x *DecodeAddrRequest) String() string

type DecodeProofRequest added in v0.2.1

type DecodeProofRequest struct {

	// The raw proof bytes to decode. This can be a full proof file or a single
	// mint/transition proof. If it is a full proof file, the proof_at_depth
	// field will be used to determine which individual proof within the file to
	// decode.
	RawProof []byte `protobuf:"bytes,1,opt,name=raw_proof,json=rawProof,proto3" json:"raw_proof,omitempty"`
	// The index depth of the decoded proof, with 0 being the latest proof. This
	// is ignored if the raw_proof is a single mint/transition proof and not a
	// proof file.
	ProofAtDepth uint32 `protobuf:"varint,2,opt,name=proof_at_depth,json=proofAtDepth,proto3" json:"proof_at_depth,omitempty"`
	// An option to include previous witnesses in decoding.
	WithPrevWitnesses bool `protobuf:"varint,3,opt,name=with_prev_witnesses,json=withPrevWitnesses,proto3" json:"with_prev_witnesses,omitempty"`
	// An option to attempt to retrieve the meta data associated with the proof.
	WithMetaReveal bool `protobuf:"varint,4,opt,name=with_meta_reveal,json=withMetaReveal,proto3" json:"with_meta_reveal,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeProofRequest) Descriptor deprecated added in v0.2.1

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

Deprecated: Use DecodeProofRequest.ProtoReflect.Descriptor instead.

func (*DecodeProofRequest) GetProofAtDepth added in v0.2.1

func (x *DecodeProofRequest) GetProofAtDepth() uint32

func (*DecodeProofRequest) GetRawProof added in v0.2.1

func (x *DecodeProofRequest) GetRawProof() []byte

func (*DecodeProofRequest) GetWithMetaReveal added in v0.2.1

func (x *DecodeProofRequest) GetWithMetaReveal() bool

func (*DecodeProofRequest) GetWithPrevWitnesses added in v0.2.1

func (x *DecodeProofRequest) GetWithPrevWitnesses() bool

func (*DecodeProofRequest) ProtoMessage added in v0.2.1

func (*DecodeProofRequest) ProtoMessage()

func (*DecodeProofRequest) ProtoReflect added in v0.2.1

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

func (*DecodeProofRequest) Reset added in v0.2.1

func (x *DecodeProofRequest) Reset()

func (*DecodeProofRequest) String added in v0.2.1

func (x *DecodeProofRequest) String() string

type DecodeProofResponse added in v0.2.1

type DecodeProofResponse struct {
	DecodedProof *DecodedProof `protobuf:"bytes,1,opt,name=decoded_proof,json=decodedProof,proto3" json:"decoded_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodeProofResponse) Descriptor deprecated added in v0.2.1

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

Deprecated: Use DecodeProofResponse.ProtoReflect.Descriptor instead.

func (*DecodeProofResponse) GetDecodedProof added in v0.2.1

func (x *DecodeProofResponse) GetDecodedProof() *DecodedProof

func (*DecodeProofResponse) ProtoMessage added in v0.2.1

func (*DecodeProofResponse) ProtoMessage()

func (*DecodeProofResponse) ProtoReflect added in v0.2.1

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

func (*DecodeProofResponse) Reset added in v0.2.1

func (x *DecodeProofResponse) Reset()

func (*DecodeProofResponse) String added in v0.2.1

func (x *DecodeProofResponse) String() string

type DecodedProof added in v0.2.1

type DecodedProof struct {

	// The index depth of the decoded proof, with 0 being the latest proof.
	ProofAtDepth uint32 `protobuf:"varint,1,opt,name=proof_at_depth,json=proofAtDepth,proto3" json:"proof_at_depth,omitempty"`
	// The total number of proofs contained in the decoded proof file (this will
	// always be 1 if a single mint/transition proof was given as the raw_proof
	// instead of a file).
	NumberOfProofs uint32 `protobuf:"varint,2,opt,name=number_of_proofs,json=numberOfProofs,proto3" json:"number_of_proofs,omitempty"`
	// The asset referenced in the proof.
	Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	// The reveal meta data associated with the proof, if available.
	MetaReveal *AssetMeta `protobuf:"bytes,4,opt,name=meta_reveal,json=metaReveal,proto3" json:"meta_reveal,omitempty"`
	// The merkle proof for AnchorTx used to prove its
	// inclusion within BlockHeader.
	TxMerkleProof []byte `protobuf:"bytes,5,opt,name=tx_merkle_proof,json=txMerkleProof,proto3" json:"tx_merkle_proof,omitempty"`
	// The TaprootProof proving the new inclusion of the
	// resulting asset within AnchorTx.
	InclusionProof []byte `protobuf:"bytes,6,opt,name=inclusion_proof,json=inclusionProof,proto3" json:"inclusion_proof,omitempty"`
	// The set of TaprootProofs proving the exclusion of
	// the resulting asset from all other Taproot outputs within AnchorTx.
	ExclusionProofs [][]byte `protobuf:"bytes,7,rep,name=exclusion_proofs,json=exclusionProofs,proto3" json:"exclusion_proofs,omitempty"`
	// An optional TaprootProof needed if this asset is
	// the result of a split. SplitRootProof proves inclusion of the root
	// asset of the split.
	SplitRootProof []byte `protobuf:"bytes,8,opt,name=split_root_proof,json=splitRootProof,proto3" json:"split_root_proof,omitempty"`
	// The number of additional nested full proofs for any inputs found within
	// the resulting asset.
	NumAdditionalInputs uint32 `protobuf:"varint,9,opt,name=num_additional_inputs,json=numAdditionalInputs,proto3" json:"num_additional_inputs,omitempty"`
	// ChallengeWitness is an optional virtual transaction witness that serves
	// as an ownership proof for the asset. If this is non-nil, then it is a
	// valid transfer witness for a 1-input, 1-output virtual transaction that
	// spends the asset in this proof and sends it to the NUMS key, to prove
	// that the creator of the proof is able to produce a valid signature to
	// spend the asset.
	ChallengeWitness [][]byte `protobuf:"bytes,10,rep,name=challenge_witness,json=challengeWitness,proto3" json:"challenge_witness,omitempty"`
	// Indicates whether the state transition this proof represents is a burn,
	// meaning that the assets were provably destroyed and can no longer be
	// spent.
	IsBurn bool `protobuf:"varint,11,opt,name=is_burn,json=isBurn,proto3" json:"is_burn,omitempty"`
	// GenesisReveal is an optional field that is the Genesis information for
	// the asset. This is required for minting proofs.
	GenesisReveal *GenesisReveal `protobuf:"bytes,12,opt,name=genesis_reveal,json=genesisReveal,proto3" json:"genesis_reveal,omitempty"`
	// GroupKeyReveal is an optional field that includes the information needed
	// to derive the tweaked group key.
	GroupKeyReveal *GroupKeyReveal `protobuf:"bytes,13,opt,name=group_key_reveal,json=groupKeyReveal,proto3" json:"group_key_reveal,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedProof) Descriptor deprecated added in v0.2.1

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

Deprecated: Use DecodedProof.ProtoReflect.Descriptor instead.

func (*DecodedProof) GetAsset added in v0.2.1

func (x *DecodedProof) GetAsset() *Asset

func (*DecodedProof) GetChallengeWitness added in v0.2.1

func (x *DecodedProof) GetChallengeWitness() [][]byte

func (*DecodedProof) GetExclusionProofs added in v0.2.1

func (x *DecodedProof) GetExclusionProofs() [][]byte

func (*DecodedProof) GetGenesisReveal added in v0.3.0

func (x *DecodedProof) GetGenesisReveal() *GenesisReveal

func (*DecodedProof) GetGroupKeyReveal added in v0.3.0

func (x *DecodedProof) GetGroupKeyReveal() *GroupKeyReveal

func (*DecodedProof) GetInclusionProof added in v0.2.1

func (x *DecodedProof) GetInclusionProof() []byte

func (*DecodedProof) GetIsBurn added in v0.3.0

func (x *DecodedProof) GetIsBurn() bool

func (*DecodedProof) GetMetaReveal added in v0.2.1

func (x *DecodedProof) GetMetaReveal() *AssetMeta

func (*DecodedProof) GetNumAdditionalInputs added in v0.2.1

func (x *DecodedProof) GetNumAdditionalInputs() uint32

func (*DecodedProof) GetNumberOfProofs added in v0.2.1

func (x *DecodedProof) GetNumberOfProofs() uint32

func (*DecodedProof) GetProofAtDepth added in v0.2.1

func (x *DecodedProof) GetProofAtDepth() uint32

func (*DecodedProof) GetSplitRootProof added in v0.2.1

func (x *DecodedProof) GetSplitRootProof() []byte

func (*DecodedProof) GetTxMerkleProof added in v0.2.1

func (x *DecodedProof) GetTxMerkleProof() []byte

func (*DecodedProof) ProtoMessage added in v0.2.1

func (*DecodedProof) ProtoMessage()

func (*DecodedProof) ProtoReflect added in v0.2.1

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

func (*DecodedProof) Reset added in v0.2.1

func (x *DecodedProof) Reset()

func (*DecodedProof) String added in v0.2.1

func (x *DecodedProof) String() string

type ExportProofRequest

type ExportProofRequest struct {
	AssetId   []byte    `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	ScriptKey []byte    `protobuf:"bytes,2,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	Outpoint  *OutPoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportProofRequest) Descriptor deprecated

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

Deprecated: Use ExportProofRequest.ProtoReflect.Descriptor instead.

func (*ExportProofRequest) GetAssetId

func (x *ExportProofRequest) GetAssetId() []byte

func (*ExportProofRequest) GetOutpoint added in v0.3.3

func (x *ExportProofRequest) GetOutpoint() *OutPoint

func (*ExportProofRequest) GetScriptKey

func (x *ExportProofRequest) GetScriptKey() []byte

func (*ExportProofRequest) ProtoMessage

func (*ExportProofRequest) ProtoMessage()

func (*ExportProofRequest) ProtoReflect

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

func (*ExportProofRequest) Reset

func (x *ExportProofRequest) Reset()

func (*ExportProofRequest) String

func (x *ExportProofRequest) String() string

type FetchAssetMetaRequest

type FetchAssetMetaRequest struct {

	// Types that are assignable to Asset:
	//
	//	*FetchAssetMetaRequest_AssetId
	//	*FetchAssetMetaRequest_MetaHash
	//	*FetchAssetMetaRequest_AssetIdStr
	//	*FetchAssetMetaRequest_MetaHashStr
	Asset isFetchAssetMetaRequest_Asset `protobuf_oneof:"asset"`
	// contains filtered or unexported fields
}

func (*FetchAssetMetaRequest) Descriptor deprecated

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

Deprecated: Use FetchAssetMetaRequest.ProtoReflect.Descriptor instead.

func (*FetchAssetMetaRequest) GetAsset

func (m *FetchAssetMetaRequest) GetAsset() isFetchAssetMetaRequest_Asset

func (*FetchAssetMetaRequest) GetAssetId

func (x *FetchAssetMetaRequest) GetAssetId() []byte

func (*FetchAssetMetaRequest) GetAssetIdStr added in v0.3.0

func (x *FetchAssetMetaRequest) GetAssetIdStr() string

func (*FetchAssetMetaRequest) GetMetaHash

func (x *FetchAssetMetaRequest) GetMetaHash() []byte

func (*FetchAssetMetaRequest) GetMetaHashStr added in v0.3.0

func (x *FetchAssetMetaRequest) GetMetaHashStr() string

func (*FetchAssetMetaRequest) ProtoMessage

func (*FetchAssetMetaRequest) ProtoMessage()

func (*FetchAssetMetaRequest) ProtoReflect

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

func (*FetchAssetMetaRequest) Reset

func (x *FetchAssetMetaRequest) Reset()

func (*FetchAssetMetaRequest) String

func (x *FetchAssetMetaRequest) String() string

type FetchAssetMetaRequest_AssetId

type FetchAssetMetaRequest_AssetId struct {
	// The asset ID of the asset to fetch the meta for.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3,oneof"`
}

type FetchAssetMetaRequest_AssetIdStr added in v0.3.0

type FetchAssetMetaRequest_AssetIdStr struct {
	// The hex encoded asset ID of the asset to fetch the meta for.
	AssetIdStr string `protobuf:"bytes,3,opt,name=asset_id_str,json=assetIdStr,proto3,oneof"`
}

type FetchAssetMetaRequest_MetaHash

type FetchAssetMetaRequest_MetaHash struct {
	// The 32-byte meta hash of the asset meta.
	MetaHash []byte `protobuf:"bytes,2,opt,name=meta_hash,json=metaHash,proto3,oneof"`
}

type FetchAssetMetaRequest_MetaHashStr added in v0.3.0

type FetchAssetMetaRequest_MetaHashStr struct {
	// The hex encoded meta hash of the asset meta.
	MetaHashStr string `protobuf:"bytes,4,opt,name=meta_hash_str,json=metaHashStr,proto3,oneof"`
}

type GenesisInfo

type GenesisInfo struct {

	// The first outpoint of the transaction that created the asset (txid:vout).
	GenesisPoint string `protobuf:"bytes,1,opt,name=genesis_point,json=genesisPoint,proto3" json:"genesis_point,omitempty"`
	// The name of the asset.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The hash of the meta data for this genesis asset.
	MetaHash []byte `protobuf:"bytes,3,opt,name=meta_hash,json=metaHash,proto3" json:"meta_hash,omitempty"`
	// The asset ID that uniquely identifies the asset.
	AssetId []byte `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The type of the asset.
	AssetType AssetType `protobuf:"varint,5,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,omitempty"`
	// The index of the output that carries the unique Taproot Asset commitment in
	// the genesis transaction.
	OutputIndex uint32 `protobuf:"varint,6,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	// contains filtered or unexported fields
}

func MarshalGenesisInfo added in v0.4.0

func MarshalGenesisInfo(gen *asset.Genesis, assetType asset.Type) *GenesisInfo

MarshalGenesisInfo marshals the native asset genesis into the RPC counterpart.

func (*GenesisInfo) Descriptor deprecated

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

Deprecated: Use GenesisInfo.ProtoReflect.Descriptor instead.

func (*GenesisInfo) GetAssetId

func (x *GenesisInfo) GetAssetId() []byte

func (*GenesisInfo) GetAssetType added in v0.3.1

func (x *GenesisInfo) GetAssetType() AssetType

func (*GenesisInfo) GetGenesisPoint

func (x *GenesisInfo) GetGenesisPoint() string

func (*GenesisInfo) GetMetaHash

func (x *GenesisInfo) GetMetaHash() []byte

func (*GenesisInfo) GetName

func (x *GenesisInfo) GetName() string

func (*GenesisInfo) GetOutputIndex

func (x *GenesisInfo) GetOutputIndex() uint32

func (*GenesisInfo) ProtoMessage

func (*GenesisInfo) ProtoMessage()

func (*GenesisInfo) ProtoReflect

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

func (*GenesisInfo) Reset

func (x *GenesisInfo) Reset()

func (*GenesisInfo) String

func (x *GenesisInfo) String() string

type GenesisReveal added in v0.3.0

type GenesisReveal struct {

	// The base genesis information in the genesis reveal.
	GenesisBaseReveal *GenesisInfo `protobuf:"bytes,1,opt,name=genesis_base_reveal,json=genesisBaseReveal,proto3" json:"genesis_base_reveal,omitempty"`
	// contains filtered or unexported fields
}

func (*GenesisReveal) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GenesisReveal.ProtoReflect.Descriptor instead.

func (*GenesisReveal) GetGenesisBaseReveal added in v0.3.0

func (x *GenesisReveal) GetGenesisBaseReveal() *GenesisInfo

func (*GenesisReveal) ProtoMessage added in v0.3.0

func (*GenesisReveal) ProtoMessage()

func (*GenesisReveal) ProtoReflect added in v0.3.0

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

func (*GenesisReveal) Reset added in v0.3.0

func (x *GenesisReveal) Reset()

func (*GenesisReveal) String added in v0.3.0

func (x *GenesisReveal) String() string

type GetInfoRequest added in v0.2.1

type GetInfoRequest struct {
	// contains filtered or unexported fields
}

func (*GetInfoRequest) Descriptor deprecated added in v0.2.1

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

Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetInfoRequest) ProtoMessage added in v0.2.1

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) ProtoReflect added in v0.2.1

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

func (*GetInfoRequest) Reset added in v0.2.1

func (x *GetInfoRequest) Reset()

func (*GetInfoRequest) String added in v0.2.1

func (x *GetInfoRequest) String() string

type GetInfoResponse added in v0.2.1

type GetInfoResponse struct {
	Version           string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	LndVersion        string `protobuf:"bytes,2,opt,name=lnd_version,json=lndVersion,proto3" json:"lnd_version,omitempty"`
	Network           string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	LndIdentityPubkey string `protobuf:"bytes,4,opt,name=lnd_identity_pubkey,json=lndIdentityPubkey,proto3" json:"lnd_identity_pubkey,omitempty"`
	NodeAlias         string `protobuf:"bytes,5,opt,name=node_alias,json=nodeAlias,proto3" json:"node_alias,omitempty"`
	BlockHeight       uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	BlockHash         string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	SyncToChain       bool   `protobuf:"varint,8,opt,name=sync_to_chain,json=syncToChain,proto3" json:"sync_to_chain,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInfoResponse) Descriptor deprecated added in v0.2.1

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

Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetInfoResponse) GetBlockHash added in v0.3.0

func (x *GetInfoResponse) GetBlockHash() string

func (*GetInfoResponse) GetBlockHeight added in v0.3.0

func (x *GetInfoResponse) GetBlockHeight() uint32

func (*GetInfoResponse) GetLndIdentityPubkey added in v0.3.0

func (x *GetInfoResponse) GetLndIdentityPubkey() string

func (*GetInfoResponse) GetLndVersion added in v0.2.1

func (x *GetInfoResponse) GetLndVersion() string

func (*GetInfoResponse) GetNetwork added in v0.2.1

func (x *GetInfoResponse) GetNetwork() string

func (*GetInfoResponse) GetNodeAlias added in v0.3.0

func (x *GetInfoResponse) GetNodeAlias() string

func (*GetInfoResponse) GetSyncToChain added in v0.3.0

func (x *GetInfoResponse) GetSyncToChain() bool

func (*GetInfoResponse) GetVersion added in v0.2.1

func (x *GetInfoResponse) GetVersion() string

func (*GetInfoResponse) ProtoMessage added in v0.2.1

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) ProtoReflect added in v0.2.1

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

func (*GetInfoResponse) Reset added in v0.2.1

func (x *GetInfoResponse) Reset()

func (*GetInfoResponse) String added in v0.2.1

func (x *GetInfoResponse) String() string

type GroupKeyRequest added in v0.4.0

type GroupKeyRequest struct {

	// The internal key for the asset group before any tweaks have been applied.
	RawKey *KeyDescriptor `protobuf:"bytes,1,opt,name=raw_key,json=rawKey,proto3" json:"raw_key,omitempty"`
	// The genesis of the group anchor asset, which is used to derive the single
	// tweak for the group key. For a new group key, this will be the genesis of
	// new_asset.
	AnchorGenesis *GenesisInfo `protobuf:"bytes,2,opt,name=anchor_genesis,json=anchorGenesis,proto3" json:"anchor_genesis,omitempty"`
	// The optional root of a tapscript tree that will be used when constructing a
	// new asset group key. This enables future issuance authorized with a script
	// witness.
	TapscriptRoot []byte `protobuf:"bytes,3,opt,name=tapscript_root,json=tapscriptRoot,proto3" json:"tapscript_root,omitempty"`
	// The serialized asset which we are requesting group membership for. A
	// successful request will produce a witness that authorizes this asset to be a
	// member of this asset group.
	NewAsset []byte `protobuf:"bytes,4,opt,name=new_asset,json=newAsset,proto3" json:"new_asset,omitempty"`
	// contains filtered or unexported fields
}

func MarshalGroupKeyRequest added in v0.4.0

func MarshalGroupKeyRequest(req *asset.GroupKeyRequest) (*GroupKeyRequest,
	error)

MarshalGroupKeyRequest marshals the native group key request into the RPC counterpart.

func (*GroupKeyRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use GroupKeyRequest.ProtoReflect.Descriptor instead.

func (*GroupKeyRequest) GetAnchorGenesis added in v0.4.0

func (x *GroupKeyRequest) GetAnchorGenesis() *GenesisInfo

func (*GroupKeyRequest) GetNewAsset added in v0.4.0

func (x *GroupKeyRequest) GetNewAsset() []byte

func (*GroupKeyRequest) GetRawKey added in v0.4.0

func (x *GroupKeyRequest) GetRawKey() *KeyDescriptor

func (*GroupKeyRequest) GetTapscriptRoot added in v0.4.0

func (x *GroupKeyRequest) GetTapscriptRoot() []byte

func (*GroupKeyRequest) ProtoMessage added in v0.4.0

func (*GroupKeyRequest) ProtoMessage()

func (*GroupKeyRequest) ProtoReflect added in v0.4.0

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

func (*GroupKeyRequest) Reset added in v0.4.0

func (x *GroupKeyRequest) Reset()

func (*GroupKeyRequest) String added in v0.4.0

func (x *GroupKeyRequest) String() string

type GroupKeyReveal added in v0.3.0

type GroupKeyReveal struct {

	// The raw group key which is a normal public key.
	RawGroupKey []byte `protobuf:"bytes,1,opt,name=raw_group_key,json=rawGroupKey,proto3" json:"raw_group_key,omitempty"`
	// The tapscript root included in the tweaked group key, which may be empty.
	TapscriptRoot []byte `protobuf:"bytes,2,opt,name=tapscript_root,json=tapscriptRoot,proto3" json:"tapscript_root,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupKeyReveal) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GroupKeyReveal.ProtoReflect.Descriptor instead.

func (*GroupKeyReveal) GetRawGroupKey added in v0.3.0

func (x *GroupKeyReveal) GetRawGroupKey() []byte

func (*GroupKeyReveal) GetTapscriptRoot added in v0.3.0

func (x *GroupKeyReveal) GetTapscriptRoot() []byte

func (*GroupKeyReveal) ProtoMessage added in v0.3.0

func (*GroupKeyReveal) ProtoMessage()

func (*GroupKeyReveal) ProtoReflect added in v0.3.0

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

func (*GroupKeyReveal) Reset added in v0.3.0

func (x *GroupKeyReveal) Reset()

func (*GroupKeyReveal) String added in v0.3.0

func (x *GroupKeyReveal) String() string

type GroupVirtualTx added in v0.4.0

type GroupVirtualTx struct {

	// The virtual transaction that represents the genesis state transition of a
	// grouped asset.
	Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// The transaction output that represents a grouped asset. The tweaked
	// group key is set as the PkScript of this output. This is used in combination
	// with Tx to produce an asset group witness.
	PrevOut *TxOut `protobuf:"bytes,2,opt,name=prev_out,json=prevOut,proto3" json:"prev_out,omitempty"`
	// The asset ID of the grouped asset in a GroupKeyRequest. This ID is
	// needed to construct a sign descriptor, as it is the single tweak for the
	// group internal key.
	GenesisId []byte `protobuf:"bytes,3,opt,name=genesis_id,json=genesisId,proto3" json:"genesis_id,omitempty"`
	// The tweaked group key for a specific GroupKeyRequest. This is used to
	// construct a complete group key after producing an asset group witness.
	TweakedKey []byte `protobuf:"bytes,4,opt,name=tweaked_key,json=tweakedKey,proto3" json:"tweaked_key,omitempty"`
	// contains filtered or unexported fields
}

func MarshalGroupVirtualTx added in v0.4.0

func MarshalGroupVirtualTx(genTx *asset.GroupVirtualTx) (*GroupVirtualTx,
	error)

MarshalGroupVirtualTx marshals the native asset group virtual transaction into the RPC counterpart.

func (*GroupVirtualTx) Descriptor deprecated added in v0.4.0

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

Deprecated: Use GroupVirtualTx.ProtoReflect.Descriptor instead.

func (*GroupVirtualTx) GetGenesisId added in v0.4.0

func (x *GroupVirtualTx) GetGenesisId() []byte

func (*GroupVirtualTx) GetPrevOut added in v0.4.0

func (x *GroupVirtualTx) GetPrevOut() *TxOut

func (*GroupVirtualTx) GetTransaction added in v0.4.0

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

func (*GroupVirtualTx) GetTweakedKey added in v0.4.0

func (x *GroupVirtualTx) GetTweakedKey() []byte

func (*GroupVirtualTx) ProtoMessage added in v0.4.0

func (*GroupVirtualTx) ProtoMessage()

func (*GroupVirtualTx) ProtoReflect added in v0.4.0

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

func (*GroupVirtualTx) Reset added in v0.4.0

func (x *GroupVirtualTx) Reset()

func (*GroupVirtualTx) String added in v0.4.0

func (x *GroupVirtualTx) String() string

type GroupWitness added in v0.4.0

type GroupWitness struct {

	// The asset ID of the pending asset that should be assigned this asset
	// group witness.
	GenesisId []byte `protobuf:"bytes,1,opt,name=genesis_id,json=genesisId,proto3" json:"genesis_id,omitempty"`
	// The serialized witness stack for the asset group.
	Witness [][]byte `protobuf:"bytes,2,rep,name=witness,proto3" json:"witness,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupWitness) Descriptor deprecated added in v0.4.0

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

Deprecated: Use GroupWitness.ProtoReflect.Descriptor instead.

func (*GroupWitness) GetGenesisId added in v0.4.0

func (x *GroupWitness) GetGenesisId() []byte

func (*GroupWitness) GetWitness added in v0.4.0

func (x *GroupWitness) GetWitness() [][]byte

func (*GroupWitness) ProtoMessage added in v0.4.0

func (*GroupWitness) ProtoMessage()

func (*GroupWitness) ProtoReflect added in v0.4.0

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

func (*GroupWitness) Reset added in v0.4.0

func (x *GroupWitness) Reset()

func (*GroupWitness) String added in v0.4.0

func (x *GroupWitness) String() string

type GroupedAssets

type GroupedAssets struct {

	// A list of assets with the same group key.
	Assets []*AssetHumanReadable `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupedAssets) Descriptor deprecated

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

Deprecated: Use GroupedAssets.ProtoReflect.Descriptor instead.

func (*GroupedAssets) GetAssets

func (x *GroupedAssets) GetAssets() []*AssetHumanReadable

func (*GroupedAssets) ProtoMessage

func (*GroupedAssets) ProtoMessage()

func (*GroupedAssets) ProtoReflect

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

func (*GroupedAssets) Reset

func (x *GroupedAssets) Reset()

func (*GroupedAssets) String

func (x *GroupedAssets) String() string

type KeyDescriptor

type KeyDescriptor struct {

	// The raw bytes of the key being identified.
	RawKeyBytes []byte `protobuf:"bytes,1,opt,name=raw_key_bytes,json=rawKeyBytes,proto3" json:"raw_key_bytes,omitempty"`
	// The key locator that identifies which key to use for signing.
	KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"`
	// contains filtered or unexported fields
}

func MarshalKeyDescriptor added in v0.4.0

func MarshalKeyDescriptor(desc keychain.KeyDescriptor) *KeyDescriptor

MarshalKeyDescriptor marshals the native key descriptor into the RPC counterpart.

func (*KeyDescriptor) Descriptor deprecated

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

Deprecated: Use KeyDescriptor.ProtoReflect.Descriptor instead.

func (*KeyDescriptor) GetKeyLoc

func (x *KeyDescriptor) GetKeyLoc() *KeyLocator

func (*KeyDescriptor) GetRawKeyBytes

func (x *KeyDescriptor) GetRawKeyBytes() []byte

func (*KeyDescriptor) ProtoMessage

func (*KeyDescriptor) ProtoMessage()

func (*KeyDescriptor) ProtoReflect

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

func (*KeyDescriptor) Reset

func (x *KeyDescriptor) Reset()

func (*KeyDescriptor) String

func (x *KeyDescriptor) String() string

type KeyLocator

type KeyLocator struct {

	// The family of key being identified.
	KeyFamily int32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"`
	// The precise index of the key being identified.
	KeyIndex int32 `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyLocator) Descriptor deprecated

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

Deprecated: Use KeyLocator.ProtoReflect.Descriptor instead.

func (*KeyLocator) GetKeyFamily

func (x *KeyLocator) GetKeyFamily() int32

func (*KeyLocator) GetKeyIndex

func (x *KeyLocator) GetKeyIndex() int32

func (*KeyLocator) ProtoMessage

func (*KeyLocator) ProtoMessage()

func (*KeyLocator) ProtoReflect

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

func (*KeyLocator) Reset

func (x *KeyLocator) Reset()

func (*KeyLocator) String

func (x *KeyLocator) String() string

type KeyLookup added in v0.3.0

type KeyLookup interface {
	// IsLocalKey returns true if the key is under the control of the
	// wallet and can be derived by it.
	IsLocalKey(ctx context.Context, desc keychain.KeyDescriptor) bool
}

KeyLookup is used to determine whether a key is under the control of the local wallet.

type ListAssetRequest

type ListAssetRequest struct {
	WithWitness   bool `protobuf:"varint,1,opt,name=with_witness,json=withWitness,proto3" json:"with_witness,omitempty"`
	IncludeSpent  bool `protobuf:"varint,2,opt,name=include_spent,json=includeSpent,proto3" json:"include_spent,omitempty"`
	IncludeLeased bool `protobuf:"varint,3,opt,name=include_leased,json=includeLeased,proto3" json:"include_leased,omitempty"`
	// List assets that aren't confirmed yet. Only freshly minted assets will
	// show in the asset list with a block height of 0. All other forms of
	// unconfirmed assets will not appear in the list until the transaction is
	// confirmed (check either transfers or receives for unconfirmed outbound or
	// inbound assets).
	IncludeUnconfirmedMints bool `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListAssetRequest) Descriptor deprecated

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

Deprecated: Use ListAssetRequest.ProtoReflect.Descriptor instead.

func (*ListAssetRequest) GetIncludeLeased added in v0.3.0

func (x *ListAssetRequest) GetIncludeLeased() bool

func (*ListAssetRequest) GetIncludeSpent

func (x *ListAssetRequest) GetIncludeSpent() bool

func (*ListAssetRequest) GetIncludeUnconfirmedMints added in v0.4.0

func (x *ListAssetRequest) GetIncludeUnconfirmedMints() bool

func (*ListAssetRequest) GetWithWitness

func (x *ListAssetRequest) GetWithWitness() bool

func (*ListAssetRequest) ProtoMessage

func (*ListAssetRequest) ProtoMessage()

func (*ListAssetRequest) ProtoReflect

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

func (*ListAssetRequest) Reset

func (x *ListAssetRequest) Reset()

func (*ListAssetRequest) String

func (x *ListAssetRequest) String() string

type ListAssetResponse

type ListAssetResponse struct {
	Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// This is a count of unconfirmed outgoing transfers. Unconfirmed transfers
	// do not appear as assets in this endpoint response.
	UnconfirmedTransfers uint64 `protobuf:"varint,2,opt,name=unconfirmed_transfers,json=unconfirmedTransfers,proto3" json:"unconfirmed_transfers,omitempty"`
	// This is a count of freshly minted assets that haven't been confirmed on
	// chain yet. These assets will appear in the asset list with a block height
	// of 0 if include_unconfirmed_mints is set to true in the request.
	UnconfirmedMints uint64 `protobuf:"varint,3,opt,name=unconfirmed_mints,json=unconfirmedMints,proto3" json:"unconfirmed_mints,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssetResponse) Descriptor deprecated

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

Deprecated: Use ListAssetResponse.ProtoReflect.Descriptor instead.

func (*ListAssetResponse) GetAssets

func (x *ListAssetResponse) GetAssets() []*Asset

func (*ListAssetResponse) GetUnconfirmedMints added in v0.4.0

func (x *ListAssetResponse) GetUnconfirmedMints() uint64

func (*ListAssetResponse) GetUnconfirmedTransfers added in v0.4.0

func (x *ListAssetResponse) GetUnconfirmedTransfers() uint64

func (*ListAssetResponse) ProtoMessage

func (*ListAssetResponse) ProtoMessage()

func (*ListAssetResponse) ProtoReflect

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

func (*ListAssetResponse) Reset

func (x *ListAssetResponse) Reset()

func (*ListAssetResponse) String

func (x *ListAssetResponse) String() string

type ListBalancesRequest

type ListBalancesRequest struct {

	// Types that are assignable to GroupBy:
	//
	//	*ListBalancesRequest_AssetId
	//	*ListBalancesRequest_GroupKey
	GroupBy isListBalancesRequest_GroupBy `protobuf_oneof:"group_by"`
	// If the query results should grouped by asset ids, then an optional asset
	// filter may be provided to query balance of a specific asset.
	AssetFilter []byte `protobuf:"bytes,3,opt,name=asset_filter,json=assetFilter,proto3" json:"asset_filter,omitempty"`
	// If the query results should be grouped by group keys, then an optional
	// group key filter may be provided to query the balance of a specific
	// asset group.
	GroupKeyFilter []byte `protobuf:"bytes,4,opt,name=group_key_filter,json=groupKeyFilter,proto3" json:"group_key_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBalancesRequest) Descriptor deprecated

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

Deprecated: Use ListBalancesRequest.ProtoReflect.Descriptor instead.

func (*ListBalancesRequest) GetAssetFilter

func (x *ListBalancesRequest) GetAssetFilter() []byte

func (*ListBalancesRequest) GetAssetId

func (x *ListBalancesRequest) GetAssetId() bool

func (*ListBalancesRequest) GetGroupBy

func (m *ListBalancesRequest) GetGroupBy() isListBalancesRequest_GroupBy

func (*ListBalancesRequest) GetGroupKey

func (x *ListBalancesRequest) GetGroupKey() bool

func (*ListBalancesRequest) GetGroupKeyFilter

func (x *ListBalancesRequest) GetGroupKeyFilter() []byte

func (*ListBalancesRequest) ProtoMessage

func (*ListBalancesRequest) ProtoMessage()

func (*ListBalancesRequest) ProtoReflect

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

func (*ListBalancesRequest) Reset

func (x *ListBalancesRequest) Reset()

func (*ListBalancesRequest) String

func (x *ListBalancesRequest) String() string

type ListBalancesRequest_AssetId

type ListBalancesRequest_AssetId struct {
	// Group results by asset IDs.
	AssetId bool `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3,oneof"`
}

type ListBalancesRequest_GroupKey

type ListBalancesRequest_GroupKey struct {
	// Group results by group keys.
	GroupKey bool `protobuf:"varint,2,opt,name=group_key,json=groupKey,proto3,oneof"`
}

type ListBalancesResponse

type ListBalancesResponse struct {
	AssetBalances      map[string]*AssetBalance      `` /* 188-byte string literal not displayed */
	AssetGroupBalances map[string]*AssetGroupBalance `` /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListBalancesResponse) Descriptor deprecated

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

Deprecated: Use ListBalancesResponse.ProtoReflect.Descriptor instead.

func (*ListBalancesResponse) GetAssetBalances

func (x *ListBalancesResponse) GetAssetBalances() map[string]*AssetBalance

func (*ListBalancesResponse) GetAssetGroupBalances

func (x *ListBalancesResponse) GetAssetGroupBalances() map[string]*AssetGroupBalance

func (*ListBalancesResponse) ProtoMessage

func (*ListBalancesResponse) ProtoMessage()

func (*ListBalancesResponse) ProtoReflect

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

func (*ListBalancesResponse) Reset

func (x *ListBalancesResponse) Reset()

func (*ListBalancesResponse) String

func (x *ListBalancesResponse) String() string

type ListGroupsRequest

type ListGroupsRequest struct {
	// contains filtered or unexported fields
}

func (*ListGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupsRequest) ProtoMessage

func (*ListGroupsRequest) ProtoMessage()

func (*ListGroupsRequest) ProtoReflect

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

func (*ListGroupsRequest) Reset

func (x *ListGroupsRequest) Reset()

func (*ListGroupsRequest) String

func (x *ListGroupsRequest) String() string

type ListGroupsResponse

type ListGroupsResponse struct {

	// The set of assets with a group key.
	Groups map[string]*GroupedAssets `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupsResponse) GetGroups

func (x *ListGroupsResponse) GetGroups() map[string]*GroupedAssets

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) ProtoReflect

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

func (*ListGroupsResponse) Reset

func (x *ListGroupsResponse) Reset()

func (*ListGroupsResponse) String

func (x *ListGroupsResponse) String() string

type ListTransfersRequest

type ListTransfersRequest struct {

	// anchor_txid specifies the hexadecimal encoded txid string of the anchor
	// transaction for which to retrieve transfers. An empty value indicates
	// that this parameter should be disregarded in transfer selection.
	AnchorTxid string `protobuf:"bytes,1,opt,name=anchor_txid,json=anchorTxid,proto3" json:"anchor_txid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTransfersRequest) Descriptor deprecated

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

Deprecated: Use ListTransfersRequest.ProtoReflect.Descriptor instead.

func (*ListTransfersRequest) GetAnchorTxid added in v0.4.0

func (x *ListTransfersRequest) GetAnchorTxid() string

func (*ListTransfersRequest) ProtoMessage

func (*ListTransfersRequest) ProtoMessage()

func (*ListTransfersRequest) ProtoReflect

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

func (*ListTransfersRequest) Reset

func (x *ListTransfersRequest) Reset()

func (*ListTransfersRequest) String

func (x *ListTransfersRequest) String() string

type ListTransfersResponse

type ListTransfersResponse struct {

	// The unordered list of outgoing asset transfers.
	Transfers []*AssetTransfer `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTransfersResponse) Descriptor deprecated

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

Deprecated: Use ListTransfersResponse.ProtoReflect.Descriptor instead.

func (*ListTransfersResponse) GetTransfers

func (x *ListTransfersResponse) GetTransfers() []*AssetTransfer

func (*ListTransfersResponse) ProtoMessage

func (*ListTransfersResponse) ProtoMessage()

func (*ListTransfersResponse) ProtoReflect

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

func (*ListTransfersResponse) Reset

func (x *ListTransfersResponse) Reset()

func (*ListTransfersResponse) String

func (x *ListTransfersResponse) String() string

type ListUtxosRequest

type ListUtxosRequest struct {
	IncludeLeased bool `protobuf:"varint,1,opt,name=include_leased,json=includeLeased,proto3" json:"include_leased,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUtxosRequest) Descriptor deprecated

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

Deprecated: Use ListUtxosRequest.ProtoReflect.Descriptor instead.

func (*ListUtxosRequest) GetIncludeLeased added in v0.3.0

func (x *ListUtxosRequest) GetIncludeLeased() bool

func (*ListUtxosRequest) ProtoMessage

func (*ListUtxosRequest) ProtoMessage()

func (*ListUtxosRequest) ProtoReflect

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

func (*ListUtxosRequest) Reset

func (x *ListUtxosRequest) Reset()

func (*ListUtxosRequest) String

func (x *ListUtxosRequest) String() string

type ListUtxosResponse

type ListUtxosResponse struct {

	// The set of UTXOs managed by the daemon.
	ManagedUtxos map[string]*ManagedUtxo `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListUtxosResponse) Descriptor deprecated

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

Deprecated: Use ListUtxosResponse.ProtoReflect.Descriptor instead.

func (*ListUtxosResponse) GetManagedUtxos

func (x *ListUtxosResponse) GetManagedUtxos() map[string]*ManagedUtxo

func (*ListUtxosResponse) ProtoMessage

func (*ListUtxosResponse) ProtoMessage()

func (*ListUtxosResponse) ProtoReflect

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

func (*ListUtxosResponse) Reset

func (x *ListUtxosResponse) Reset()

func (*ListUtxosResponse) String

func (x *ListUtxosResponse) String() string

type ManagedUtxo

type ManagedUtxo struct {

	// The outpoint of the UTXO.
	OutPoint string `protobuf:"bytes,1,opt,name=out_point,json=outPoint,proto3" json:"out_point,omitempty"`
	// The UTXO amount in satoshis.
	AmtSat int64 `protobuf:"varint,2,opt,name=amt_sat,json=amtSat,proto3" json:"amt_sat,omitempty"`
	// The internal key used for the on-chain output.
	InternalKey []byte `protobuf:"bytes,3,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The Taproot Asset root commitment hash.
	TaprootAssetRoot []byte `protobuf:"bytes,4,opt,name=taproot_asset_root,json=taprootAssetRoot,proto3" json:"taproot_asset_root,omitempty"`
	// The Taproot merkle root hash committed to by the outpoint of this UTXO.
	// If there is no Tapscript sibling, this is equal to the Taproot Asset root
	// commitment hash.
	MerkleRoot []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	// The assets held at this UTXO.
	Assets []*Asset `protobuf:"bytes,6,rep,name=assets,proto3" json:"assets,omitempty"`
	// The lease owner for this UTXO. If blank the UTXO isn't leased.
	LeaseOwner []byte `protobuf:"bytes,7,opt,name=lease_owner,json=leaseOwner,proto3" json:"lease_owner,omitempty"`
	// The expiry time as a unix time stamp for this lease. If blank the utxo
	// isn't leased.
	LeaseExpiryUnix int64 `protobuf:"varint,8,opt,name=lease_expiry_unix,json=leaseExpiryUnix,proto3" json:"lease_expiry_unix,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedUtxo) Descriptor deprecated

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

Deprecated: Use ManagedUtxo.ProtoReflect.Descriptor instead.

func (*ManagedUtxo) GetAmtSat

func (x *ManagedUtxo) GetAmtSat() int64

func (*ManagedUtxo) GetAssets

func (x *ManagedUtxo) GetAssets() []*Asset

func (*ManagedUtxo) GetInternalKey

func (x *ManagedUtxo) GetInternalKey() []byte

func (*ManagedUtxo) GetLeaseExpiryUnix added in v0.4.0

func (x *ManagedUtxo) GetLeaseExpiryUnix() int64

func (*ManagedUtxo) GetLeaseOwner added in v0.4.0

func (x *ManagedUtxo) GetLeaseOwner() []byte

func (*ManagedUtxo) GetMerkleRoot

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

func (*ManagedUtxo) GetOutPoint

func (x *ManagedUtxo) GetOutPoint() string

func (*ManagedUtxo) GetTaprootAssetRoot

func (x *ManagedUtxo) GetTaprootAssetRoot() []byte

func (*ManagedUtxo) ProtoMessage

func (*ManagedUtxo) ProtoMessage()

func (*ManagedUtxo) ProtoReflect

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

func (*ManagedUtxo) Reset

func (x *ManagedUtxo) Reset()

func (*ManagedUtxo) String

func (x *ManagedUtxo) String() string

type NewAddrRequest

type NewAddrRequest struct {
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	Amt     uint64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"`
	// The optional script key that the receiving asset should be locked to. If no
	// script key is provided, a normal BIP-86 key will be derived from the
	// underlying wallet.
	//
	// NOTE: The script_key and internal_key fields should either both be set or
	// both be empty.
	ScriptKey *ScriptKey `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The optional internal key of the receiving BTC level transaction output on
	// which the receiving asset transfers will be committed to. If no internal key
	// is provided, a key will be derived from the underlying wallet.
	//
	// NOTE: The script_key and internal_key fields should either both be set or
	// both be empty.
	InternalKey *KeyDescriptor `protobuf:"bytes,4,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The optional serialized tapscript sibling preimage to use for the receiving
	// asset. This is usually empty as it is only needed when there should be an
	// additional script path in the Taproot tree alongside the Taproot Asset
	// commitment of the asset.
	TapscriptSibling []byte `protobuf:"bytes,5,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	// An optional proof courier address for use in proof transfer. If unspecified,
	// the daemon configured default address will be used.
	ProofCourierAddr string `protobuf:"bytes,6,opt,name=proof_courier_addr,json=proofCourierAddr,proto3" json:"proof_courier_addr,omitempty"`
	// The asset version to use when sending/receiving to/from this address.
	AssetVersion AssetVersion `protobuf:"varint,7,opt,name=asset_version,json=assetVersion,proto3,enum=taprpc.AssetVersion" json:"asset_version,omitempty"`
	// The version of this address.
	AddressVersion AddrVersion `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NewAddrRequest) Descriptor deprecated

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

Deprecated: Use NewAddrRequest.ProtoReflect.Descriptor instead.

func (*NewAddrRequest) GetAddressVersion added in v0.4.0

func (x *NewAddrRequest) GetAddressVersion() AddrVersion

func (*NewAddrRequest) GetAmt

func (x *NewAddrRequest) GetAmt() uint64

func (*NewAddrRequest) GetAssetId

func (x *NewAddrRequest) GetAssetId() []byte

func (*NewAddrRequest) GetAssetVersion added in v0.3.0

func (x *NewAddrRequest) GetAssetVersion() AssetVersion

func (*NewAddrRequest) GetInternalKey

func (x *NewAddrRequest) GetInternalKey() *KeyDescriptor

func (*NewAddrRequest) GetProofCourierAddr added in v0.3.0

func (x *NewAddrRequest) GetProofCourierAddr() string

func (*NewAddrRequest) GetScriptKey

func (x *NewAddrRequest) GetScriptKey() *ScriptKey

func (*NewAddrRequest) GetTapscriptSibling

func (x *NewAddrRequest) GetTapscriptSibling() []byte

func (*NewAddrRequest) ProtoMessage

func (*NewAddrRequest) ProtoMessage()

func (*NewAddrRequest) ProtoReflect

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

func (*NewAddrRequest) Reset

func (x *NewAddrRequest) Reset()

func (*NewAddrRequest) String

func (x *NewAddrRequest) String() string

type OutPoint added in v0.3.3

type OutPoint struct {

	// Raw bytes representing the transaction id.
	Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// The index of the output on the transaction.
	OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	// contains filtered or unexported fields
}

func (*OutPoint) Descriptor deprecated added in v0.3.3

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

Deprecated: Use OutPoint.ProtoReflect.Descriptor instead.

func (*OutPoint) GetOutputIndex added in v0.3.3

func (x *OutPoint) GetOutputIndex() uint32

func (*OutPoint) GetTxid added in v0.3.3

func (x *OutPoint) GetTxid() []byte

func (*OutPoint) ProtoMessage added in v0.3.3

func (*OutPoint) ProtoMessage()

func (*OutPoint) ProtoReflect added in v0.3.3

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

func (*OutPoint) Reset added in v0.3.3

func (x *OutPoint) Reset()

func (*OutPoint) String added in v0.3.3

func (x *OutPoint) String() string

type OutputType

type OutputType int32
const (
	// OUTPUT_TYPE_SIMPLE is a plain full-value or split output that is not a
	// split root and does not carry passive assets. In case of a split, the
	// asset of this output has a split commitment.
	OutputType_OUTPUT_TYPE_SIMPLE OutputType = 0
	// OUTPUT_TYPE_SPLIT_ROOT is a split root output that carries the change
	// from a split or a tombstone from a non-interactive full value send
	// output. In either case, the asset of this output has a tx witness.
	OutputType_OUTPUT_TYPE_SPLIT_ROOT OutputType = 1
)

func (OutputType) Descriptor

func (OutputType) Descriptor() protoreflect.EnumDescriptor

func (OutputType) Enum

func (x OutputType) Enum() *OutputType

func (OutputType) EnumDescriptor deprecated

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

Deprecated: Use OutputType.Descriptor instead.

func (OutputType) Number

func (x OutputType) Number() protoreflect.EnumNumber

func (OutputType) String

func (x OutputType) String() string

func (OutputType) Type

type ParcelType added in v0.4.0

type ParcelType int32
const (
	// The parcel is an address parcel.
	ParcelType_PARCEL_TYPE_ADDRESS ParcelType = 0
	// The parcel type is a pre-signed parcel where the virtual transactions are
	// signed outside of the send state machine. Parcels of this type will only
	// get send states starting from SEND_STATE_ANCHOR_SIGN.
	ParcelType_PARCEL_TYPE_PRE_SIGNED ParcelType = 1
	// The parcel is pending and was resumed on the latest restart of the
	// daemon. The original parcel type (address or pre-signed) is not known
	// anymore, as it's not relevant for the remaining steps. Parcels of this
	// type will only get send states starting from SEND_STATE_BROADCAST.
	ParcelType_PARCEL_TYPE_PENDING ParcelType = 2
	// The parcel type is a pre-anchored parcel where the full anchor
	// transaction and all proofs are already available. Parcels of this type
	// will only get send states starting from SEND_STATE_LOG_COMMITMENT.
	ParcelType_PARCEL_TYPE_PRE_ANCHORED ParcelType = 3
)

func (ParcelType) Descriptor added in v0.4.0

func (ParcelType) Descriptor() protoreflect.EnumDescriptor

func (ParcelType) Enum added in v0.4.0

func (x ParcelType) Enum() *ParcelType

func (ParcelType) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use ParcelType.Descriptor instead.

func (ParcelType) Number added in v0.4.0

func (x ParcelType) Number() protoreflect.EnumNumber

func (ParcelType) String added in v0.4.0

func (x ParcelType) String() string

func (ParcelType) Type added in v0.4.0

type PrevInputAsset

type PrevInputAsset struct {
	AnchorPoint string `protobuf:"bytes,1,opt,name=anchor_point,json=anchorPoint,proto3" json:"anchor_point,omitempty"`
	AssetId     []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	ScriptKey   []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	Amount      uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*PrevInputAsset) Descriptor deprecated

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

Deprecated: Use PrevInputAsset.ProtoReflect.Descriptor instead.

func (*PrevInputAsset) GetAmount

func (x *PrevInputAsset) GetAmount() uint64

func (*PrevInputAsset) GetAnchorPoint

func (x *PrevInputAsset) GetAnchorPoint() string

func (*PrevInputAsset) GetAssetId

func (x *PrevInputAsset) GetAssetId() []byte

func (*PrevInputAsset) GetScriptKey

func (x *PrevInputAsset) GetScriptKey() []byte

func (*PrevInputAsset) ProtoMessage

func (*PrevInputAsset) ProtoMessage()

func (*PrevInputAsset) ProtoReflect

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

func (*PrevInputAsset) Reset

func (x *PrevInputAsset) Reset()

func (*PrevInputAsset) String

func (x *PrevInputAsset) String() string

type PrevWitness

type PrevWitness struct {
	PrevId          *PrevInputAsset  `protobuf:"bytes,1,opt,name=prev_id,json=prevId,proto3" json:"prev_id,omitempty"`
	TxWitness       [][]byte         `protobuf:"bytes,2,rep,name=tx_witness,json=txWitness,proto3" json:"tx_witness,omitempty"`
	SplitCommitment *SplitCommitment `protobuf:"bytes,3,opt,name=split_commitment,json=splitCommitment,proto3" json:"split_commitment,omitempty"`
	// contains filtered or unexported fields
}

func (*PrevWitness) Descriptor deprecated

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

Deprecated: Use PrevWitness.ProtoReflect.Descriptor instead.

func (*PrevWitness) GetPrevId

func (x *PrevWitness) GetPrevId() *PrevInputAsset

func (*PrevWitness) GetSplitCommitment

func (x *PrevWitness) GetSplitCommitment() *SplitCommitment

func (*PrevWitness) GetTxWitness

func (x *PrevWitness) GetTxWitness() [][]byte

func (*PrevWitness) ProtoMessage

func (*PrevWitness) ProtoMessage()

func (*PrevWitness) ProtoReflect

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

func (*PrevWitness) Reset

func (x *PrevWitness) Reset()

func (*PrevWitness) String

func (x *PrevWitness) String() string

type ProofFile

type ProofFile struct {

	// The raw proof file encoded as bytes. Must be a file and not just an
	// individual mint/transfer proof.
	RawProofFile []byte `protobuf:"bytes,1,opt,name=raw_proof_file,json=rawProofFile,proto3" json:"raw_proof_file,omitempty"`
	GenesisPoint string `protobuf:"bytes,2,opt,name=genesis_point,json=genesisPoint,proto3" json:"genesis_point,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofFile) Descriptor deprecated

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

Deprecated: Use ProofFile.ProtoReflect.Descriptor instead.

func (*ProofFile) GetGenesisPoint

func (x *ProofFile) GetGenesisPoint() string

func (*ProofFile) GetRawProofFile added in v0.3.0

func (x *ProofFile) GetRawProofFile() []byte

func (*ProofFile) ProtoMessage

func (*ProofFile) ProtoMessage()

func (*ProofFile) ProtoReflect

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

func (*ProofFile) Reset

func (x *ProofFile) Reset()

func (*ProofFile) String

func (x *ProofFile) String() string

type QueryAddrRequest

type QueryAddrRequest struct {

	// If set, then only addresses created after this Unix timestamp will be
	// returned.
	CreatedAfter int64 `protobuf:"varint,1,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"`
	// If set, then only addresses created before this Unix timestamp will be
	// returned.
	CreatedBefore int64 `protobuf:"varint,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	// The max number of addresses that should be returned.
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// The offset from the addresses that should be returned.
	Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAddrRequest) Descriptor deprecated

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

Deprecated: Use QueryAddrRequest.ProtoReflect.Descriptor instead.

func (*QueryAddrRequest) GetCreatedAfter

func (x *QueryAddrRequest) GetCreatedAfter() int64

func (*QueryAddrRequest) GetCreatedBefore

func (x *QueryAddrRequest) GetCreatedBefore() int64

func (*QueryAddrRequest) GetLimit

func (x *QueryAddrRequest) GetLimit() int32

func (*QueryAddrRequest) GetOffset

func (x *QueryAddrRequest) GetOffset() int32

func (*QueryAddrRequest) ProtoMessage

func (*QueryAddrRequest) ProtoMessage()

func (*QueryAddrRequest) ProtoReflect

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

func (*QueryAddrRequest) Reset

func (x *QueryAddrRequest) Reset()

func (*QueryAddrRequest) String

func (x *QueryAddrRequest) String() string

type QueryAddrResponse

type QueryAddrResponse struct {
	Addrs []*Addr `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAddrResponse) Descriptor deprecated

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

Deprecated: Use QueryAddrResponse.ProtoReflect.Descriptor instead.

func (*QueryAddrResponse) GetAddrs

func (x *QueryAddrResponse) GetAddrs() []*Addr

func (*QueryAddrResponse) ProtoMessage

func (*QueryAddrResponse) ProtoMessage()

func (*QueryAddrResponse) ProtoReflect

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

func (*QueryAddrResponse) Reset

func (x *QueryAddrResponse) Reset()

func (*QueryAddrResponse) String

func (x *QueryAddrResponse) String() string

type ReceiveEvent added in v0.4.0

type ReceiveEvent struct {

	// Event creation timestamp (Unix timestamp in microseconds).
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The address that received the asset.
	Address *Addr `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// The outpoint of the transaction that was used to receive the asset.
	Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The status of the event. If error below is set, then the status is the
	// state that lead to the error during its execution.
	Status AddrEventStatus `protobuf:"varint,4,opt,name=status,proto3,enum=taprpc.AddrEventStatus" json:"status,omitempty"`
	// The height of the block the asset receive transaction was mined in. This
	// is only set if the status is ADDR_EVENT_STATUS_TRANSACTION_CONFIRMED or
	// later.
	ConfirmationHeight uint32 `protobuf:"varint,5,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,omitempty"`
	// An optional error, indicating that executing the status above failed.
	Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiveEvent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use ReceiveEvent.ProtoReflect.Descriptor instead.

func (*ReceiveEvent) GetAddress added in v0.4.0

func (x *ReceiveEvent) GetAddress() *Addr

func (*ReceiveEvent) GetConfirmationHeight added in v0.4.0

func (x *ReceiveEvent) GetConfirmationHeight() uint32

func (*ReceiveEvent) GetError added in v0.4.0

func (x *ReceiveEvent) GetError() string

func (*ReceiveEvent) GetOutpoint added in v0.4.0

func (x *ReceiveEvent) GetOutpoint() string

func (*ReceiveEvent) GetStatus added in v0.4.0

func (x *ReceiveEvent) GetStatus() AddrEventStatus

func (*ReceiveEvent) GetTimestamp added in v0.4.0

func (x *ReceiveEvent) GetTimestamp() int64

func (*ReceiveEvent) ProtoMessage added in v0.4.0

func (*ReceiveEvent) ProtoMessage()

func (*ReceiveEvent) ProtoReflect added in v0.4.0

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

func (*ReceiveEvent) Reset added in v0.4.0

func (x *ReceiveEvent) Reset()

func (*ReceiveEvent) String added in v0.4.0

func (x *ReceiveEvent) String() string

type ScriptKey

type ScriptKey struct {

	// The full Taproot output key the asset is locked to. This is either a BIP-86
	// key if the tap_tweak below is empty, or a key with the tap tweak applied to
	// it.
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// The key descriptor describing the internal key of the above Taproot key.
	KeyDesc *KeyDescriptor `protobuf:"bytes,2,opt,name=key_desc,json=keyDesc,proto3" json:"key_desc,omitempty"`
	// The optional Taproot tweak to apply to the above internal key. If this is
	// empty then a BIP-86 style tweak is applied to the internal key.
	TapTweak []byte `protobuf:"bytes,3,opt,name=tap_tweak,json=tapTweak,proto3" json:"tap_tweak,omitempty"`
	// contains filtered or unexported fields
}

func MarshalScriptKey added in v0.4.0

func MarshalScriptKey(scriptKey asset.ScriptKey) *ScriptKey

MarshalScriptKey marshals the native script key into the RPC counterpart.

func (*ScriptKey) Descriptor deprecated

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

Deprecated: Use ScriptKey.ProtoReflect.Descriptor instead.

func (*ScriptKey) GetKeyDesc

func (x *ScriptKey) GetKeyDesc() *KeyDescriptor

func (*ScriptKey) GetPubKey

func (x *ScriptKey) GetPubKey() []byte

func (*ScriptKey) GetTapTweak

func (x *ScriptKey) GetTapTweak() []byte

func (*ScriptKey) ProtoMessage

func (*ScriptKey) ProtoMessage()

func (*ScriptKey) ProtoReflect

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

func (*ScriptKey) Reset

func (x *ScriptKey) Reset()

func (*ScriptKey) String

func (x *ScriptKey) String() string

type SendAssetRequest

type SendAssetRequest struct {
	TapAddrs []string `protobuf:"bytes,1,rep,name=tap_addrs,json=tapAddrs,proto3" json:"tap_addrs,omitempty"`
	// The optional fee rate to use for the minting transaction, in sat/kw.
	FeeRate uint32 `protobuf:"varint,2,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	// contains filtered or unexported fields
}

func (*SendAssetRequest) Descriptor deprecated

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

Deprecated: Use SendAssetRequest.ProtoReflect.Descriptor instead.

func (*SendAssetRequest) GetFeeRate added in v0.3.0

func (x *SendAssetRequest) GetFeeRate() uint32

func (*SendAssetRequest) GetTapAddrs

func (x *SendAssetRequest) GetTapAddrs() []string

func (*SendAssetRequest) ProtoMessage

func (*SendAssetRequest) ProtoMessage()

func (*SendAssetRequest) ProtoReflect

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

func (*SendAssetRequest) Reset

func (x *SendAssetRequest) Reset()

func (*SendAssetRequest) String

func (x *SendAssetRequest) String() string

type SendAssetResponse

type SendAssetResponse struct {
	Transfer *AssetTransfer `protobuf:"bytes,1,opt,name=transfer,proto3" json:"transfer,omitempty"`
	// contains filtered or unexported fields
}

func (*SendAssetResponse) Descriptor deprecated

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

Deprecated: Use SendAssetResponse.ProtoReflect.Descriptor instead.

func (*SendAssetResponse) GetTransfer

func (x *SendAssetResponse) GetTransfer() *AssetTransfer

func (*SendAssetResponse) ProtoMessage

func (*SendAssetResponse) ProtoMessage()

func (*SendAssetResponse) ProtoReflect

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

func (*SendAssetResponse) Reset

func (x *SendAssetResponse) Reset()

func (*SendAssetResponse) String

func (x *SendAssetResponse) String() string

type SendEvent added in v0.4.0

type SendEvent struct {

	// Execute timestamp (Unix timestamp in microseconds).
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The send state that was executed successfully. If error below is set,
	// then the send_state is the state that lead to the error during its
	// execution.
	SendState string `protobuf:"bytes,2,opt,name=send_state,json=sendState,proto3" json:"send_state,omitempty"`
	// The type of the outbound send parcel.
	ParcelType ParcelType `protobuf:"varint,3,opt,name=parcel_type,json=parcelType,proto3,enum=taprpc.ParcelType" json:"parcel_type,omitempty"`
	// The list of addresses the parcel sends to (recipient addresses only, not
	// including change going back to own wallet). This is only set for parcels
	// of type PARCEL_TYPE_ADDRESS.
	Addresses []*Addr `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// The virtual packets that are part of the parcel.
	VirtualPackets [][]byte `protobuf:"bytes,5,rep,name=virtual_packets,json=virtualPackets,proto3" json:"virtual_packets,omitempty"`
	// The passive virtual packets that are carried along with the parcel. This
	// is empty if there were no other assets in the input commitment that is
	// being spent with the "active" virtual packets above.
	PassiveVirtualPackets [][]byte `` /* 126-byte string literal not displayed */
	// The Bitcoin on-chain anchor transaction that commits the sent assets
	// on-chain. This is only set after the send state SEND_STATE_ANCHOR_SIGN.
	AnchorTransaction *AnchorTransaction `protobuf:"bytes,7,opt,name=anchor_transaction,json=anchorTransaction,proto3" json:"anchor_transaction,omitempty"`
	// The final transfer as it will be stored in the database. This is only set
	// after the send state SEND_STATE_LOG_COMMITMENT.
	Transfer *AssetTransfer `protobuf:"bytes,8,opt,name=transfer,proto3" json:"transfer,omitempty"`
	// An optional error, indicating that executing the send_state failed.
	Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SendEvent) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SendEvent.ProtoReflect.Descriptor instead.

func (*SendEvent) GetAddresses added in v0.4.0

func (x *SendEvent) GetAddresses() []*Addr

func (*SendEvent) GetAnchorTransaction added in v0.4.0

func (x *SendEvent) GetAnchorTransaction() *AnchorTransaction

func (*SendEvent) GetError added in v0.4.0

func (x *SendEvent) GetError() string

func (*SendEvent) GetParcelType added in v0.4.0

func (x *SendEvent) GetParcelType() ParcelType

func (*SendEvent) GetPassiveVirtualPackets added in v0.4.0

func (x *SendEvent) GetPassiveVirtualPackets() [][]byte

func (*SendEvent) GetSendState added in v0.4.0

func (x *SendEvent) GetSendState() string

func (*SendEvent) GetTimestamp added in v0.4.0

func (x *SendEvent) GetTimestamp() int64

func (*SendEvent) GetTransfer added in v0.4.0

func (x *SendEvent) GetTransfer() *AssetTransfer

func (*SendEvent) GetVirtualPackets added in v0.4.0

func (x *SendEvent) GetVirtualPackets() [][]byte

func (*SendEvent) ProtoMessage added in v0.4.0

func (*SendEvent) ProtoMessage()

func (*SendEvent) ProtoReflect added in v0.4.0

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

func (*SendEvent) Reset added in v0.4.0

func (x *SendEvent) Reset()

func (*SendEvent) String added in v0.4.0

func (x *SendEvent) String() string

type SendState added in v0.4.0

type SendState int32
const (
	// Input coin selection to pick out which asset inputs should be spent is
	// executed during this state.
	SendState_SEND_STATE_VIRTUAL_INPUT_SELECT SendState = 0
	// The virtual transaction is signed during this state.
	SendState_SEND_STATE_VIRTUAL_SIGN SendState = 1
	// The Bitcoin anchor transaction is signed during this state.
	SendState_SEND_STATE_ANCHOR_SIGN SendState = 2
	// The outbound packet is written to the database during this state,
	// including the partial proof suffixes. Only parcels that complete this
	// state can be resumed on restart.
	SendState_SEND_STATE_LOG_COMMITMENT SendState = 3
	// The Bitcoin anchor transaction is broadcast to the network during this
	// state.
	SendState_SEND_STATE_BROADCAST SendState = 4
	// The on-chain anchor transaction needs to reach at least 1 confirmation.
	// This state waits for the confirmation.
	SendState_SEND_STATE_WAIT_CONFIRMATION SendState = 5
	// The anchor transaction was confirmed in a block and the full proofs can
	// now be constructed during this stage.
	SendState_SEND_STATE_STORE_PROOFS SendState = 6
	// The full proofs are sent to the recipient(s) with the proof courier
	// service during this state.
	SendState_SEND_STATE_TRANSFER_PROOFS SendState = 7
	// The send state machine has completed the send process.
	SendState_SEND_STATE_COMPLETED SendState = 8
)

func (SendState) Descriptor added in v0.4.0

func (SendState) Descriptor() protoreflect.EnumDescriptor

func (SendState) Enum added in v0.4.0

func (x SendState) Enum() *SendState

func (SendState) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use SendState.Descriptor instead.

func (SendState) Number added in v0.4.0

func (x SendState) Number() protoreflect.EnumNumber

func (SendState) String added in v0.4.0

func (x SendState) String() string

func (SendState) Type added in v0.4.0

type SplitCommitment

type SplitCommitment struct {
	RootAsset *Asset `protobuf:"bytes,1,opt,name=root_asset,json=rootAsset,proto3" json:"root_asset,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitCommitment) Descriptor deprecated

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

Deprecated: Use SplitCommitment.ProtoReflect.Descriptor instead.

func (*SplitCommitment) GetRootAsset

func (x *SplitCommitment) GetRootAsset() *Asset

func (*SplitCommitment) ProtoMessage

func (*SplitCommitment) ProtoMessage()

func (*SplitCommitment) ProtoReflect

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

func (*SplitCommitment) Reset

func (x *SplitCommitment) Reset()

func (*SplitCommitment) String

func (x *SplitCommitment) String() string

type StopRequest

type StopRequest struct {
	// contains filtered or unexported fields
}

func (*StopRequest) Descriptor deprecated

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

Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) ProtoReflect

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

func (*StopRequest) Reset

func (x *StopRequest) Reset()

func (*StopRequest) String

func (x *StopRequest) String() string

type StopResponse

type StopResponse struct {
	// contains filtered or unexported fields
}

func (*StopResponse) Descriptor deprecated

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

Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.

func (*StopResponse) ProtoMessage

func (*StopResponse) ProtoMessage()

func (*StopResponse) ProtoReflect

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

func (*StopResponse) Reset

func (x *StopResponse) Reset()

func (*StopResponse) String

func (x *StopResponse) String() string

type SubscribeReceiveEventsRequest added in v0.4.0

type SubscribeReceiveEventsRequest struct {

	// Filter receives by a specific address. Leave empty to get all receive
	// events for all addresses.
	FilterAddr string `protobuf:"bytes,1,opt,name=filter_addr,json=filterAddr,proto3" json:"filter_addr,omitempty"`
	// The start time as a Unix timestamp in microseconds. If not set (default
	// value 0), the daemon will start streaming events from the current time.
	StartTimestamp int64 `protobuf:"varint,2,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeReceiveEventsRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SubscribeReceiveEventsRequest.ProtoReflect.Descriptor instead.

func (*SubscribeReceiveEventsRequest) GetFilterAddr added in v0.4.0

func (x *SubscribeReceiveEventsRequest) GetFilterAddr() string

func (*SubscribeReceiveEventsRequest) GetStartTimestamp added in v0.4.0

func (x *SubscribeReceiveEventsRequest) GetStartTimestamp() int64

func (*SubscribeReceiveEventsRequest) ProtoMessage added in v0.4.0

func (*SubscribeReceiveEventsRequest) ProtoMessage()

func (*SubscribeReceiveEventsRequest) ProtoReflect added in v0.4.0

func (*SubscribeReceiveEventsRequest) Reset added in v0.4.0

func (x *SubscribeReceiveEventsRequest) Reset()

func (*SubscribeReceiveEventsRequest) String added in v0.4.0

type SubscribeSendEventsRequest added in v0.4.0

type SubscribeSendEventsRequest struct {

	// Filter send events by a specific recipient script key. Leave empty to get
	// all receive events for all parcels.
	FilterScriptKey []byte `protobuf:"bytes,1,opt,name=filter_script_key,json=filterScriptKey,proto3" json:"filter_script_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeSendEventsRequest) Descriptor deprecated added in v0.4.0

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

Deprecated: Use SubscribeSendEventsRequest.ProtoReflect.Descriptor instead.

func (*SubscribeSendEventsRequest) GetFilterScriptKey added in v0.4.0

func (x *SubscribeSendEventsRequest) GetFilterScriptKey() []byte

func (*SubscribeSendEventsRequest) ProtoMessage added in v0.4.0

func (*SubscribeSendEventsRequest) ProtoMessage()

func (*SubscribeSendEventsRequest) ProtoReflect added in v0.4.0

func (*SubscribeSendEventsRequest) Reset added in v0.4.0

func (x *SubscribeSendEventsRequest) Reset()

func (*SubscribeSendEventsRequest) String added in v0.4.0

func (x *SubscribeSendEventsRequest) String() string

type TapBranch added in v0.4.0

type TapBranch struct {

	// The TapHash of the left child of the root hash of a Tapscript tree.
	LeftTaphash []byte `protobuf:"bytes,1,opt,name=left_taphash,json=leftTaphash,proto3" json:"left_taphash,omitempty"`
	// The TapHash of the right child of the root hash of a Tapscript tree.
	RightTaphash []byte `protobuf:"bytes,2,opt,name=right_taphash,json=rightTaphash,proto3" json:"right_taphash,omitempty"`
	// contains filtered or unexported fields
}

func (*TapBranch) Descriptor deprecated added in v0.4.0

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

Deprecated: Use TapBranch.ProtoReflect.Descriptor instead.

func (*TapBranch) GetLeftTaphash added in v0.4.0

func (x *TapBranch) GetLeftTaphash() []byte

func (*TapBranch) GetRightTaphash added in v0.4.0

func (x *TapBranch) GetRightTaphash() []byte

func (*TapBranch) ProtoMessage added in v0.4.0

func (*TapBranch) ProtoMessage()

func (*TapBranch) ProtoReflect added in v0.4.0

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

func (*TapBranch) Reset added in v0.4.0

func (x *TapBranch) Reset()

func (*TapBranch) String added in v0.4.0

func (x *TapBranch) String() string

type TapLeaf added in v0.4.0

type TapLeaf struct {

	// The script of the tap leaf.
	Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
	// contains filtered or unexported fields
}

func (*TapLeaf) Descriptor deprecated added in v0.4.0

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

Deprecated: Use TapLeaf.ProtoReflect.Descriptor instead.

func (*TapLeaf) GetScript added in v0.4.0

func (x *TapLeaf) GetScript() []byte

func (*TapLeaf) ProtoMessage added in v0.4.0

func (*TapLeaf) ProtoMessage()

func (*TapLeaf) ProtoReflect added in v0.4.0

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

func (*TapLeaf) Reset added in v0.4.0

func (x *TapLeaf) Reset()

func (*TapLeaf) String added in v0.4.0

func (x *TapLeaf) String() string

type TaprootAssetsClient

type TaprootAssetsClient interface {
	// tapcli: `assets list`
	// ListAssets lists the set of assets owned by the target daemon.
	ListAssets(ctx context.Context, in *ListAssetRequest, opts ...grpc.CallOption) (*ListAssetResponse, error)
	// tapcli: `assets utxos`
	// ListUtxos lists the UTXOs managed by the target daemon, and the assets they
	// hold.
	ListUtxos(ctx context.Context, in *ListUtxosRequest, opts ...grpc.CallOption) (*ListUtxosResponse, error)
	// tapcli: `assets groups`
	// ListGroups lists the asset groups known to the target daemon, and the assets
	// held in each group.
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// tapcli: `assets balance`
	// ListBalances lists asset balances
	ListBalances(ctx context.Context, in *ListBalancesRequest, opts ...grpc.CallOption) (*ListBalancesResponse, error)
	// tapcli: `assets transfers`
	// ListTransfers lists outbound asset transfers tracked by the target daemon.
	ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error)
	// tapcli: `stop`
	// StopDaemon will send a shutdown request to the interrupt handler, triggering
	// a graceful shutdown of the daemon.
	StopDaemon(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
	// tapcli: `debuglevel`
	// DebugLevel allows a caller to programmatically set the logging verbosity of
	// tapd. The logging can be targeted according to a coarse daemon-wide logging
	// level, or in a granular fashion to specify the logging for a target
	// sub-system.
	DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error)
	// tapcli: `addrs query`
	// QueryAddrs queries the set of Taproot Asset addresses stored in the
	// database.
	QueryAddrs(ctx context.Context, in *QueryAddrRequest, opts ...grpc.CallOption) (*QueryAddrResponse, error)
	// tapcli: `addrs new`
	// NewAddr makes a new address from the set of request params.
	NewAddr(ctx context.Context, in *NewAddrRequest, opts ...grpc.CallOption) (*Addr, error)
	// tapcli: `addrs decode`
	// DecodeAddr decode a Taproot Asset address into a partial asset message that
	// represents the asset it wants to receive.
	DecodeAddr(ctx context.Context, in *DecodeAddrRequest, opts ...grpc.CallOption) (*Addr, error)
	// tapcli: `addrs receives`
	// List all receives for incoming asset transfers for addresses that were
	// created previously.
	AddrReceives(ctx context.Context, in *AddrReceivesRequest, opts ...grpc.CallOption) (*AddrReceivesResponse, error)
	// tapcli: `proofs verify`
	// VerifyProof attempts to verify a given proof file that claims to be anchored
	// at the specified genesis point.
	VerifyProof(ctx context.Context, in *ProofFile, opts ...grpc.CallOption) (*VerifyProofResponse, error)
	// tapcli: `proofs decode`
	// DecodeProof attempts to decode a given proof file into human readable
	// format.
	DecodeProof(ctx context.Context, in *DecodeProofRequest, opts ...grpc.CallOption) (*DecodeProofResponse, error)
	// tapcli: `proofs export`
	// ExportProof exports the latest raw proof file anchored at the specified
	// script_key.
	ExportProof(ctx context.Context, in *ExportProofRequest, opts ...grpc.CallOption) (*ProofFile, error)
	// tapcli: `assets send`
	// SendAsset uses one or multiple passed Taproot Asset address(es) to attempt
	// to complete an asset send. The method returns information w.r.t the on chain
	// send, as well as the proof file information the receiver needs to fully
	// receive the asset.
	SendAsset(ctx context.Context, in *SendAssetRequest, opts ...grpc.CallOption) (*SendAssetResponse, error)
	// tapcli: `assets burn`
	// BurnAsset burns the given number of units of a given asset by sending them
	// to a provably un-spendable script key. Burning means irrevocably destroying
	// a certain number of assets, reducing the total supply of the asset. Because
	// burning is such a destructive and non-reversible operation, some specific
	// values need to be set in the request to avoid accidental burns.
	BurnAsset(ctx context.Context, in *BurnAssetRequest, opts ...grpc.CallOption) (*BurnAssetResponse, error)
	// tapcli: `getinfo`
	// GetInfo returns the information for the node.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
	// tapcli: `assets meta`
	// FetchAssetMeta allows a caller to fetch the reveal meta data for an asset
	// either by the asset ID for that asset, or a meta hash.
	FetchAssetMeta(ctx context.Context, in *FetchAssetMetaRequest, opts ...grpc.CallOption) (*AssetMeta, error)
	// tapcli: `events receive`
	// SubscribeReceiveEvents allows a caller to subscribe to receive events for
	// incoming asset transfers.
	SubscribeReceiveEvents(ctx context.Context, in *SubscribeReceiveEventsRequest, opts ...grpc.CallOption) (TaprootAssets_SubscribeReceiveEventsClient, error)
	// tapcli: `events send`
	// SubscribeSendEvents allows a caller to subscribe to send events for outgoing
	// asset transfers.
	SubscribeSendEvents(ctx context.Context, in *SubscribeSendEventsRequest, opts ...grpc.CallOption) (TaprootAssets_SubscribeSendEventsClient, error)
}

TaprootAssetsClient is the client API for TaprootAssets service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TaprootAssetsServer

type TaprootAssetsServer interface {
	// tapcli: `assets list`
	// ListAssets lists the set of assets owned by the target daemon.
	ListAssets(context.Context, *ListAssetRequest) (*ListAssetResponse, error)
	// tapcli: `assets utxos`
	// ListUtxos lists the UTXOs managed by the target daemon, and the assets they
	// hold.
	ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
	// tapcli: `assets groups`
	// ListGroups lists the asset groups known to the target daemon, and the assets
	// held in each group.
	ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
	// tapcli: `assets balance`
	// ListBalances lists asset balances
	ListBalances(context.Context, *ListBalancesRequest) (*ListBalancesResponse, error)
	// tapcli: `assets transfers`
	// ListTransfers lists outbound asset transfers tracked by the target daemon.
	ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error)
	// tapcli: `stop`
	// StopDaemon will send a shutdown request to the interrupt handler, triggering
	// a graceful shutdown of the daemon.
	StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
	// tapcli: `debuglevel`
	// DebugLevel allows a caller to programmatically set the logging verbosity of
	// tapd. The logging can be targeted according to a coarse daemon-wide logging
	// level, or in a granular fashion to specify the logging for a target
	// sub-system.
	DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
	// tapcli: `addrs query`
	// QueryAddrs queries the set of Taproot Asset addresses stored in the
	// database.
	QueryAddrs(context.Context, *QueryAddrRequest) (*QueryAddrResponse, error)
	// tapcli: `addrs new`
	// NewAddr makes a new address from the set of request params.
	NewAddr(context.Context, *NewAddrRequest) (*Addr, error)
	// tapcli: `addrs decode`
	// DecodeAddr decode a Taproot Asset address into a partial asset message that
	// represents the asset it wants to receive.
	DecodeAddr(context.Context, *DecodeAddrRequest) (*Addr, error)
	// tapcli: `addrs receives`
	// List all receives for incoming asset transfers for addresses that were
	// created previously.
	AddrReceives(context.Context, *AddrReceivesRequest) (*AddrReceivesResponse, error)
	// tapcli: `proofs verify`
	// VerifyProof attempts to verify a given proof file that claims to be anchored
	// at the specified genesis point.
	VerifyProof(context.Context, *ProofFile) (*VerifyProofResponse, error)
	// tapcli: `proofs decode`
	// DecodeProof attempts to decode a given proof file into human readable
	// format.
	DecodeProof(context.Context, *DecodeProofRequest) (*DecodeProofResponse, error)
	// tapcli: `proofs export`
	// ExportProof exports the latest raw proof file anchored at the specified
	// script_key.
	ExportProof(context.Context, *ExportProofRequest) (*ProofFile, error)
	// tapcli: `assets send`
	// SendAsset uses one or multiple passed Taproot Asset address(es) to attempt
	// to complete an asset send. The method returns information w.r.t the on chain
	// send, as well as the proof file information the receiver needs to fully
	// receive the asset.
	SendAsset(context.Context, *SendAssetRequest) (*SendAssetResponse, error)
	// tapcli: `assets burn`
	// BurnAsset burns the given number of units of a given asset by sending them
	// to a provably un-spendable script key. Burning means irrevocably destroying
	// a certain number of assets, reducing the total supply of the asset. Because
	// burning is such a destructive and non-reversible operation, some specific
	// values need to be set in the request to avoid accidental burns.
	BurnAsset(context.Context, *BurnAssetRequest) (*BurnAssetResponse, error)
	// tapcli: `getinfo`
	// GetInfo returns the information for the node.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	// tapcli: `assets meta`
	// FetchAssetMeta allows a caller to fetch the reveal meta data for an asset
	// either by the asset ID for that asset, or a meta hash.
	FetchAssetMeta(context.Context, *FetchAssetMetaRequest) (*AssetMeta, error)
	// tapcli: `events receive`
	// SubscribeReceiveEvents allows a caller to subscribe to receive events for
	// incoming asset transfers.
	SubscribeReceiveEvents(*SubscribeReceiveEventsRequest, TaprootAssets_SubscribeReceiveEventsServer) error
	// tapcli: `events send`
	// SubscribeSendEvents allows a caller to subscribe to send events for outgoing
	// asset transfers.
	SubscribeSendEvents(*SubscribeSendEventsRequest, TaprootAssets_SubscribeSendEventsServer) error
	// contains filtered or unexported methods
}

TaprootAssetsServer is the server API for TaprootAssets service. All implementations must embed UnimplementedTaprootAssetsServer for forward compatibility

type TaprootAssets_SubscribeReceiveEventsClient added in v0.4.0

type TaprootAssets_SubscribeReceiveEventsClient interface {
	Recv() (*ReceiveEvent, error)
	grpc.ClientStream
}

type TaprootAssets_SubscribeReceiveEventsServer added in v0.4.0

type TaprootAssets_SubscribeReceiveEventsServer interface {
	Send(*ReceiveEvent) error
	grpc.ServerStream
}

type TaprootAssets_SubscribeSendEventsClient added in v0.4.0

type TaprootAssets_SubscribeSendEventsClient interface {
	Recv() (*SendEvent, error)
	grpc.ClientStream
}

type TaprootAssets_SubscribeSendEventsServer added in v0.4.0

type TaprootAssets_SubscribeSendEventsServer interface {
	Send(*SendEvent) error
	grpc.ServerStream
}

type TapscriptFullTree added in v0.4.0

type TapscriptFullTree struct {

	// The complete, ordered list of all tap leaves of the tree.
	AllLeaves []*TapLeaf `protobuf:"bytes,1,rep,name=all_leaves,json=allLeaves,proto3" json:"all_leaves,omitempty"`
	// contains filtered or unexported fields
}

func (*TapscriptFullTree) Descriptor deprecated added in v0.4.0

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

Deprecated: Use TapscriptFullTree.ProtoReflect.Descriptor instead.

func (*TapscriptFullTree) GetAllLeaves added in v0.4.0

func (x *TapscriptFullTree) GetAllLeaves() []*TapLeaf

func (*TapscriptFullTree) ProtoMessage added in v0.4.0

func (*TapscriptFullTree) ProtoMessage()

func (*TapscriptFullTree) ProtoReflect added in v0.4.0

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

func (*TapscriptFullTree) Reset added in v0.4.0

func (x *TapscriptFullTree) Reset()

func (*TapscriptFullTree) String added in v0.4.0

func (x *TapscriptFullTree) String() string

type TransferInput

type TransferInput struct {

	// The old/current location of the Taproot Asset commitment that was spent
	// as an input.
	AnchorPoint string `protobuf:"bytes,1,opt,name=anchor_point,json=anchorPoint,proto3" json:"anchor_point,omitempty"`
	// The ID of the asset that was spent.
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The script key of the asset that was spent.
	ScriptKey []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The amount of the asset that was spent.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferInput) Descriptor deprecated

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

Deprecated: Use TransferInput.ProtoReflect.Descriptor instead.

func (*TransferInput) GetAmount

func (x *TransferInput) GetAmount() uint64

func (*TransferInput) GetAnchorPoint

func (x *TransferInput) GetAnchorPoint() string

func (*TransferInput) GetAssetId

func (x *TransferInput) GetAssetId() []byte

func (*TransferInput) GetScriptKey

func (x *TransferInput) GetScriptKey() []byte

func (*TransferInput) ProtoMessage

func (*TransferInput) ProtoMessage()

func (*TransferInput) ProtoReflect

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

func (*TransferInput) Reset

func (x *TransferInput) Reset()

func (*TransferInput) String

func (x *TransferInput) String() string

type TransferOutput

type TransferOutput struct {
	Anchor           *TransferOutputAnchor `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"`
	ScriptKey        []byte                `protobuf:"bytes,2,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	ScriptKeyIsLocal bool                  `protobuf:"varint,3,opt,name=script_key_is_local,json=scriptKeyIsLocal,proto3" json:"script_key_is_local,omitempty"`
	Amount           uint64                `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// The new individual transition proof (not a full proof file) that proves
	// the inclusion of the new asset within the new AnchorTx.
	NewProofBlob        []byte       `protobuf:"bytes,5,opt,name=new_proof_blob,json=newProofBlob,proto3" json:"new_proof_blob,omitempty"`
	SplitCommitRootHash []byte       `protobuf:"bytes,6,opt,name=split_commit_root_hash,json=splitCommitRootHash,proto3" json:"split_commit_root_hash,omitempty"`
	OutputType          OutputType   `protobuf:"varint,7,opt,name=output_type,json=outputType,proto3,enum=taprpc.OutputType" json:"output_type,omitempty"`
	AssetVersion        AssetVersion `protobuf:"varint,8,opt,name=asset_version,json=assetVersion,proto3,enum=taprpc.AssetVersion" json:"asset_version,omitempty"`
	LockTime            uint64       `protobuf:"varint,9,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	RelativeLockTime    uint64       `protobuf:"varint,10,opt,name=relative_lock_time,json=relativeLockTime,proto3" json:"relative_lock_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferOutput) Descriptor deprecated

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

Deprecated: Use TransferOutput.ProtoReflect.Descriptor instead.

func (*TransferOutput) GetAmount

func (x *TransferOutput) GetAmount() uint64

func (*TransferOutput) GetAnchor

func (x *TransferOutput) GetAnchor() *TransferOutputAnchor

func (*TransferOutput) GetAssetVersion added in v0.3.0

func (x *TransferOutput) GetAssetVersion() AssetVersion

func (*TransferOutput) GetLockTime added in v0.4.0

func (x *TransferOutput) GetLockTime() uint64

func (*TransferOutput) GetNewProofBlob

func (x *TransferOutput) GetNewProofBlob() []byte

func (*TransferOutput) GetOutputType

func (x *TransferOutput) GetOutputType() OutputType

func (*TransferOutput) GetRelativeLockTime added in v0.4.0

func (x *TransferOutput) GetRelativeLockTime() uint64

func (*TransferOutput) GetScriptKey

func (x *TransferOutput) GetScriptKey() []byte

func (*TransferOutput) GetScriptKeyIsLocal

func (x *TransferOutput) GetScriptKeyIsLocal() bool

func (*TransferOutput) GetSplitCommitRootHash

func (x *TransferOutput) GetSplitCommitRootHash() []byte

func (*TransferOutput) ProtoMessage

func (*TransferOutput) ProtoMessage()

func (*TransferOutput) ProtoReflect

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

func (*TransferOutput) Reset

func (x *TransferOutput) Reset()

func (*TransferOutput) String

func (x *TransferOutput) String() string

type TransferOutputAnchor

type TransferOutputAnchor struct {

	// The new location of the Taproot Asset commitment that was created on
	// chain.
	Outpoint         string `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	Value            int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	InternalKey      []byte `protobuf:"bytes,3,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	TaprootAssetRoot []byte `protobuf:"bytes,4,opt,name=taproot_asset_root,json=taprootAssetRoot,proto3" json:"taproot_asset_root,omitempty"`
	MerkleRoot       []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	TapscriptSibling []byte `protobuf:"bytes,6,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	NumPassiveAssets uint32 `protobuf:"varint,7,opt,name=num_passive_assets,json=numPassiveAssets,proto3" json:"num_passive_assets,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferOutputAnchor) Descriptor deprecated

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

Deprecated: Use TransferOutputAnchor.ProtoReflect.Descriptor instead.

func (*TransferOutputAnchor) GetInternalKey

func (x *TransferOutputAnchor) GetInternalKey() []byte

func (*TransferOutputAnchor) GetMerkleRoot

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

func (*TransferOutputAnchor) GetNumPassiveAssets

func (x *TransferOutputAnchor) GetNumPassiveAssets() uint32

func (*TransferOutputAnchor) GetOutpoint

func (x *TransferOutputAnchor) GetOutpoint() string

func (*TransferOutputAnchor) GetTaprootAssetRoot

func (x *TransferOutputAnchor) GetTaprootAssetRoot() []byte

func (*TransferOutputAnchor) GetTapscriptSibling

func (x *TransferOutputAnchor) GetTapscriptSibling() []byte

func (*TransferOutputAnchor) GetValue

func (x *TransferOutputAnchor) GetValue() int64

func (*TransferOutputAnchor) ProtoMessage

func (*TransferOutputAnchor) ProtoMessage()

func (*TransferOutputAnchor) ProtoReflect

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

func (*TransferOutputAnchor) Reset

func (x *TransferOutputAnchor) Reset()

func (*TransferOutputAnchor) String

func (x *TransferOutputAnchor) String() string

type TxOut added in v0.4.0

type TxOut struct {

	// The value of the output being spent.
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// The script of the output being spent.
	PkScript []byte `protobuf:"bytes,2,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"`
	// contains filtered or unexported fields
}

func (*TxOut) Descriptor deprecated added in v0.4.0

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

Deprecated: Use TxOut.ProtoReflect.Descriptor instead.

func (*TxOut) GetPkScript added in v0.4.0

func (x *TxOut) GetPkScript() []byte

func (*TxOut) GetValue added in v0.4.0

func (x *TxOut) GetValue() int64

func (*TxOut) ProtoMessage added in v0.4.0

func (*TxOut) ProtoMessage()

func (*TxOut) ProtoReflect added in v0.4.0

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

func (*TxOut) Reset added in v0.4.0

func (x *TxOut) Reset()

func (*TxOut) String added in v0.4.0

func (x *TxOut) String() string

type UnimplementedTaprootAssetsServer

type UnimplementedTaprootAssetsServer struct {
}

UnimplementedTaprootAssetsServer must be embedded to have forward compatible implementations.

func (UnimplementedTaprootAssetsServer) AddrReceives

func (UnimplementedTaprootAssetsServer) BurnAsset added in v0.3.0

func (UnimplementedTaprootAssetsServer) DebugLevel

func (UnimplementedTaprootAssetsServer) DecodeAddr

func (UnimplementedTaprootAssetsServer) DecodeProof added in v0.2.1

func (UnimplementedTaprootAssetsServer) ExportProof

func (UnimplementedTaprootAssetsServer) FetchAssetMeta

func (UnimplementedTaprootAssetsServer) GetInfo added in v0.2.1

func (UnimplementedTaprootAssetsServer) ListAssets

func (UnimplementedTaprootAssetsServer) ListBalances

func (UnimplementedTaprootAssetsServer) ListGroups

func (UnimplementedTaprootAssetsServer) ListTransfers

func (UnimplementedTaprootAssetsServer) ListUtxos

func (UnimplementedTaprootAssetsServer) NewAddr

func (UnimplementedTaprootAssetsServer) QueryAddrs

func (UnimplementedTaprootAssetsServer) SendAsset

func (UnimplementedTaprootAssetsServer) StopDaemon

func (UnimplementedTaprootAssetsServer) SubscribeReceiveEvents added in v0.4.0

func (UnimplementedTaprootAssetsServer) SubscribeSendEvents added in v0.4.0

func (UnimplementedTaprootAssetsServer) VerifyProof

type UnsafeTaprootAssetsServer

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

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

type VerifyProofResponse added in v0.2.1

type VerifyProofResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// The decoded last proof in the file if the proof file was valid.
	DecodedProof *DecodedProof `protobuf:"bytes,2,opt,name=decoded_proof,json=decodedProof,proto3" json:"decoded_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyProofResponse) Descriptor deprecated added in v0.2.1

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

Deprecated: Use VerifyProofResponse.ProtoReflect.Descriptor instead.

func (*VerifyProofResponse) GetDecodedProof added in v0.2.1

func (x *VerifyProofResponse) GetDecodedProof() *DecodedProof

func (*VerifyProofResponse) GetValid added in v0.2.1

func (x *VerifyProofResponse) GetValid() bool

func (*VerifyProofResponse) ProtoMessage added in v0.2.1

func (*VerifyProofResponse) ProtoMessage()

func (*VerifyProofResponse) ProtoReflect added in v0.2.1

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

func (*VerifyProofResponse) Reset added in v0.2.1

func (x *VerifyProofResponse) Reset()

func (*VerifyProofResponse) String added in v0.2.1

func (x *VerifyProofResponse) String() string

Directories

Path Synopsis
Package assetwalletrpc is a reverse proxy.
Package assetwalletrpc is a reverse proxy.
Package mintrpc is a reverse proxy.
Package mintrpc is a reverse proxy.
Package priceoraclerpc is a reverse proxy.
Package priceoraclerpc is a reverse proxy.
Package rfqrpc is a reverse proxy.
Package rfqrpc is a reverse proxy.
Package tapchannelrpc is a reverse proxy.
Package tapchannelrpc is a reverse proxy.
Package tapdevrpc is a reverse proxy.
Package tapdevrpc is a reverse proxy.
Package universerpc is a reverse proxy.
Package universerpc is a reverse proxy.

Jump to

Keyboard shortcuts

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