taprpc

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 19 Imported by: 12

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 (
	SortDirection_name = map[int32]string{
		0: "SORT_DIRECTION_DESC",
		1: "SORT_DIRECTION_ASC",
	}
	SortDirection_value = map[string]int32{
		"SORT_DIRECTION_DESC": 0,
		"SORT_DIRECTION_ASC":  1,
	}
)

Enum value maps for SortDirection.

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 (
	ProofDeliveryStatus_name = map[int32]string{
		0: "PROOF_DELIVERY_STATUS_NOT_APPLICABLE",
		1: "PROOF_DELIVERY_STATUS_COMPLETE",
		2: "PROOF_DELIVERY_STATUS_PENDING",
	}
	ProofDeliveryStatus_value = map[string]int32{
		"PROOF_DELIVERY_STATUS_NOT_APPLICABLE": 0,
		"PROOF_DELIVERY_STATUS_COMPLETE":       1,
		"PROOF_DELIVERY_STATUS_PENDING":        2,
	}
)

Enum value maps for ProofDeliveryStatus.

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

Enum value maps for AddrVersion.

View Source
var (
	ScriptKeyType_name = map[int32]string{
		0: "SCRIPT_KEY_UNKNOWN",
		1: "SCRIPT_KEY_BIP86",
		2: "SCRIPT_KEY_SCRIPT_PATH_EXTERNAL",
		3: "SCRIPT_KEY_BURN",
		4: "SCRIPT_KEY_TOMBSTONE",
		5: "SCRIPT_KEY_CHANNEL",
		6: "SCRIPT_KEY_UNIQUE_PEDERSEN",
	}
	ScriptKeyType_value = map[string]int32{
		"SCRIPT_KEY_UNKNOWN":              0,
		"SCRIPT_KEY_BIP86":                1,
		"SCRIPT_KEY_SCRIPT_PATH_EXTERNAL": 2,
		"SCRIPT_KEY_BURN":                 3,
		"SCRIPT_KEY_TOMBSTONE":            4,
		"SCRIPT_KEY_CHANNEL":              5,
		"SCRIPT_KEY_UNIQUE_PEDERSEN":      6,
	}
)

Enum value maps for ScriptKeyType.

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_tapcommon_proto protoreflect.FileDescriptor
View Source
var File_taprootassets_proto protoreflect.FileDescriptor
View Source
var (
	// RequiredPermissions is a map of all tapd RPC methods and their
	// required macaroon permissions to access tapd.
	//
	// TODO(roasbeef): re think these and go instead w/ the * approach?
	RequiredPermissions = map[string][]bakery.Op{
		"/taprpc.TaprootAssets/StopDaemon": {{
			Entity: "daemon",
			Action: "write",
		}},
		"/taprpc.TaprootAssets/DebugLevel": {{
			Entity: "daemon",
			Action: "write",
		}},
		"/taprpc.TaprootAssets/GetInfo": {{
			Entity: "daemon",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/BakeMacaroon": {{
			Entity: "macaroon",
			Action: "write",
		}},
		"/taprpc.TaprootAssets/ListAssets": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/FetchAsset": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/ListUtxos": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/ListGroups": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/ListBalances": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/ListTransfers": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/QueryAddrs": {{
			Entity: "addresses",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/NewAddr": {{
			Entity: "addresses",
			Action: "write",
		}},
		"/taprpc.TaprootAssets/DecodeAddr": {{
			Entity: "addresses",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/AddrReceives": {{
			Entity: "addresses",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/VerifyProof": {{
			Entity: "proofs",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/DecodeProof": {{
			Entity: "proofs",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/UnpackProofFile": {{
			Entity: "proofs",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/ExportProof": {{
			Entity: "proofs",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/SendAsset": {{
			Entity: "assets",
			Action: "write",
		}},
		"/taprpc.TaprootAssets/BurnAsset": {{
			Entity: "assets",
			Action: "write",
		}},
		"/taprpc.TaprootAssets/ListBurns": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/FetchAssetMeta": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/SubscribeReceiveEvents": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/SubscribeSendEvents": {{
			Entity: "assets",
			Action: "read",
		}},
		"/taprpc.TaprootAssets/RegisterTransfer": {{
			Entity: "assets",
			Action: "write",
		}, {
			Entity: "proofs",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/FundVirtualPsbt": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/SignVirtualPsbt": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/AnchorVirtualPsbts": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/CommitVirtualPsbts": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/PublishAndLogTransfer": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/NextInternalKey": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/NextScriptKey": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/QueryInternalKey": {{
			Entity: "assets",
			Action: "read",
		}},
		"/assetwalletrpc.AssetWallet/QueryScriptKey": {{
			Entity: "assets",
			Action: "read",
		}},
		"/assetwalletrpc.AssetWallet/ProveAssetOwnership": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/VerifyAssetOwnership": {{
			Entity: "assets",
			Action: "read",
		}},
		"/assetwalletrpc.AssetWallet/RemoveUTXOLease": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/DeclareScriptKey": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/ExportAssetWalletBackup": {{
			Entity: "assets",
			Action: "write",
		}},
		"/assetwalletrpc.AssetWallet/ImportAssetsFromBackup": {{
			Entity: "assets",
			Action: "write",
		}},
		"/mintrpc.Mint/MintAsset": {{
			Entity: "mint",
			Action: "write",
		}},
		"/mintrpc.Mint/FundBatch": {{
			Entity: "mint",
			Action: "write",
		}},
		"/mintrpc.Mint/SealBatch": {{
			Entity: "mint",
			Action: "write",
		}},
		"/mintrpc.Mint/FinalizeBatch": {{
			Entity: "mint",
			Action: "write",
		}},
		"/mintrpc.Mint/CancelBatch": {{
			Entity: "mint",
			Action: "write",
		}},
		"/mintrpc.Mint/ListBatches": {{
			Entity: "mint",
			Action: "read",
		}},
		"/mintrpc.Mint/SubscribeMintEvents": {{
			Entity: "mint",
			Action: "read",
		}},
		"/universerpc.Universe/Info": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/MultiverseRoot": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/AssetRoots": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/QueryAssetRoots": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/DeleteAssetRoot": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/DeleteAssetLeaf": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/AssetLeafKeys": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/AssetLeaves": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/QueryProof": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/InsertProof": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/PushProof": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/SyncUniverse": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/ListFederationServers": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/AddFederationServer": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/DeleteFederationServer": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/UniverseStats": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/QueryAssetStats": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/QueryEvents": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/SetFederationSyncConfig": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/QueryFederationSyncConfig": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/IgnoreAssetOutPoint": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/UpdateSupplyCommit": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/InsertSupplyCommit": {{
			Entity: "universe",
			Action: "write",
		}},
		"/universerpc.Universe/FetchSupplyCommit": {{
			Entity: "universe",
			Action: "read",
		}},
		"/universerpc.Universe/FetchSupplyLeaves": {{
			Entity: "universe",
			Action: "read",
		}},
		"/rfqrpc.Rfq/AddAssetBuyOrder": {{
			Entity: "rfq",
			Action: "write",
		}},
		"/rfqrpc.Rfq/AddAssetSellOrder": {{
			Entity: "rfq",
			Action: "write",
		}},
		"/rfqrpc.Rfq/AddAssetSellOffer": {{
			Entity: "rfq",
			Action: "write",
		}},
		"/rfqrpc.Rfq/AddAssetBuyOffer": {{
			Entity: "rfq",
			Action: "write",
		}},
		"/rfqrpc.Rfq/QueryPeerAcceptedQuotes": {{
			Entity: "rfq",
			Action: "read",
		}},
		"/rfqrpc.Rfq/SubscribeRfqEventNtfns": {{
			Entity: "rfq",
			Action: "write",
		}},
		"/rfqrpc.Rfq/ForwardingHistory": {{
			Entity: "rfq",
			Action: "read",
		}},
		"/tapchannelrpc.TaprootAssetChannels/FundChannel": {{
			Entity: "channels",
			Action: "write",
		}},
		"/tapchannelrpc.TaprootAssetChannels/SendPayment": {{
			Entity: "channels",
			Action: "write",
		}},
		"/tapchannelrpc.TaprootAssetChannels/AddInvoice": {{
			Entity: "channels",
			Action: "write",
		}},
		"/tapchannelrpc.TaprootAssetChannels/DecodeAssetPayReq": {{
			Entity: "channels",
			Action: "read",
		}},
		"/tapchannelrpc.TaprootAssetChannels/EncodeCustomRecords": {},
		"/tapdevrpc.TapDev/ImportProof": {{
			Entity: "proofs",
			Action: "write",
		}},
		"/tapdevrpc.TapDev/SubscribeSendAssetEventNtfns": {{
			Entity: "assets",
			Action: "write",
		}},
		"/tapdevrpc.TapDev/SubscribeReceiveAssetEventNtfns": {{
			Entity: "assets",
			Action: "write",
		}},
		"/authmailboxrpc.Mailbox/SendMessage": {{
			Entity: "mailbox",
			Action: "write",
		}},
		"/authmailboxrpc.Mailbox/ReceiveMessages": {{
			Entity: "mailbox",
			Action: "read",
		}},
		"/authmailboxrpc.Mailbox/MailboxInfo": {{
			Entity: "mailbox",
			Action: "read",
		}},
		"/authmailboxrpc.Mailbox/RemoveMessage": {{
			Entity: "mailbox",
			Action: "write",
		}},
	}
)
View Source
var TaprootAssets_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "taprpc.TaprootAssets",
	HandlerType: (*TaprootAssetsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAssets",
			Handler:    _TaprootAssets_ListAssets_Handler,
		},
		{
			MethodName: "FetchAsset",
			Handler:    _TaprootAssets_FetchAsset_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: "UnpackProofFile",
			Handler:    _TaprootAssets_UnpackProofFile_Handler,
		},
		{
			MethodName: "SendAsset",
			Handler:    _TaprootAssets_SendAsset_Handler,
		},
		{
			MethodName: "BurnAsset",
			Handler:    _TaprootAssets_BurnAsset_Handler,
		},
		{
			MethodName: "ListBurns",
			Handler:    _TaprootAssets_ListBurns_Handler,
		},
		{
			MethodName: "GetInfo",
			Handler:    _TaprootAssets_GetInfo_Handler,
		},
		{
			MethodName: "BakeMacaroon",
			Handler:    _TaprootAssets_BakeMacaroon_Handler,
		},
		{
			MethodName: "FetchAssetMeta",
			Handler:    _TaprootAssets_FetchAssetMeta_Handler,
		},
		{
			MethodName: "RegisterTransfer",
			Handler:    _TaprootAssets_RegisterTransfer_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 MacaroonWhitelist

func MacaroonWhitelist(allowUniPublicAccessRead bool,
	allowUniPublicAccessWrite bool, allowPublicUniProofCourier bool,
	allowPublicStats bool) map[string]struct{}

MacaroonWhitelist returns the set of RPC endpoints that don't require macaroon authentication.

func PrintMsg added in v1.0.8

func PrintMsg(message proto.Message) string

PrintMsg prints a protobuf message as JSON, suitable for logging (without any indentation).

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

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)

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. This can be all zeroes
	// for V2 addresses that have a group key set.
	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. The
	// amount is allowed to be unset for V2 addresses, where the sender will
	// post a fragment containing the asset IDs and amounts to the proof
	// courier's auth mailbox.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// The group key of the asset group to receive assets for. If this field
	// is set, then any asset of the group can be sent to this address. Can only
	// be specified for V2 addresses. If this field is set, the asset_id
	// field must be empty.
	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. For V2
	// addresses the proof courier address is mandatory and must be a valid auth
	// mailbox address (authmailbox+universerpc://host:port).
	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

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

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

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 */
	// Filter receives by creation time greater than or equal to this timestamp.
	// If not set, no start time filtering is applied.
	StartTimestamp uint64 `protobuf:"varint,3,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// Filter receives by creation time less than or equal to this timestamp.
	// If not set, no end time filtering is applied.
	EndTimestamp uint64 `protobuf:"varint,4,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	// The number of events to skip.
	Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
	// The max number of events returned.
	Limit int32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// The direction of the page. Sorted by creation time.
	Direction SortDirection `protobuf:"varint,7,opt,name=direction,proto3,enum=taprpc.SortDirection" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*AddrReceivesRequest) Descriptor deprecated

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

Deprecated: Use AddrReceivesRequest.ProtoReflect.Descriptor instead.

func (*AddrReceivesRequest) GetDirection added in v1.1.0

func (x *AddrReceivesRequest) GetDirection() SortDirection

func (*AddrReceivesRequest) GetEndTimestamp added in v1.0.10

func (x *AddrReceivesRequest) GetEndTimestamp() uint64

func (*AddrReceivesRequest) GetFilterAddr

func (x *AddrReceivesRequest) GetFilterAddr() string

func (*AddrReceivesRequest) GetFilterStatus

func (x *AddrReceivesRequest) GetFilterStatus() AddrEventStatus

func (*AddrReceivesRequest) GetLimit added in v1.1.0

func (x *AddrReceivesRequest) GetLimit() int32

func (*AddrReceivesRequest) GetOffset added in v1.1.0

func (x *AddrReceivesRequest) GetOffset() int32

func (*AddrReceivesRequest) GetStartTimestamp added in v1.0.10

func (x *AddrReceivesRequest) GetStartTimestamp() uint64

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

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
	// ADDR_VERSION_V2 is the address version that supports sending grouped
	// assets and require the new auth mailbox proof courier address format.
	AddrVersion_ADDR_VERSION_V2 AddrVersion = 3
)

func (AddrVersion) Descriptor

func (AddrVersion) Enum

func (x AddrVersion) Enum() *AddrVersion

func (AddrVersion) EnumDescriptor deprecated

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

Deprecated: Use AddrVersion.Descriptor instead.

func (AddrVersion) Number

func (x AddrVersion) Number() protoreflect.EnumNumber

func (AddrVersion) String

func (x AddrVersion) String() string

func (AddrVersion) Type

type AddressWithAmount added in v1.0.10

type AddressWithAmount struct {

	// The TAP address to send assets to.
	TapAddr string `protobuf:"bytes,1,opt,name=tap_addr,json=tapAddr,proto3" json:"tap_addr,omitempty"`
	// The amount of asset units to send to the address. This is only used for
	// re-usable V2 addresses that don't specify an amount in the address itself
	// and allow the sender to specify the amount on each send attempt. For V0
	// or V1 addresses, this can be left empty (zero) as the amount is taken
	// from the address itself.
	Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressWithAmount) Descriptor deprecated added in v1.0.10

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

Deprecated: Use AddressWithAmount.ProtoReflect.Descriptor instead.

func (*AddressWithAmount) GetAmount added in v1.0.10

func (x *AddressWithAmount) GetAmount() uint64

func (*AddressWithAmount) GetTapAddr added in v1.0.10

func (x *AddressWithAmount) GetTapAddr() string

func (*AddressWithAmount) ProtoMessage added in v1.0.10

func (*AddressWithAmount) ProtoMessage()

func (*AddressWithAmount) ProtoReflect added in v1.0.10

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

func (*AddressWithAmount) Reset added in v1.0.10

func (x *AddressWithAmount) Reset()

func (*AddressWithAmount) String added in v1.0.10

func (x *AddressWithAmount) String() string

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"`
	// The UTC Unix timestamp of the block containing the anchor transaction.
	BlockTimestamp int64 `protobuf:"varint,9,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,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

func (x *AnchorInfo) GetBlockHeight() uint32

func (*AnchorInfo) GetBlockTimestamp

func (x *AnchorInfo) GetBlockTimestamp() int64

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

type AnchorTransaction struct {

	// The on-chain anchor transaction PSBT packet that was created by the
	// daemon.
	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

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

Deprecated: Use AnchorTransaction.ProtoReflect.Descriptor instead.

func (*AnchorTransaction) GetAnchorPsbt

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

func (*AnchorTransaction) GetChainFeesSats

func (x *AnchorTransaction) GetChainFeesSats() int64

func (*AnchorTransaction) GetChangeOutputIndex

func (x *AnchorTransaction) GetChangeOutputIndex() int32

func (*AnchorTransaction) GetFinalTx

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

func (*AnchorTransaction) GetLndLockedUtxos

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

func (*AnchorTransaction) GetTargetFeeRateSatKw

func (x *AnchorTransaction) GetTargetFeeRateSatKw() int32

func (*AnchorTransaction) ProtoMessage

func (*AnchorTransaction) ProtoMessage()

func (*AnchorTransaction) ProtoReflect

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

func (*AnchorTransaction) Reset

func (x *AnchorTransaction) Reset()

func (*AnchorTransaction) String

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"`
	// The asset's previous witnesses, which either contain the spending
	// witness stack (usually a signature) or the split commitment witness
	// (which is used to prove the split commitment of a split asset).
	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"`
	// Deprecated, use script_key_type instead!
	// 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 */
	// Deprecated, use script_key_type instead!
	// 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"`
	// The type of the script key. This type is either user-declared when custom
	// script keys are added, or automatically determined by the daemon for
	// standard operations (e.g. BIP-86 keys, burn keys, tombstone keys, channel
	// related keys).
	ScriptKeyType ScriptKeyType `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (x *Asset) GetDecimalDisplay() *DecimalDisplay

func (*Asset) GetIsBurn

func (x *Asset) GetIsBurn() bool

func (*Asset) GetIsSpent

func (x *Asset) GetIsSpent() bool

func (*Asset) GetLeaseExpiry

func (x *Asset) GetLeaseExpiry() int64

func (*Asset) GetLeaseOwner

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

func (x *Asset) GetScriptKeyDeclaredKnown() bool

func (*Asset) GetScriptKeyHasScriptPath

func (x *Asset) GetScriptKeyHasScriptPath() bool

func (*Asset) GetScriptKeyIsLocal

func (x *Asset) GetScriptKeyIsLocal() bool

func (*Asset) GetScriptKeyType

func (x *Asset) GetScriptKeyType() ScriptKeyType

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"`
	// The group key of the asset (if it belongs to a group).
	GroupKey []byte `protobuf:"bytes,4,opt,name=group_key,json=groupKey,proto3" json:"group_key,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) GetGroupKey added in v1.0.10

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

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 AssetBurn

type AssetBurn struct {

	// A note that may contain user defined metadata related to this burn.
	Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	// The asset id of the burnt asset.
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The tweaked group key of the group this asset belongs to.
	TweakedGroupKey []byte `protobuf:"bytes,3,opt,name=tweaked_group_key,json=tweakedGroupKey,proto3" json:"tweaked_group_key,omitempty"`
	// The amount of burnt assets.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// The txid of the transaction that the burn was anchored to.
	AnchorTxid []byte `protobuf:"bytes,5,opt,name=anchor_txid,json=anchorTxid,proto3" json:"anchor_txid,omitempty"`
	// The type of the burnt asset.
	AssetType AssetType `protobuf:"varint,6,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetBurn) Descriptor deprecated

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

Deprecated: Use AssetBurn.ProtoReflect.Descriptor instead.

func (*AssetBurn) GetAmount

func (x *AssetBurn) GetAmount() uint64

func (*AssetBurn) GetAnchorTxid

func (x *AssetBurn) GetAnchorTxid() []byte

func (*AssetBurn) GetAssetId

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

func (*AssetBurn) GetAssetType added in v1.1.0

func (x *AssetBurn) GetAssetType() AssetType

func (*AssetBurn) GetNote

func (x *AssetBurn) GetNote() string

func (*AssetBurn) GetTweakedGroupKey

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

func (*AssetBurn) ProtoMessage

func (*AssetBurn) ProtoMessage()

func (*AssetBurn) ProtoReflect

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

func (*AssetBurn) Reset

func (x *AssetBurn) Reset()

func (*AssetBurn) String

func (x *AssetBurn) 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

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

func (*AssetGroup) GetRawGroupKey

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

func (*AssetGroup) GetTapscriptRoot

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

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 AssetOutPoint added in v1.0.10

type AssetOutPoint struct {

	// The outpoint of the asset anchor, represented as a string in the
	// format "<txid>:<vout>". The <txid> is the transaction ID of the UTXO,
	// hex-encoded and byte-reversed (i.e., the internal little-endian
	// 32-byte value is reversed to big-endian hex format) to match standard
	// Bitcoin RPC and UI conventions.
	AnchorOutPoint string `protobuf:"bytes,1,opt,name=anchor_out_point,json=anchorOutPoint,proto3" json:"anchor_out_point,omitempty"`
	// The asset ID of the asset anchored at the outpoint.
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The script key of the asset. This is the taproot output key that the
	// asset is locked to.
	ScriptKey []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// contains filtered or unexported fields
}

A transaction outpoint annotated with TAP-level asset metadata. It uniquely identifies an asset anchored at a specific outpoint.

func (*AssetOutPoint) Descriptor deprecated added in v1.0.10

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

Deprecated: Use AssetOutPoint.ProtoReflect.Descriptor instead.

func (*AssetOutPoint) GetAnchorOutPoint added in v1.0.10

func (x *AssetOutPoint) GetAnchorOutPoint() string

func (*AssetOutPoint) GetAssetId added in v1.0.10

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

func (*AssetOutPoint) GetScriptKey added in v1.0.10

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

func (*AssetOutPoint) ProtoMessage added in v1.0.10

func (*AssetOutPoint) ProtoMessage()

func (*AssetOutPoint) ProtoReflect added in v1.0.10

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

func (*AssetOutPoint) Reset added in v1.0.10

func (x *AssetOutPoint) Reset()

func (*AssetOutPoint) String added in v1.0.10

func (x *AssetOutPoint) String() string

type AssetSpecifier added in v1.1.0

type AssetSpecifier struct {

	// Types that are valid to be assigned to Id:
	//
	//	*AssetSpecifier_AssetId
	//	*AssetSpecifier_AssetIdStr
	//	*AssetSpecifier_GroupKey
	//	*AssetSpecifier_GroupKeyStr
	Id isAssetSpecifier_Id `protobuf_oneof:"id"`
	// contains filtered or unexported fields
}

AssetSpecifier is a union type for specifying an asset by either its asset ID or group key.

func (*AssetSpecifier) Descriptor deprecated added in v1.1.0

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

Deprecated: Use AssetSpecifier.ProtoReflect.Descriptor instead.

func (*AssetSpecifier) GetAssetId added in v1.1.0

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

func (*AssetSpecifier) GetAssetIdStr added in v1.1.0

func (x *AssetSpecifier) GetAssetIdStr() string

func (*AssetSpecifier) GetGroupKey added in v1.1.0

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

func (*AssetSpecifier) GetGroupKeyStr added in v1.1.0

func (x *AssetSpecifier) GetGroupKeyStr() string

func (*AssetSpecifier) GetId added in v1.1.0

func (x *AssetSpecifier) GetId() isAssetSpecifier_Id

func (*AssetSpecifier) ProtoMessage added in v1.1.0

func (*AssetSpecifier) ProtoMessage()

func (*AssetSpecifier) ProtoReflect added in v1.1.0

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

func (*AssetSpecifier) Reset added in v1.1.0

func (x *AssetSpecifier) Reset()

func (*AssetSpecifier) String added in v1.1.0

func (x *AssetSpecifier) String() string

type AssetSpecifier_AssetId added in v1.1.0

type AssetSpecifier_AssetId struct {
	// The 32-byte asset ID specified as raw bytes (gRPC only).
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3,oneof"`
}

type AssetSpecifier_AssetIdStr added in v1.1.0

type AssetSpecifier_AssetIdStr struct {
	// The 32-byte asset ID encoded as a hex string (use this for REST).
	AssetIdStr string `protobuf:"bytes,2,opt,name=asset_id_str,json=assetIdStr,proto3,oneof"`
}

type AssetSpecifier_GroupKey added in v1.1.0

type AssetSpecifier_GroupKey struct {
	// The 32-byte asset group key specified as raw bytes (gRPC only).
	GroupKey []byte `protobuf:"bytes,3,opt,name=group_key,json=groupKey,proto3,oneof"`
}

type AssetSpecifier_GroupKeyStr added in v1.1.0

type AssetSpecifier_GroupKeyStr struct {
	// The 32-byte asset group key encoded as hex string (use this for
	// REST).
	GroupKeyStr string `protobuf:"bytes,4,opt,name=group_key_str,json=groupKeyStr,proto3,oneof"`
}

type AssetTransfer

type AssetTransfer struct {

	// The timestamp of the transfer in UTC Unix time seconds.
	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. Note that this is in raw byte format, not
	// the reversed hex string format that is used for displayed txids. When
	// listing assets on the CLI we purposefully use the display format so it
	// is easier to copy and paste into other tools.
	AnchorTxHash []byte `protobuf:"bytes,2,opt,name=anchor_tx_hash,json=anchorTxHash,proto3" json:"anchor_tx_hash,omitempty"`
	// The height hint of the anchor transaction. This is the height at which
	// the anchor transaction was published, so the actual inclusion height
	// will be greater than this value.
	AnchorTxHeightHint uint32 `protobuf:"varint,3,opt,name=anchor_tx_height_hint,json=anchorTxHeightHint,proto3" json:"anchor_tx_height_hint,omitempty"`
	// The total fees paid by the anchor transaction in satoshis.
	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"`
	// The block hash of the blockchain block that contains the anchor
	// transaction. If this value is unset, the anchor transaction is
	// unconfirmed.
	AnchorTxBlockHash *ChainHash `protobuf:"bytes,7,opt,name=anchor_tx_block_hash,json=anchorTxBlockHash,proto3" json:"anchor_tx_block_hash,omitempty"`
	// The block height of the blockchain block that contains the anchor
	// transaction. If the anchor transaction is still unconfirmed, this value
	// will be 0.
	AnchorTxBlockHeight uint32 `protobuf:"varint,8,opt,name=anchor_tx_block_height,json=anchorTxBlockHeight,proto3" json:"anchor_tx_block_height,omitempty"`
	// An optional short label for the transfer. This label can be used to track
	// the progress of the transfer via the logs or an event subscription.
	// Multiple transfers can share the same label.
	Label string `protobuf:"bytes,9,opt,name=label,proto3" json:"label,omitempty"`
	// The L1 transaction that anchors the Taproot Asset commitment where the
	// asset resides.
	AnchorTx []byte `protobuf:"bytes,10,opt,name=anchor_tx,json=anchorTx,proto3" json:"anchor_tx,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetTransfer) Descriptor deprecated

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

Deprecated: Use AssetTransfer.ProtoReflect.Descriptor instead.

func (*AssetTransfer) GetAnchorTx added in v1.0.4

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

func (*AssetTransfer) GetAnchorTxBlockHash

func (x *AssetTransfer) GetAnchorTxBlockHash() *ChainHash

func (*AssetTransfer) GetAnchorTxBlockHeight

func (x *AssetTransfer) GetAnchorTxBlockHeight() uint32

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) GetLabel

func (x *AssetTransfer) GetLabel() string

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

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 (AssetVersion) Descriptor

func (AssetVersion) Enum

func (x AssetVersion) Enum() *AssetVersion

func (AssetVersion) EnumDescriptor deprecated

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

Deprecated: Use AssetVersion.Descriptor instead.

func (AssetVersion) Number

func (AssetVersion) String

func (x AssetVersion) String() string

func (AssetVersion) Type

type BakeMacaroonRequest added in v1.1.0

type BakeMacaroonRequest struct {

	// The list of permissions the new macaroon should grant.
	Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// The root key ID used to create the macaroon, must be a non-negative integer.
	RootKeyId uint64 `protobuf:"varint,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"`
	// Informs the RPC on whether to allow external permissions that tapd is not
	// aware of.
	AllowExternalPermissions bool `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BakeMacaroonRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use BakeMacaroonRequest.ProtoReflect.Descriptor instead.

func (*BakeMacaroonRequest) GetAllowExternalPermissions added in v1.1.0

func (x *BakeMacaroonRequest) GetAllowExternalPermissions() bool

func (*BakeMacaroonRequest) GetPermissions added in v1.1.0

func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission

func (*BakeMacaroonRequest) GetRootKeyId added in v1.1.0

func (x *BakeMacaroonRequest) GetRootKeyId() uint64

func (*BakeMacaroonRequest) ProtoMessage added in v1.1.0

func (*BakeMacaroonRequest) ProtoMessage()

func (*BakeMacaroonRequest) ProtoReflect added in v1.1.0

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

func (*BakeMacaroonRequest) Reset added in v1.1.0

func (x *BakeMacaroonRequest) Reset()

func (*BakeMacaroonRequest) String added in v1.1.0

func (x *BakeMacaroonRequest) String() string

type BakeMacaroonResponse added in v1.1.0

type BakeMacaroonResponse struct {

	// The hex encoded macaroon, serialized in binary format.
	Macaroon string `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"`
	// contains filtered or unexported fields
}

func (*BakeMacaroonResponse) Descriptor deprecated added in v1.1.0

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

Deprecated: Use BakeMacaroonResponse.ProtoReflect.Descriptor instead.

func (*BakeMacaroonResponse) GetMacaroon added in v1.1.0

func (x *BakeMacaroonResponse) GetMacaroon() string

func (*BakeMacaroonResponse) ProtoMessage added in v1.1.0

func (*BakeMacaroonResponse) ProtoMessage()

func (*BakeMacaroonResponse) ProtoReflect added in v1.1.0

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

func (*BakeMacaroonResponse) Reset added in v1.1.0

func (x *BakeMacaroonResponse) Reset()

func (*BakeMacaroonResponse) String added in v1.1.0

func (x *BakeMacaroonResponse) String() string

type BurnAssetRequest

type BurnAssetRequest struct {

	// Deprecated: Use asset_specifier instead.
	//
	// Types that are valid to be assigned to Asset:
	//
	//	*BurnAssetRequest_AssetId
	//	*BurnAssetRequest_AssetIdStr
	Asset isBurnAssetRequest_Asset `protobuf_oneof:"asset"`
	// The number of asset units to burn. This must be greater than zero.
	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"`
	// A note that may contain user defined metadata related to this burn.
	Note string `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"`
	// The asset specifier identifying which asset to burn. Supports both
	// asset ID and group key. This field supersedes the deprecated
	// asset_id/asset_id_str fields above.
	AssetSpecifier *AssetSpecifier `protobuf:"bytes,6,opt,name=asset_specifier,json=assetSpecifier,proto3" json:"asset_specifier,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnAssetRequest) Descriptor deprecated

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

Deprecated: Use BurnAssetRequest.ProtoReflect.Descriptor instead.

func (*BurnAssetRequest) GetAmountToBurn

func (x *BurnAssetRequest) GetAmountToBurn() uint64

func (*BurnAssetRequest) GetAsset

func (x *BurnAssetRequest) GetAsset() isBurnAssetRequest_Asset

func (*BurnAssetRequest) GetAssetId deprecated

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

Deprecated: Marked as deprecated in taprootassets.proto.

func (*BurnAssetRequest) GetAssetIdStr deprecated

func (x *BurnAssetRequest) GetAssetIdStr() string

Deprecated: Marked as deprecated in taprootassets.proto.

func (*BurnAssetRequest) GetAssetSpecifier added in v1.1.0

func (x *BurnAssetRequest) GetAssetSpecifier() *AssetSpecifier

func (*BurnAssetRequest) GetConfirmationText

func (x *BurnAssetRequest) GetConfirmationText() string

func (*BurnAssetRequest) GetNote

func (x *BurnAssetRequest) GetNote() string

func (*BurnAssetRequest) ProtoMessage

func (*BurnAssetRequest) ProtoMessage()

func (*BurnAssetRequest) ProtoReflect

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

func (*BurnAssetRequest) Reset

func (x *BurnAssetRequest) Reset()

func (*BurnAssetRequest) String

func (x *BurnAssetRequest) String() string

type BurnAssetRequest_AssetId

type BurnAssetRequest_AssetId struct {
	// Deprecated, the asset ID of the asset to burn units of.
	// Use asset_specifier instead.
	//
	// Deprecated: Marked as deprecated in taprootassets.proto.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3,oneof"`
}

type BurnAssetRequest_AssetIdStr

type BurnAssetRequest_AssetIdStr struct {
	// Deprecated, the hex encoded asset ID of the asset to burn units of.
	// Use asset_specifier instead.
	//
	// Deprecated: Marked as deprecated in taprootassets.proto.
	AssetIdStr string `protobuf:"bytes,2,opt,name=asset_id_str,json=assetIdStr,proto3,oneof"`
}

type BurnAssetResponse

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"`
	// Deprecated: Use burn_proofs instead.
	//
	// Deprecated: Marked as deprecated in taprootassets.proto.
	BurnProof *DecodedProof `protobuf:"bytes,2,opt,name=burn_proof,json=burnProof,proto3" json:"burn_proof,omitempty"`
	// The burn transition proofs for the asset burn outputs. May contain
	// more than one entry when burning by group key across multiple
	// issuances.
	BurnProofs []*DecodedProof `protobuf:"bytes,3,rep,name=burn_proofs,json=burnProofs,proto3" json:"burn_proofs,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnAssetResponse) Descriptor deprecated

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

Deprecated: Use BurnAssetResponse.ProtoReflect.Descriptor instead.

func (*BurnAssetResponse) GetBurnProof deprecated

func (x *BurnAssetResponse) GetBurnProof() *DecodedProof

Deprecated: Marked as deprecated in taprootassets.proto.

func (*BurnAssetResponse) GetBurnProofs added in v1.1.0

func (x *BurnAssetResponse) GetBurnProofs() []*DecodedProof

func (*BurnAssetResponse) GetBurnTransfer

func (x *BurnAssetResponse) GetBurnTransfer() *AssetTransfer

func (*BurnAssetResponse) ProtoMessage

func (*BurnAssetResponse) ProtoMessage()

func (*BurnAssetResponse) ProtoReflect

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

func (*BurnAssetResponse) Reset

func (x *BurnAssetResponse) Reset()

func (*BurnAssetResponse) String

func (x *BurnAssetResponse) String() string

type ChainHash

type ChainHash struct {

	// The raw hash value in byte format.
	//
	// This format is optimized for programmatic use, particularly for Go
	// developers, enabling easy integration with other RPC calls or binary
	// operations.
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// The byte-reversed hash value as a hexadecimal string.
	//
	// This format is intended for human interaction, making it easy to copy,
	// paste, and use in contexts like command-line arguments or configuration
	// files.
	HashStr string `protobuf:"bytes,2,opt,name=hash_str,json=hashStr,proto3" json:"hash_str,omitempty"`
	// contains filtered or unexported fields
}

ChainHash represents a hash value, typically a double SHA-256 of some data. Common examples include block hashes and transaction hashes.

This versatile message type is used in various Bitcoin-related messages and structures, providing two different formats of the same hash to accommodate both developer and user needs.

func (*ChainHash) Descriptor deprecated

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

Deprecated: Use ChainHash.ProtoReflect.Descriptor instead.

func (*ChainHash) GetHash

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

func (*ChainHash) GetHashStr

func (x *ChainHash) GetHashStr() string

func (*ChainHash) ProtoMessage

func (*ChainHash) ProtoMessage()

func (*ChainHash) ProtoReflect

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

func (*ChainHash) Reset

func (x *ChainHash) Reset()

func (*ChainHash) String

func (x *ChainHash) 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"`
	// If set, the debug level for the sub-system will be set to this value.
	// Can be one of: "trace", "debug", "info", "warn", "error", "critical",
	// "off", to set a global level, optionally followed by a comma-separated
	// list of sub-systems to set the level for. For example:
	// "debug,TADB=info,UNIV=warn".
	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 {

	// The list of available logging sub-systems that can be set to a specific
	// debug level.
	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

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

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

Deprecated: Use DecimalDisplay.ProtoReflect.Descriptor instead.

func (*DecimalDisplay) GetDecimalDisplay

func (x *DecimalDisplay) GetDecimalDisplay() uint32

func (*DecimalDisplay) ProtoMessage

func (*DecimalDisplay) ProtoMessage()

func (*DecimalDisplay) ProtoReflect

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

func (*DecimalDisplay) Reset

func (x *DecimalDisplay) Reset()

func (*DecimalDisplay) String

func (x *DecimalDisplay) String() string

type DecodeAddrRequest

type DecodeAddrRequest struct {

	// The bech32 encoded Taproot Asset address to decode.
	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

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

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

Deprecated: Use DecodeProofRequest.ProtoReflect.Descriptor instead.

func (*DecodeProofRequest) GetProofAtDepth

func (x *DecodeProofRequest) GetProofAtDepth() uint32

func (*DecodeProofRequest) GetRawProof

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

func (*DecodeProofRequest) GetWithMetaReveal

func (x *DecodeProofRequest) GetWithMetaReveal() bool

func (*DecodeProofRequest) GetWithPrevWitnesses

func (x *DecodeProofRequest) GetWithPrevWitnesses() bool

func (*DecodeProofRequest) ProtoMessage

func (*DecodeProofRequest) ProtoMessage()

func (*DecodeProofRequest) ProtoReflect

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

func (*DecodeProofRequest) Reset

func (x *DecodeProofRequest) Reset()

func (*DecodeProofRequest) String

func (x *DecodeProofRequest) String() string

type DecodeProofResponse

type DecodeProofResponse struct {

	// The decoded, more human-readable proof.
	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

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

Deprecated: Use DecodeProofResponse.ProtoReflect.Descriptor instead.

func (*DecodeProofResponse) GetDecodedProof

func (x *DecodeProofResponse) GetDecodedProof() *DecodedProof

func (*DecodeProofResponse) ProtoMessage

func (*DecodeProofResponse) ProtoMessage()

func (*DecodeProofResponse) ProtoReflect

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

func (*DecodeProofResponse) Reset

func (x *DecodeProofResponse) Reset()

func (*DecodeProofResponse) String

func (x *DecodeProofResponse) String() string

type DecodedProof

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"`
	// AltLeaves represent data used to construct an Asset commitment, that
	// will be inserted in the input anchor Tap commitment. These data-carrying
	// leaves are used for a purpose distinct from representing individual
	// individual Taproot Assets.
	AltLeaves []byte `protobuf:"bytes,14,opt,name=alt_leaves,json=altLeaves,proto3" json:"alt_leaves,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedProof) Descriptor deprecated

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

Deprecated: Use DecodedProof.ProtoReflect.Descriptor instead.

func (*DecodedProof) GetAltLeaves

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

func (*DecodedProof) GetAsset

func (x *DecodedProof) GetAsset() *Asset

func (*DecodedProof) GetChallengeWitness

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

func (*DecodedProof) GetExclusionProofs

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

func (*DecodedProof) GetGenesisReveal

func (x *DecodedProof) GetGenesisReveal() *GenesisReveal

func (*DecodedProof) GetGroupKeyReveal

func (x *DecodedProof) GetGroupKeyReveal() *GroupKeyReveal

func (*DecodedProof) GetInclusionProof

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

func (*DecodedProof) GetIsBurn

func (x *DecodedProof) GetIsBurn() bool

func (*DecodedProof) GetMetaReveal

func (x *DecodedProof) GetMetaReveal() *AssetMeta

func (*DecodedProof) GetNumAdditionalInputs

func (x *DecodedProof) GetNumAdditionalInputs() uint32

func (*DecodedProof) GetNumberOfProofs

func (x *DecodedProof) GetNumberOfProofs() uint32

func (*DecodedProof) GetProofAtDepth

func (x *DecodedProof) GetProofAtDepth() uint32

func (*DecodedProof) GetSplitRootProof

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

func (*DecodedProof) GetTxMerkleProof

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

func (*DecodedProof) ProtoMessage

func (*DecodedProof) ProtoMessage()

func (*DecodedProof) ProtoReflect

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

func (*DecodedProof) Reset

func (x *DecodedProof) Reset()

func (*DecodedProof) String

func (x *DecodedProof) String() string

type ExportProofRequest

type ExportProofRequest struct {

	// The asset ID of the asset to export the proof for.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The script key of the asset to export the proof for.
	ScriptKey []byte `protobuf:"bytes,2,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The on-chain outpoint of the asset to export the proof for.
	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

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 ExternalKey

type ExternalKey struct {

	// This field specifies the extended public key derived at depth 3 of the
	// BIP-86 hierarchy (e.g., m/86'/0'/0'). This key serves as the parent key for
	// deriving child public keys and addresses.
	Xpub string `protobuf:"bytes,1,opt,name=xpub,proto3" json:"xpub,omitempty"`
	// This field specifies the fingerprint of the master key, derived from the
	// first 4 bytes of the hash160 of the master public key. It is used to
	// identify the master key in BIP-86 derivation schemes.
	MasterFingerprint []byte `protobuf:"bytes,2,opt,name=master_fingerprint,json=masterFingerprint,proto3" json:"master_fingerprint,omitempty"`
	// This field specifies the extended BIP-86 derivation path used to derive a
	// child key from the XPub. Starting from the base path of the XPub
	// (e.g., m/86'/0'/0'), this path must contain exactly 5 components in total
	// (e.g., m/86'/0'/0'/0/0), with the additional components defining specific
	// child keys, such as individual addresses.
	DerivationPath string `protobuf:"bytes,3,opt,name=derivation_path,json=derivationPath,proto3" json:"derivation_path,omitempty"`
	// contains filtered or unexported fields
}

This message represents an external key used for deriving and managing hierarchical deterministic (HD) wallet addresses according to BIP-86.

func (*ExternalKey) Descriptor deprecated

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

Deprecated: Use ExternalKey.ProtoReflect.Descriptor instead.

func (*ExternalKey) GetDerivationPath

func (x *ExternalKey) GetDerivationPath() string

func (*ExternalKey) GetMasterFingerprint

func (x *ExternalKey) GetMasterFingerprint() []byte

func (*ExternalKey) GetXpub

func (x *ExternalKey) GetXpub() string

func (*ExternalKey) ProtoMessage

func (*ExternalKey) ProtoMessage()

func (*ExternalKey) ProtoReflect

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

func (*ExternalKey) Reset

func (x *ExternalKey) Reset()

func (*ExternalKey) String

func (x *ExternalKey) String() string

type FetchAssetMetaRequest

type FetchAssetMetaRequest struct {

	// Types that are valid to be assigned 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 (x *FetchAssetMetaRequest) GetAsset() isFetchAssetMetaRequest_Asset

func (*FetchAssetMetaRequest) GetAssetId

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

func (*FetchAssetMetaRequest) GetAssetIdStr

func (x *FetchAssetMetaRequest) GetAssetIdStr() string

func (*FetchAssetMetaRequest) GetMetaHash

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

func (*FetchAssetMetaRequest) GetMetaHashStr

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

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

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 FetchAssetMetaResponse added in v1.0.8

type FetchAssetMetaResponse 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"`
	// A map of unknown odd TLV types that were encountered during asset meta data
	// decoding.
	UnknownOddTypes map[uint64][]byte `` /* 183-byte string literal not displayed */
	// The decimal display value of the asset. This is used to determine the number
	// of decimal places to display when presenting the asset amount to the user.
	DecimalDisplay uint32 `protobuf:"varint,5,opt,name=decimal_display,json=decimalDisplay,proto3" json:"decimal_display,omitempty"`
	// Boolean flag indicating whether the asset-group issuer publishes
	// universe-supply commitments to the canonical universe set.
	UniverseCommitments bool `protobuf:"varint,6,opt,name=universe_commitments,json=universeCommitments,proto3" json:"universe_commitments,omitempty"`
	// List of canonical universe URLs where the asset-group issuer publishes
	// asset-related proofs.
	CanonicalUniverseUrls []string `` /* 126-byte string literal not displayed */
	// The public key that is used to verify universe supply commitment related
	// on-chain outputs and proofs.
	DelegationKey []byte `protobuf:"bytes,8,opt,name=delegation_key,json=delegationKey,proto3" json:"delegation_key,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchAssetMetaResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use FetchAssetMetaResponse.ProtoReflect.Descriptor instead.

func (*FetchAssetMetaResponse) GetCanonicalUniverseUrls added in v1.0.8

func (x *FetchAssetMetaResponse) GetCanonicalUniverseUrls() []string

func (*FetchAssetMetaResponse) GetData added in v1.0.8

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

func (*FetchAssetMetaResponse) GetDecimalDisplay added in v1.0.8

func (x *FetchAssetMetaResponse) GetDecimalDisplay() uint32

func (*FetchAssetMetaResponse) GetDelegationKey added in v1.0.8

func (x *FetchAssetMetaResponse) GetDelegationKey() []byte

func (*FetchAssetMetaResponse) GetMetaHash added in v1.0.8

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

func (*FetchAssetMetaResponse) GetType added in v1.0.8

func (*FetchAssetMetaResponse) GetUniverseCommitments added in v1.0.8

func (x *FetchAssetMetaResponse) GetUniverseCommitments() bool

func (*FetchAssetMetaResponse) GetUnknownOddTypes added in v1.0.8

func (x *FetchAssetMetaResponse) GetUnknownOddTypes() map[uint64][]byte

func (*FetchAssetMetaResponse) ProtoMessage added in v1.0.8

func (*FetchAssetMetaResponse) ProtoMessage()

func (*FetchAssetMetaResponse) ProtoReflect added in v1.0.8

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

func (*FetchAssetMetaResponse) Reset added in v1.0.8

func (x *FetchAssetMetaResponse) Reset()

func (*FetchAssetMetaResponse) String added in v1.0.8

func (x *FetchAssetMetaResponse) String() string

type FetchAssetRequest added in v1.1.0

type FetchAssetRequest struct {

	// The asset specifier (asset ID or group key) identifying the asset(s) to
	// fetch. At least one of asset_id or group_key must be specified.
	AssetSpecifier *AssetSpecifier `protobuf:"bytes,1,opt,name=asset_specifier,json=assetSpecifier,proto3" json:"asset_specifier,omitempty"`
	// Whether to include each asset's witness in the response. The witness
	// either contains the spending signatures or the split commitment witness,
	// which can both be large and usually aren't very useful on the command
	// line, so are omitted by default.
	WithWitness bool `protobuf:"varint,2,opt,name=with_witness,json=withWitness,proto3" json:"with_witness,omitempty"`
	// Include assets that are marked as spent (which is always true for burn
	// or tombstone assets).
	IncludeSpent bool `protobuf:"varint,3,opt,name=include_spent,json=includeSpent,proto3" json:"include_spent,omitempty"`
	// Include assets that are leased (locked/reserved) by the daemon for a
	// pending transfer. Leased assets cannot be used by the daemon until the
	// pending transfer is confirmed or the lease expires.
	IncludeLeased bool `protobuf:"varint,4,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 */
	// The script key type to filter the assets by. If not set, only assets with
	// a BIP-0086 script key will be returned (which is the equivalent of
	// setting script_key_type.explicit_type = SCRIPT_KEY_BIP86). If the type
	// is set to SCRIPT_KEY_BURN or SCRIPT_KEY_TOMBSTONE the include_spent flag
	// will automatically be set to true, because assets of that type are always
	// marked as spent.
	ScriptKeyType *ScriptKeyTypeQuery `protobuf:"bytes,6,opt,name=script_key_type,json=scriptKeyType,proto3" json:"script_key_type,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchAssetRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use FetchAssetRequest.ProtoReflect.Descriptor instead.

func (*FetchAssetRequest) GetAssetSpecifier added in v1.1.0

func (x *FetchAssetRequest) GetAssetSpecifier() *AssetSpecifier

func (*FetchAssetRequest) GetIncludeLeased added in v1.1.0

func (x *FetchAssetRequest) GetIncludeLeased() bool

func (*FetchAssetRequest) GetIncludeSpent added in v1.1.0

func (x *FetchAssetRequest) GetIncludeSpent() bool

func (*FetchAssetRequest) GetIncludeUnconfirmedMints added in v1.1.0

func (x *FetchAssetRequest) GetIncludeUnconfirmedMints() bool

func (*FetchAssetRequest) GetScriptKeyType added in v1.1.0

func (x *FetchAssetRequest) GetScriptKeyType() *ScriptKeyTypeQuery

func (*FetchAssetRequest) GetWithWitness added in v1.1.0

func (x *FetchAssetRequest) GetWithWitness() bool

func (*FetchAssetRequest) ProtoMessage added in v1.1.0

func (*FetchAssetRequest) ProtoMessage()

func (*FetchAssetRequest) ProtoReflect added in v1.1.0

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

func (*FetchAssetRequest) Reset added in v1.1.0

func (x *FetchAssetRequest) Reset()

func (*FetchAssetRequest) String added in v1.1.0

func (x *FetchAssetRequest) String() string

type FetchAssetResponse added in v1.1.0

type FetchAssetResponse struct {

	// The list of assets matching the specifier and filters.
	Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchAssetResponse) Descriptor deprecated added in v1.1.0

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

Deprecated: Use FetchAssetResponse.ProtoReflect.Descriptor instead.

func (*FetchAssetResponse) GetAssets added in v1.1.0

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

func (*FetchAssetResponse) ProtoMessage added in v1.1.0

func (*FetchAssetResponse) ProtoMessage()

func (*FetchAssetResponse) ProtoReflect added in v1.1.0

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

func (*FetchAssetResponse) Reset added in v1.1.0

func (x *FetchAssetResponse) Reset()

func (*FetchAssetResponse) String added in v1.1.0

func (x *FetchAssetResponse) String() string

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 (*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

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

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

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

Deprecated: Use GenesisReveal.ProtoReflect.Descriptor instead.

func (*GenesisReveal) GetGenesisBaseReveal

func (x *GenesisReveal) GetGenesisBaseReveal() *GenesisInfo

func (*GenesisReveal) ProtoMessage

func (*GenesisReveal) ProtoMessage()

func (*GenesisReveal) ProtoReflect

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

func (*GenesisReveal) Reset

func (x *GenesisReveal) Reset()

func (*GenesisReveal) String

func (x *GenesisReveal) String() string

type GetInfoRequest

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

func (*GetInfoRequest) Descriptor deprecated

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

Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) ProtoReflect

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

func (*GetInfoRequest) Reset

func (x *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (x *GetInfoRequest) String() string

type GetInfoResponse

type GetInfoResponse struct {

	// The full version string of the Taproot Asset daemon.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The full version string of the LND node that this daemon is connected to.
	LndVersion string `protobuf:"bytes,2,opt,name=lnd_version,json=lndVersion,proto3" json:"lnd_version,omitempty"`
	// The network this daemon is connected to, e.g. "mainnet", "testnet", or
	// any other supported network.
	Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// The public key of the LND node that this daemon is connected to.
	LndIdentityPubkey string `protobuf:"bytes,4,opt,name=lnd_identity_pubkey,json=lndIdentityPubkey,proto3" json:"lnd_identity_pubkey,omitempty"`
	// The alias of the LND node that this daemon is connected to.
	NodeAlias string `protobuf:"bytes,5,opt,name=node_alias,json=nodeAlias,proto3" json:"node_alias,omitempty"`
	// The current block height as seen by the LND node this daemon is
	// connected to.
	BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	// The current block hash as seen by the LND node this daemon is connected
	// to.
	BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// Whether the LND node this daemon is connected to is synced to the
	// Bitcoin chain.
	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

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

Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetInfoResponse) GetBlockHash

func (x *GetInfoResponse) GetBlockHash() string

func (*GetInfoResponse) GetBlockHeight

func (x *GetInfoResponse) GetBlockHeight() uint32

func (*GetInfoResponse) GetLndIdentityPubkey

func (x *GetInfoResponse) GetLndIdentityPubkey() string

func (*GetInfoResponse) GetLndVersion

func (x *GetInfoResponse) GetLndVersion() string

func (*GetInfoResponse) GetNetwork

func (x *GetInfoResponse) GetNetwork() string

func (*GetInfoResponse) GetNodeAlias

func (x *GetInfoResponse) GetNodeAlias() string

func (*GetInfoResponse) GetSyncToChain

func (x *GetInfoResponse) GetSyncToChain() bool

func (*GetInfoResponse) GetVersion

func (x *GetInfoResponse) GetVersion() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) ProtoReflect

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

func (*GetInfoResponse) Reset

func (x *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (x *GetInfoResponse) String() string

type GroupKeyRequest

type GroupKeyRequest struct {

	// The internal key for the asset group before any tweaks have been applied.
	// If this field is set then external_key must be empty, and vice versa.
	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"`
	// The external key is an optional field that allows specifying an
	// external signing key for the group virtual transaction during minting.
	// This key enables signing operations to be performed externally, outside
	// the daemon.
	//
	// If this field is set then raw_key must be empty, and vice versa.
	ExternalKey *ExternalKey `protobuf:"bytes,5,opt,name=external_key,json=externalKey,proto3" json:"external_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupKeyRequest) Descriptor deprecated

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

Deprecated: Use GroupKeyRequest.ProtoReflect.Descriptor instead.

func (*GroupKeyRequest) GetAnchorGenesis

func (x *GroupKeyRequest) GetAnchorGenesis() *GenesisInfo

func (*GroupKeyRequest) GetExternalKey

func (x *GroupKeyRequest) GetExternalKey() *ExternalKey

func (*GroupKeyRequest) GetNewAsset

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

func (*GroupKeyRequest) GetRawKey

func (x *GroupKeyRequest) GetRawKey() *KeyDescriptor

func (*GroupKeyRequest) GetTapscriptRoot

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

func (*GroupKeyRequest) ProtoMessage

func (*GroupKeyRequest) ProtoMessage()

func (*GroupKeyRequest) ProtoReflect

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

func (*GroupKeyRequest) Reset

func (x *GroupKeyRequest) Reset()

func (*GroupKeyRequest) String

func (x *GroupKeyRequest) String() string

type GroupKeyReveal

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

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

Deprecated: Use GroupKeyReveal.ProtoReflect.Descriptor instead.

func (*GroupKeyReveal) GetRawGroupKey

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

func (*GroupKeyReveal) GetTapscriptRoot

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

func (*GroupKeyReveal) ProtoMessage

func (*GroupKeyReveal) ProtoMessage()

func (*GroupKeyReveal) ProtoReflect

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

func (*GroupKeyReveal) Reset

func (x *GroupKeyReveal) Reset()

func (*GroupKeyReveal) String

func (x *GroupKeyReveal) String() string

type GroupVirtualTx

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 (*GroupVirtualTx) Descriptor deprecated

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

Deprecated: Use GroupVirtualTx.ProtoReflect.Descriptor instead.

func (*GroupVirtualTx) GetGenesisId

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

func (*GroupVirtualTx) GetPrevOut

func (x *GroupVirtualTx) GetPrevOut() *TxOut

func (*GroupVirtualTx) GetTransaction

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

func (*GroupVirtualTx) GetTweakedKey

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

func (*GroupVirtualTx) ProtoMessage

func (*GroupVirtualTx) ProtoMessage()

func (*GroupVirtualTx) ProtoReflect

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

func (*GroupVirtualTx) Reset

func (x *GroupVirtualTx) Reset()

func (*GroupVirtualTx) String

func (x *GroupVirtualTx) String() string

type GroupWitness

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

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

Deprecated: Use GroupWitness.ProtoReflect.Descriptor instead.

func (*GroupWitness) GetGenesisId

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

func (*GroupWitness) GetWitness

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

func (*GroupWitness) ProtoMessage

func (*GroupWitness) ProtoMessage()

func (*GroupWitness) ProtoReflect

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

func (*GroupWitness) Reset

func (x *GroupWitness) Reset()

func (*GroupWitness) String

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 (*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 ListAssetRequest

type ListAssetRequest struct {

	// Whether to include each asset's witness in the response. The witness
	// either contains the spending signatures or the split commitment witness,
	// which can both be large and usually aren't very useful on the command
	// line, so are omitted by default.
	WithWitness bool `protobuf:"varint,1,opt,name=with_witness,json=withWitness,proto3" json:"with_witness,omitempty"`
	// Include assets that are marked as spent (which is always true for burn
	// or tombstone assets).
	IncludeSpent bool `protobuf:"varint,2,opt,name=include_spent,json=includeSpent,proto3" json:"include_spent,omitempty"`
	// Include assets that are leased (locked/reserved) by the daemon for a
	// pending transfer. Leased assets cannot be used by the daemon until the
	// pending transfer is confirmed or the lease expires.
	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 */
	// Only return assets with amount greater or equal to this value.
	MinAmount uint64 `protobuf:"varint,5,opt,name=min_amount,json=minAmount,proto3" json:"min_amount,omitempty"`
	// Only return assets with amount less or equal to this value.
	MaxAmount uint64 `protobuf:"varint,6,opt,name=max_amount,json=maxAmount,proto3" json:"max_amount,omitempty"`
	// Only return assets that belong to the group with this key.
	GroupKey []byte `protobuf:"bytes,7,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// Return all assets that use this script key.
	ScriptKey *ScriptKey `protobuf:"bytes,8,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// Return all assets that are currently anchored on this outpoint.
	AnchorOutpoint *OutPoint `protobuf:"bytes,9,opt,name=anchor_outpoint,json=anchorOutpoint,proto3" json:"anchor_outpoint,omitempty"`
	// The script key type to filter the assets by. If not set, only assets with
	// a BIP-0086 script key will be returned (which is the equivalent of
	// setting script_key_type.explicit_type = SCRIPT_KEY_BIP86). If the type
	// is set to SCRIPT_KEY_BURN or SCRIPT_KEY_TOMBSTONE the include_spent flag
	// will automatically be set to true, because assets of that type are always
	// marked as spent.
	ScriptKeyType *ScriptKeyTypeQuery `protobuf:"bytes,10,opt,name=script_key_type,json=scriptKeyType,proto3" json:"script_key_type,omitempty"`
	// The number of assets to skip (for pagination).
	Offset int32 `protobuf:"varint,11,opt,name=offset,proto3" json:"offset,omitempty"`
	// The maximum number of assets to return (for pagination). If 0, a
	// default of 512 is used. The maximum allowed value is 16384.
	Limit int32 `protobuf:"varint,12,opt,name=limit,proto3" json:"limit,omitempty"`
	// The sort direction of the returned assets, sorted by asset primary key
	// (creation order). Defaults to descending.
	Direction SortDirection `protobuf:"varint,13,opt,name=direction,proto3,enum=taprpc.SortDirection" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssetRequest) Descriptor deprecated

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

Deprecated: Use ListAssetRequest.ProtoReflect.Descriptor instead.

func (*ListAssetRequest) GetAnchorOutpoint

func (x *ListAssetRequest) GetAnchorOutpoint() *OutPoint

func (*ListAssetRequest) GetDirection added in v1.1.0

func (x *ListAssetRequest) GetDirection() SortDirection

func (*ListAssetRequest) GetGroupKey

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

func (*ListAssetRequest) GetIncludeLeased

func (x *ListAssetRequest) GetIncludeLeased() bool

func (*ListAssetRequest) GetIncludeSpent

func (x *ListAssetRequest) GetIncludeSpent() bool

func (*ListAssetRequest) GetIncludeUnconfirmedMints

func (x *ListAssetRequest) GetIncludeUnconfirmedMints() bool

func (*ListAssetRequest) GetLimit added in v1.1.0

func (x *ListAssetRequest) GetLimit() int32

func (*ListAssetRequest) GetMaxAmount

func (x *ListAssetRequest) GetMaxAmount() uint64

func (*ListAssetRequest) GetMinAmount

func (x *ListAssetRequest) GetMinAmount() uint64

func (*ListAssetRequest) GetOffset added in v1.1.0

func (x *ListAssetRequest) GetOffset() int32

func (*ListAssetRequest) GetScriptKey

func (x *ListAssetRequest) GetScriptKey() *ScriptKey

func (*ListAssetRequest) GetScriptKeyType

func (x *ListAssetRequest) GetScriptKeyType() *ScriptKeyTypeQuery

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 {

	// The list of assets found in the database matching the request query
	// parameters.
	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

func (x *ListAssetResponse) GetUnconfirmedMints() uint64

func (*ListAssetResponse) GetUnconfirmedTransfers

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 valid to be assigned 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"`
	// An option to include previous leased assets in the balances.
	IncludeLeased bool `protobuf:"varint,5,opt,name=include_leased,json=includeLeased,proto3" json:"include_leased,omitempty"`
	// The script key type to filter the assets by. If not set, only assets with
	// a BIP-0086 script key will be returned (which is the equivalent of
	// setting script_key_type.explicit_type = SCRIPT_KEY_BIP86). If the type
	// is set to SCRIPT_KEY_BURN or SCRIPT_KEY_TOMBSTONE the include_spent flag
	// will automatically be set to true, because assets of that type are always
	// marked as spent.
	ScriptKeyType *ScriptKeyTypeQuery `protobuf:"bytes,6,opt,name=script_key_type,json=scriptKeyType,proto3" json:"script_key_type,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 (x *ListBalancesRequest) GetGroupBy() isListBalancesRequest_GroupBy

func (*ListBalancesRequest) GetGroupKey

func (x *ListBalancesRequest) GetGroupKey() bool

func (*ListBalancesRequest) GetGroupKeyFilter

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

func (*ListBalancesRequest) GetIncludeLeased

func (x *ListBalancesRequest) GetIncludeLeased() bool

func (*ListBalancesRequest) GetScriptKeyType

func (x *ListBalancesRequest) GetScriptKeyType() *ScriptKeyTypeQuery

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 {

	// The map of asset balances, where the key is the asset ID and the value
	// is the balance of that asset owned by the target daemon. This is only
	// set if group_by.asset_id is true in the request.
	AssetBalances map[string]*AssetBalance `` /* 174-byte string literal not displayed */
	// The map of asset group balances, where the key is the group key
	// and the value is the balance of that group owned by the target daemon.
	// This is only set if group_by.group_key is true in the request.
	AssetGroupBalances map[string]*AssetGroupBalance `` /* 191-byte string literal not displayed */
	// This is a count of unconfirmed outgoing transfers. Unconfirmed transfers
	// (and the change resulting from them) do not appear in the balance. The
	// balance only represents confirmed assets that are owned by the daemon.
	UnconfirmedTransfers uint64 `protobuf:"varint,3,opt,name=unconfirmed_transfers,json=unconfirmedTransfers,proto3" json:"unconfirmed_transfers,omitempty"`
	// 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) GetUnconfirmedTransfers added in v1.0.10

func (x *ListBalancesResponse) GetUnconfirmedTransfers() uint64

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 ListBurnsRequest

type ListBurnsRequest struct {

	// The asset id of the burnt asset.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The tweaked group key of the group this asset belongs to.
	TweakedGroupKey []byte `protobuf:"bytes,3,opt,name=tweaked_group_key,json=tweakedGroupKey,proto3" json:"tweaked_group_key,omitempty"`
	// The txid of the transaction that the burn was anchored to.
	AnchorTxid []byte `protobuf:"bytes,4,opt,name=anchor_txid,json=anchorTxid,proto3" json:"anchor_txid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBurnsRequest) Descriptor deprecated

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

Deprecated: Use ListBurnsRequest.ProtoReflect.Descriptor instead.

func (*ListBurnsRequest) GetAnchorTxid

func (x *ListBurnsRequest) GetAnchorTxid() []byte

func (*ListBurnsRequest) GetAssetId

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

func (*ListBurnsRequest) GetTweakedGroupKey

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

func (*ListBurnsRequest) ProtoMessage

func (*ListBurnsRequest) ProtoMessage()

func (*ListBurnsRequest) ProtoReflect

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

func (*ListBurnsRequest) Reset

func (x *ListBurnsRequest) Reset()

func (*ListBurnsRequest) String

func (x *ListBurnsRequest) String() string

type ListBurnsResponse

type ListBurnsResponse struct {

	// The list of asset burns that match the query parameters.
	Burns []*AssetBurn `protobuf:"bytes,1,rep,name=burns,proto3" json:"burns,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBurnsResponse) Descriptor deprecated

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

Deprecated: Use ListBurnsResponse.ProtoReflect.Descriptor instead.

func (*ListBurnsResponse) GetBurns

func (x *ListBurnsResponse) GetBurns() []*AssetBurn

func (*ListBurnsResponse) ProtoMessage

func (*ListBurnsResponse) ProtoMessage()

func (*ListBurnsResponse) ProtoReflect

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

func (*ListBurnsResponse) Reset

func (x *ListBurnsResponse) Reset()

func (*ListBurnsResponse) String

func (x *ListBurnsResponse) 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 `` /* 139-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

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 {

	// Whether to include UTXOs that are marked as leased (locked/reserved) by
	// the wallet for a pending transfer. Leased UTXOs cannot be used by the
	// wallet until the pending transfer is confirmed or the lease expires.
	IncludeLeased bool `protobuf:"varint,1,opt,name=include_leased,json=includeLeased,proto3" json:"include_leased,omitempty"`
	// The script key type to filter the assets by. If not set, only assets with
	// a BIP-0086 script key will be returned (which is the equivalent of
	// setting script_key_type.explicit_type = SCRIPT_KEY_BIP86).
	ScriptKeyType *ScriptKeyTypeQuery `protobuf:"bytes,2,opt,name=script_key_type,json=scriptKeyType,proto3" json:"script_key_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUtxosRequest) Descriptor deprecated

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

Deprecated: Use ListUtxosRequest.ProtoReflect.Descriptor instead.

func (*ListUtxosRequest) GetIncludeLeased

func (x *ListUtxosRequest) GetIncludeLeased() bool

func (*ListUtxosRequest) GetScriptKeyType

func (x *ListUtxosRequest) GetScriptKeyType() *ScriptKeyTypeQuery

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 `` /* 171-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 MacaroonPermission added in v1.1.0

type MacaroonPermission struct {

	// The entity a permission grants access to.
	Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// The action that is granted.
	Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*MacaroonPermission) Descriptor deprecated added in v1.1.0

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

Deprecated: Use MacaroonPermission.ProtoReflect.Descriptor instead.

func (*MacaroonPermission) GetAction added in v1.1.0

func (x *MacaroonPermission) GetAction() string

func (*MacaroonPermission) GetEntity added in v1.1.0

func (x *MacaroonPermission) GetEntity() string

func (*MacaroonPermission) ProtoMessage added in v1.1.0

func (*MacaroonPermission) ProtoMessage()

func (*MacaroonPermission) ProtoReflect added in v1.1.0

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

func (*MacaroonPermission) Reset added in v1.1.0

func (x *MacaroonPermission) Reset()

func (*MacaroonPermission) String added in v1.1.0

func (x *MacaroonPermission) 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

func (x *ManagedUtxo) GetLeaseExpiryUnix() int64

func (*ManagedUtxo) GetLeaseOwner

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 {

	// The asset ID to create the address for. This is required for V0 and V1
	// addresses. For V2 addresses, this field is optional and must be empty if the
	// group key is set.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The number of asset units to be sent to the address. This is required for V0
	// and V1 addresses. For V2 addresses, this field is optional and can be left
	// at 0 to indicate that the sender can choose the amount of assets to send.
	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 */
	// The group key to receive assets for. This can only be specified for V2
	// addresses. If this field is set, the asset_id field must be empty.
	GroupKey []byte `protobuf:"bytes,9,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// If set, the daemon skips the connectivity check to the proof courier service
	// when creating an address. Connection checks currently apply only to certain
	// address schemes. Use this to create addresses while offline.
	SkipProofCourierConnCheck bool `` /* 144-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

func (x *NewAddrRequest) GetAddressVersion() AddrVersion

func (*NewAddrRequest) GetAmt

func (x *NewAddrRequest) GetAmt() uint64

func (*NewAddrRequest) GetAssetId

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

func (*NewAddrRequest) GetAssetVersion

func (x *NewAddrRequest) GetAssetVersion() AssetVersion

func (*NewAddrRequest) GetGroupKey added in v1.0.10

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

func (*NewAddrRequest) GetInternalKey

func (x *NewAddrRequest) GetInternalKey() *KeyDescriptor

func (*NewAddrRequest) GetProofCourierAddr

func (x *NewAddrRequest) GetProofCourierAddr() string

func (*NewAddrRequest) GetScriptKey

func (x *NewAddrRequest) GetScriptKey() *ScriptKey

func (*NewAddrRequest) GetSkipProofCourierConnCheck added in v1.0.10

func (x *NewAddrRequest) GetSkipProofCourierConnCheck() bool

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

type OutPoint struct {

	// Raw bytes representing the transaction id. Must be in
	// internal byte order (little-endian), i.e. reversed
	// compared to the human-readable (RPC/block explorer)
	// hex encoding.
	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
}

Represents a Bitcoin transaction outpoint.

func (*OutPoint) Descriptor deprecated

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

Deprecated: Use OutPoint.ProtoReflect.Descriptor instead.

func (*OutPoint) GetOutputIndex

func (x *OutPoint) GetOutputIndex() uint32

func (*OutPoint) GetTxid

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

func (*OutPoint) ProtoMessage

func (*OutPoint) ProtoMessage()

func (*OutPoint) ProtoReflect

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

func (*OutPoint) Reset

func (x *OutPoint) Reset()

func (*OutPoint) String

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

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

func (ParcelType) Descriptor() protoreflect.EnumDescriptor

func (ParcelType) Enum

func (x ParcelType) Enum() *ParcelType

func (ParcelType) EnumDescriptor deprecated

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

Deprecated: Use ParcelType.Descriptor instead.

func (ParcelType) Number

func (x ParcelType) Number() protoreflect.EnumNumber

func (ParcelType) String

func (x ParcelType) String() string

func (ParcelType) Type

type PrevInputAsset

type PrevInputAsset struct {

	// The previous input's anchor point, which is the on-chain outpoint the
	// asset was anchored to.
	AnchorPoint string `protobuf:"bytes,1,opt,name=anchor_point,json=anchorPoint,proto3" json:"anchor_point,omitempty"`
	// The asset ID of the asset that was spent as an input.
	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 as an input.
	ScriptKey []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The amount of the asset that was spent as an input.
	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 {

	// The previous input asset that this witness is for.
	PrevId *PrevInputAsset `protobuf:"bytes,1,opt,name=prev_id,json=prevId,proto3" json:"prev_id,omitempty"`
	// The witness stack that is used to prove the asset owner's authorization
	// to spend an asset. This is only set if the asset is the root asset of an
	// asset split.
	TxWitness [][]byte `protobuf:"bytes,2,rep,name=tx_witness,json=txWitness,proto3" json:"tx_witness,omitempty"`
	// The split commitment that is used to prove the split commitment of a
	// split asset. This is only set if the asset is a split asset.
	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 ProofDeliveryStatus

type ProofDeliveryStatus int32

ProofDeliveryStatus is an enum that describes the status of the delivery of a proof associated with an asset transfer output.

const (
	// Delivery is not applicable; the proof will not be delivered.
	ProofDeliveryStatus_PROOF_DELIVERY_STATUS_NOT_APPLICABLE ProofDeliveryStatus = 0
	// The proof has been successfully delivered.
	ProofDeliveryStatus_PROOF_DELIVERY_STATUS_COMPLETE ProofDeliveryStatus = 1
	// The proof is pending delivery. This status indicates that the proof has
	// not yet been delivered successfully. One or more attempts at proof
	// delivery may have been made.
	ProofDeliveryStatus_PROOF_DELIVERY_STATUS_PENDING ProofDeliveryStatus = 2
)

func (ProofDeliveryStatus) Descriptor

func (ProofDeliveryStatus) Enum

func (ProofDeliveryStatus) EnumDescriptor deprecated

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

Deprecated: Use ProofDeliveryStatus.Descriptor instead.

func (ProofDeliveryStatus) Number

func (ProofDeliveryStatus) String

func (x ProofDeliveryStatus) String() string

func (ProofDeliveryStatus) Type

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"`
	// The genesis point of the proof file, which is the asset's genesis
	// transaction outpoint.
	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

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 {

	// The list of addresses that match the query parameters.
	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

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. To resolve the received amount, use
	// ListAssets with the anchor_outpoint filter set to this
	// outpoint.
	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

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

Deprecated: Use ReceiveEvent.ProtoReflect.Descriptor instead.

func (*ReceiveEvent) GetAddress

func (x *ReceiveEvent) GetAddress() *Addr

func (*ReceiveEvent) GetConfirmationHeight

func (x *ReceiveEvent) GetConfirmationHeight() uint32

func (*ReceiveEvent) GetError

func (x *ReceiveEvent) GetError() string

func (*ReceiveEvent) GetOutpoint

func (x *ReceiveEvent) GetOutpoint() string

func (*ReceiveEvent) GetStatus

func (x *ReceiveEvent) GetStatus() AddrEventStatus

func (*ReceiveEvent) GetTimestamp

func (x *ReceiveEvent) GetTimestamp() int64

func (*ReceiveEvent) ProtoMessage

func (*ReceiveEvent) ProtoMessage()

func (*ReceiveEvent) ProtoReflect

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

func (*ReceiveEvent) Reset

func (x *ReceiveEvent) Reset()

func (*ReceiveEvent) String

func (x *ReceiveEvent) String() string

type RegisterTransferRequest

type RegisterTransferRequest struct {

	// The asset ID of the asset to register the transfer for.
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The optional group key of the asset to register the transfer for.
	GroupKey []byte `protobuf:"bytes,2,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// The script key of the asset to register the transfer for.
	ScriptKey []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The outpoint of the transaction that was used to receive the asset.
	Outpoint *OutPoint `protobuf:"bytes,4,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterTransferRequest) Descriptor deprecated

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

Deprecated: Use RegisterTransferRequest.ProtoReflect.Descriptor instead.

func (*RegisterTransferRequest) GetAssetId

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

func (*RegisterTransferRequest) GetGroupKey

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

func (*RegisterTransferRequest) GetOutpoint

func (x *RegisterTransferRequest) GetOutpoint() *OutPoint

func (*RegisterTransferRequest) GetScriptKey

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

func (*RegisterTransferRequest) ProtoMessage

func (*RegisterTransferRequest) ProtoMessage()

func (*RegisterTransferRequest) ProtoReflect

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

func (*RegisterTransferRequest) Reset

func (x *RegisterTransferRequest) Reset()

func (*RegisterTransferRequest) String

func (x *RegisterTransferRequest) String() string

type RegisterTransferResponse

type RegisterTransferResponse struct {

	// The asset transfer that was registered.
	RegisteredAsset *Asset `protobuf:"bytes,1,opt,name=registered_asset,json=registeredAsset,proto3" json:"registered_asset,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterTransferResponse) Descriptor deprecated

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

Deprecated: Use RegisterTransferResponse.ProtoReflect.Descriptor instead.

func (*RegisterTransferResponse) GetRegisteredAsset

func (x *RegisterTransferResponse) GetRegisteredAsset() *Asset

func (*RegisterTransferResponse) ProtoMessage

func (*RegisterTransferResponse) ProtoMessage()

func (*RegisterTransferResponse) ProtoReflect

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

func (*RegisterTransferResponse) Reset

func (x *RegisterTransferResponse) Reset()

func (*RegisterTransferResponse) String

func (x *RegisterTransferResponse) String() string

type ScriptKey

type ScriptKey struct {

	// The full Taproot output key the asset is locked to, as a
	// 32-byte x-only (Schnorr) public key. 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"`
	// The type of the script key. This type is either user-declared when custom
	// script keys are added, or automatically determined by the daemon for
	// standard operations (e.g. BIP-86 keys, burn keys, tombstone keys, channel
	// related keys).
	Type ScriptKeyType `protobuf:"varint,4,opt,name=type,proto3,enum=taprpc.ScriptKeyType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

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) GetType

func (x *ScriptKey) GetType() ScriptKeyType

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 ScriptKeyType

type ScriptKeyType int32
const (
	// The type of script key is not known. This should only be stored for assets
	// where we don't know the internal key of the script key (e.g. for imported
	// proofs).
	ScriptKeyType_SCRIPT_KEY_UNKNOWN ScriptKeyType = 0
	// The script key is a normal BIP-86 key. This means that the internal key is
	// turned into a Taproot output key by applying a BIP-86 tweak to it.
	ScriptKeyType_SCRIPT_KEY_BIP86 ScriptKeyType = 1
	// The script key is a key that contains a script path that is defined by the
	// user and is therefore external to the tapd wallet. Spending this key
	// requires providing a specific witness and must be signed through the vPSBT
	// signing flow.
	ScriptKeyType_SCRIPT_KEY_SCRIPT_PATH_EXTERNAL ScriptKeyType = 2
	// The script key is a specific un-spendable key that indicates a burnt asset.
	// Assets with this key type can never be spent again, as a burn key is a
	// tweaked NUMS key that nobody knows the private key for.
	ScriptKeyType_SCRIPT_KEY_BURN ScriptKeyType = 3
	// The script key is a specific un-spendable key that indicates a tombstone
	// output. This is only the case for zero-value assets that result from a
	// non-interactive (TAP address) send where no change was left over.
	ScriptKeyType_SCRIPT_KEY_TOMBSTONE ScriptKeyType = 4
	// The script key is used for an asset that resides within a Taproot Asset
	// Channel. That means the script key is either a funding key (OP_TRUE), a
	// commitment output key (to_local, to_remote, htlc), or a HTLC second-level
	// transaction output key. Keys related to channels are not shown in asset
	// balances (unless specifically requested) and are never used for coin
	// selection.
	ScriptKeyType_SCRIPT_KEY_CHANNEL ScriptKeyType = 5
	// The script key is derived using the asset ID and a single leaf that contains
	// an un-spendable Pedersen commitment key
	// `(OP_CHECKSIG <NUMS_key + asset_id * G>)`. This can be used to create
	// unique script keys for each virtual packet in the fragment, to avoid proof
	// collisions in the universe, where the script keys should be spendable by
	// a hardware wallet that only supports miniscript policies for signing P2TR
	// outputs.
	ScriptKeyType_SCRIPT_KEY_UNIQUE_PEDERSEN ScriptKeyType = 6
)

func (ScriptKeyType) Descriptor

func (ScriptKeyType) Enum

func (x ScriptKeyType) Enum() *ScriptKeyType

func (ScriptKeyType) EnumDescriptor deprecated

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

Deprecated: Use ScriptKeyType.Descriptor instead.

func (ScriptKeyType) Number

func (ScriptKeyType) String

func (x ScriptKeyType) String() string

func (ScriptKeyType) Type

type ScriptKeyTypeQuery

type ScriptKeyTypeQuery struct {

	// Types that are valid to be assigned to Type:
	//
	//	*ScriptKeyTypeQuery_ExplicitType
	//	*ScriptKeyTypeQuery_AllTypes
	Type isScriptKeyTypeQuery_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ScriptKeyTypeQuery) Descriptor deprecated

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

Deprecated: Use ScriptKeyTypeQuery.ProtoReflect.Descriptor instead.

func (*ScriptKeyTypeQuery) GetAllTypes

func (x *ScriptKeyTypeQuery) GetAllTypes() bool

func (*ScriptKeyTypeQuery) GetExplicitType

func (x *ScriptKeyTypeQuery) GetExplicitType() ScriptKeyType

func (*ScriptKeyTypeQuery) GetType

func (x *ScriptKeyTypeQuery) GetType() isScriptKeyTypeQuery_Type

func (*ScriptKeyTypeQuery) ProtoMessage

func (*ScriptKeyTypeQuery) ProtoMessage()

func (*ScriptKeyTypeQuery) ProtoReflect

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

func (*ScriptKeyTypeQuery) Reset

func (x *ScriptKeyTypeQuery) Reset()

func (*ScriptKeyTypeQuery) String

func (x *ScriptKeyTypeQuery) String() string

type ScriptKeyTypeQuery_AllTypes

type ScriptKeyTypeQuery_AllTypes struct {
	// Query for assets with all script key types.
	AllTypes bool `protobuf:"varint,2,opt,name=all_types,json=allTypes,proto3,oneof"`
}

type ScriptKeyTypeQuery_ExplicitType

type ScriptKeyTypeQuery_ExplicitType struct {
	// Query for assets of a specific script key type.
	ExplicitType ScriptKeyType `protobuf:"varint,1,opt,name=explicit_type,json=explicitType,proto3,enum=taprpc.ScriptKeyType,oneof"`
}

type SendAssetRequest

type SendAssetRequest struct {

	// The list of TAP addresses to send assets to. The amount to send to each
	// address is determined by the amount specified in the address itself. For
	// V2 addresses that are allowed to not specify an amount, use the
	// addresses_with_amounts list to specify the amount to send to each
	// address. The tap_addrs and addresses_with_amounts lists are mutually
	// exclusive, meaning that if addresses_with_amounts is set, then tap_addrs
	// must be empty, and vice versa.
	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"`
	// An optional short label for the send transfer. This label can be used to
	// track the progress of the transfer via the logs or an event subscription.
	// Multiple transfers can share the same label.
	Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// A flag to skip the proof courier ping check. This is useful for
	// testing purposes and for forced transfers when the proof courier
	// is not immediately available.
	SkipProofCourierPingCheck bool `` /* 143-byte string literal not displayed */
	// A list of addresses and the amounts of asset units to send to them. This
	// must be used for V2 TAP addresses that don't specify an amount in the
	// address itself and allow the sender to choose the amount to send. The
	// tap_addrs and addresses_with_amounts lists are mutually exclusive,
	// meaning that if addresses_with_amounts is set, then tap_addrs must be
	// empty, and vice versa.
	AddressesWithAmounts []*AddressWithAmount `protobuf:"bytes,5,rep,name=addresses_with_amounts,json=addressesWithAmounts,proto3" json:"addresses_with_amounts,omitempty"`
	// contains filtered or unexported fields
}

func (*SendAssetRequest) Descriptor deprecated

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

Deprecated: Use SendAssetRequest.ProtoReflect.Descriptor instead.

func (*SendAssetRequest) GetAddressesWithAmounts added in v1.0.10

func (x *SendAssetRequest) GetAddressesWithAmounts() []*AddressWithAmount

func (*SendAssetRequest) GetFeeRate

func (x *SendAssetRequest) GetFeeRate() uint32

func (*SendAssetRequest) GetLabel

func (x *SendAssetRequest) GetLabel() string

func (*SendAssetRequest) GetSkipProofCourierPingCheck

func (x *SendAssetRequest) GetSkipProofCourierPingCheck() bool

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 {

	// The transfer that was created to send assets to one or more addresses.
	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

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"`
	// The label of the transfer.
	TransferLabel string `protobuf:"bytes,10,opt,name=transfer_label,json=transferLabel,proto3" json:"transfer_label,omitempty"`
	// The next send state that will be executed.
	NextSendState string `protobuf:"bytes,11,opt,name=next_send_state,json=nextSendState,proto3" json:"next_send_state,omitempty"`
	// contains filtered or unexported fields
}

func (*SendEvent) Descriptor deprecated

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

Deprecated: Use SendEvent.ProtoReflect.Descriptor instead.

func (*SendEvent) GetAddresses

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

func (*SendEvent) GetAnchorTransaction

func (x *SendEvent) GetAnchorTransaction() *AnchorTransaction

func (*SendEvent) GetError

func (x *SendEvent) GetError() string

func (*SendEvent) GetNextSendState added in v1.0.4

func (x *SendEvent) GetNextSendState() string

func (*SendEvent) GetParcelType

func (x *SendEvent) GetParcelType() ParcelType

func (*SendEvent) GetPassiveVirtualPackets

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

func (*SendEvent) GetSendState

func (x *SendEvent) GetSendState() string

func (*SendEvent) GetTimestamp

func (x *SendEvent) GetTimestamp() int64

func (*SendEvent) GetTransfer

func (x *SendEvent) GetTransfer() *AssetTransfer

func (*SendEvent) GetTransferLabel

func (x *SendEvent) GetTransferLabel() string

func (*SendEvent) GetVirtualPackets

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

func (*SendEvent) ProtoMessage

func (*SendEvent) ProtoMessage()

func (*SendEvent) ProtoReflect

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

func (*SendEvent) Reset

func (x *SendEvent) Reset()

func (*SendEvent) String

func (x *SendEvent) String() string

type SendState

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

func (SendState) Descriptor() protoreflect.EnumDescriptor

func (SendState) Enum

func (x SendState) Enum() *SendState

func (SendState) EnumDescriptor deprecated

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

Deprecated: Use SendState.Descriptor instead.

func (SendState) Number

func (x SendState) Number() protoreflect.EnumNumber

func (SendState) String

func (x SendState) String() string

func (SendState) Type

type SortDirection added in v1.1.0

type SortDirection int32
const (
	// Sort results in descending order.
	SortDirection_SORT_DIRECTION_DESC SortDirection = 0
	// Sort results in ascending order.
	SortDirection_SORT_DIRECTION_ASC SortDirection = 1
)

func (SortDirection) Descriptor added in v1.1.0

func (SortDirection) Enum added in v1.1.0

func (x SortDirection) Enum() *SortDirection

func (SortDirection) EnumDescriptor deprecated added in v1.1.0

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

Deprecated: Use SortDirection.Descriptor instead.

func (SortDirection) Number added in v1.1.0

func (SortDirection) String added in v1.1.0

func (x SortDirection) String() string

func (SortDirection) Type added in v1.1.0

type SplitCommitment

type SplitCommitment struct {

	// The root asset that contains the transaction witness that authorizes the
	// spend of the asset.
	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

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

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

Deprecated: Use SubscribeReceiveEventsRequest.ProtoReflect.Descriptor instead.

func (*SubscribeReceiveEventsRequest) GetFilterAddr

func (x *SubscribeReceiveEventsRequest) GetFilterAddr() string

func (*SubscribeReceiveEventsRequest) GetStartTimestamp

func (x *SubscribeReceiveEventsRequest) GetStartTimestamp() int64

func (*SubscribeReceiveEventsRequest) ProtoMessage

func (*SubscribeReceiveEventsRequest) ProtoMessage()

func (*SubscribeReceiveEventsRequest) ProtoReflect

func (*SubscribeReceiveEventsRequest) Reset

func (x *SubscribeReceiveEventsRequest) Reset()

func (*SubscribeReceiveEventsRequest) String

type SubscribeSendEventsRequest

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"`
	// Filter send events by a specific label. Leave empty to not filter by
	// transfer label.
	FilterLabel string `protobuf:"bytes,2,opt,name=filter_label,json=filterLabel,proto3" json:"filter_label,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,3,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*SubscribeSendEventsRequest) Descriptor deprecated

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

Deprecated: Use SubscribeSendEventsRequest.ProtoReflect.Descriptor instead.

func (*SubscribeSendEventsRequest) GetFilterLabel

func (x *SubscribeSendEventsRequest) GetFilterLabel() string

func (*SubscribeSendEventsRequest) GetFilterScriptKey

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

func (*SubscribeSendEventsRequest) GetStartTimestamp added in v1.0.10

func (x *SubscribeSendEventsRequest) GetStartTimestamp() int64

func (*SubscribeSendEventsRequest) ProtoMessage

func (*SubscribeSendEventsRequest) ProtoMessage()

func (*SubscribeSendEventsRequest) ProtoReflect

func (*SubscribeSendEventsRequest) Reset

func (x *SubscribeSendEventsRequest) Reset()

func (*SubscribeSendEventsRequest) String

func (x *SubscribeSendEventsRequest) String() string

type TapBranch

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

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

Deprecated: Use TapBranch.ProtoReflect.Descriptor instead.

func (*TapBranch) GetLeftTaphash

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

func (*TapBranch) GetRightTaphash

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

func (*TapBranch) ProtoMessage

func (*TapBranch) ProtoMessage()

func (*TapBranch) ProtoReflect

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

func (*TapBranch) Reset

func (x *TapBranch) Reset()

func (*TapBranch) String

func (x *TapBranch) String() string

type TapLeaf

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

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

Deprecated: Use TapLeaf.ProtoReflect.Descriptor instead.

func (*TapLeaf) GetScript

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

func (*TapLeaf) ProtoMessage

func (*TapLeaf) ProtoMessage()

func (*TapLeaf) ProtoReflect

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

func (*TapLeaf) Reset

func (x *TapLeaf) Reset()

func (*TapLeaf) String

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 fetch`
	// FetchAsset fetches asset(s) by asset ID or group key, with optional
	// filters. At least one of asset_id or group_key must be set in the
	// asset_specifier.
	FetchAsset(ctx context.Context, in *FetchAssetRequest, opts ...grpc.CallOption) (*FetchAssetResponse, 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: `proofs unpack`
	// UnpackProofFile unpacks a proof file into a list of the individual raw
	// proofs in the proof chain.
	UnpackProofFile(ctx context.Context, in *UnpackProofFileRequest, opts ...grpc.CallOption) (*UnpackProofFileResponse, 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: `assets listburns`
	// ListBurns lists the asset burns that this wallet has performed. These assets
	// are not recoverable in any way. Filters may be applied to return more
	// specific results.
	ListBurns(ctx context.Context, in *ListBurnsRequest, opts ...grpc.CallOption) (*ListBurnsResponse, error)
	// tapcli: `getinfo`
	// GetInfo returns the information for the node.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
	// tapcli: `bakemacaroon`
	// BakeMacaroon allows the creation of a new macaroon with custom
	// permissions. No first-party caveats are added since this can be done
	// offline.
	BakeMacaroon(ctx context.Context, in *BakeMacaroonRequest, opts ...grpc.CallOption) (*BakeMacaroonResponse, 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) (*FetchAssetMetaResponse, 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)
	// RegisterTransfer informs the daemon about a new inbound transfer that has
	// happened. This is used for interactive transfers where no TAP address is
	// involved and the recipient is aware of the transfer through an out-of-band
	// protocol but the daemon hasn't been informed about the completion of the
	// transfer. For this to work, the proof must already be in the recipient's
	// local universe (e.g. through the use of the universerpc.InsertProof RPC or
	// the universe proof courier and universe sync mechanisms) and this call
	// simply instructs the daemon to detect the transfer as an asset it owns.
	RegisterTransfer(ctx context.Context, in *RegisterTransferRequest, opts ...grpc.CallOption) (*RegisterTransferResponse, 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 fetch`
	// FetchAsset fetches asset(s) by asset ID or group key, with optional
	// filters. At least one of asset_id or group_key must be set in the
	// asset_specifier.
	FetchAsset(context.Context, *FetchAssetRequest) (*FetchAssetResponse, 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: `proofs unpack`
	// UnpackProofFile unpacks a proof file into a list of the individual raw
	// proofs in the proof chain.
	UnpackProofFile(context.Context, *UnpackProofFileRequest) (*UnpackProofFileResponse, 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: `assets listburns`
	// ListBurns lists the asset burns that this wallet has performed. These assets
	// are not recoverable in any way. Filters may be applied to return more
	// specific results.
	ListBurns(context.Context, *ListBurnsRequest) (*ListBurnsResponse, error)
	// tapcli: `getinfo`
	// GetInfo returns the information for the node.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	// tapcli: `bakemacaroon`
	// BakeMacaroon allows the creation of a new macaroon with custom
	// permissions. No first-party caveats are added since this can be done
	// offline.
	BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, 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) (*FetchAssetMetaResponse, 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
	// RegisterTransfer informs the daemon about a new inbound transfer that has
	// happened. This is used for interactive transfers where no TAP address is
	// involved and the recipient is aware of the transfer through an out-of-band
	// protocol but the daemon hasn't been informed about the completion of the
	// transfer. For this to work, the proof must already be in the recipient's
	// local universe (e.g. through the use of the universerpc.InsertProof RPC or
	// the universe proof courier and universe sync mechanisms) and this call
	// simply instructs the daemon to detect the transfer as an asset it owns.
	RegisterTransfer(context.Context, *RegisterTransferRequest) (*RegisterTransferResponse, 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

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

type TaprootAssets_SubscribeReceiveEventsServer

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

type TaprootAssets_SubscribeSendEventsClient

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

type TaprootAssets_SubscribeSendEventsServer

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

type TapscriptFullTree

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

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

Deprecated: Use TapscriptFullTree.ProtoReflect.Descriptor instead.

func (*TapscriptFullTree) GetAllLeaves

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

func (*TapscriptFullTree) ProtoMessage

func (*TapscriptFullTree) ProtoMessage()

func (*TapscriptFullTree) ProtoReflect

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

func (*TapscriptFullTree) Reset

func (x *TapscriptFullTree) Reset()

func (*TapscriptFullTree) String

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"`
	// The group key of the asset that was spent, if the asset belongs to a
	// group. Empty for assets that are not part of a group.
	GroupKey []byte `protobuf:"bytes,5,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// The type of the asset that was spent.
	AssetType AssetType `protobuf:"varint,6,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,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) GetAssetType added in v1.1.0

func (x *TransferInput) GetAssetType() AssetType

func (*TransferInput) GetGroupKey added in v1.1.0

func (x *TransferInput) GetGroupKey() []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 {

	// The transfer output's on-chain anchor information, which contains the
	// BTC-level output information that anchors the Taproot Asset commitment
	// for this output.
	Anchor *TransferOutputAnchor `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"`
	// The script key of the asset that was created.
	ScriptKey []byte `protobuf:"bytes,2,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. If true, the asset will be shown
	// in the wallet balance.
	ScriptKeyIsLocal bool `protobuf:"varint,3,opt,name=script_key_is_local,json=scriptKeyIsLocal,proto3" json:"script_key_is_local,omitempty"`
	// The amount of the asset that was created in this output.
	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"`
	// The split commitment root hash of the asset that was created in this
	// output. This is only set if the asset is a split root output, meaning
	// that the asset is a split root output that carries the change from a
	// split or a tombstone from a non-interactive full value send output.
	SplitCommitRootHash []byte `protobuf:"bytes,6,opt,name=split_commit_root_hash,json=splitCommitRootHash,proto3" json:"split_commit_root_hash,omitempty"`
	// The type of the output. This is used to distinguish between a simple
	// output that is not a split root and does not carry passive assets, and a
	// split root output that carries the change from a split or a tombstone
	// from a non-interactive full value send output.
	OutputType OutputType `protobuf:"varint,7,opt,name=output_type,json=outputType,proto3,enum=taprpc.OutputType" json:"output_type,omitempty"`
	// The asset version of the output. This is used to determine how the asset
	// is encoded in the Taproot Asset commitment tree.
	AssetVersion AssetVersion `protobuf:"varint,8,opt,name=asset_version,json=assetVersion,proto3,enum=taprpc.AssetVersion" json:"asset_version,omitempty"`
	// The lock time of the output, which is an optional field that can be set
	// to delay the spending of the output until a certain time in the future.
	LockTime uint64 `protobuf:"varint,9,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	// The relative lock time of the output, which is an optional field that
	// can be set to delay the spending of the output relative to the block
	// height at which the output is confirmed.
	RelativeLockTime uint64 `protobuf:"varint,10,opt,name=relative_lock_time,json=relativeLockTime,proto3" json:"relative_lock_time,omitempty"`
	// The delivery status of the proof associated with this output.
	ProofDeliveryStatus ProofDeliveryStatus `` /* 154-byte string literal not displayed */
	// The asset ID of the asset that was created in this output.
	AssetId []byte `protobuf:"bytes,12,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The proof courier address that was used to deliver the proof for this
	// output.
	ProofCourierAddr string `protobuf:"bytes,13,opt,name=proof_courier_addr,json=proofCourierAddr,proto3" json:"proof_courier_addr,omitempty"`
	// The Taproot Asset address that was used to create the output. This is
	// only set for new outputs for tapd versions that support the address V2
	// format. For older versions, this field will be empty.
	TapAddr string `protobuf:"bytes,14,opt,name=tap_addr,json=tapAddr,proto3" json:"tap_addr,omitempty"`
	// The group key of the asset that was created in this output, if the
	// asset belongs to a group. Empty for assets that are not part of a
	// group.
	GroupKey []byte `protobuf:"bytes,15,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// The type of the asset that was created in this output.
	AssetType AssetType `protobuf:"varint,16,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,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) GetAssetId

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

func (*TransferOutput) GetAssetType added in v1.1.0

func (x *TransferOutput) GetAssetType() AssetType

func (*TransferOutput) GetAssetVersion

func (x *TransferOutput) GetAssetVersion() AssetVersion

func (*TransferOutput) GetGroupKey added in v1.1.0

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

func (*TransferOutput) GetLockTime

func (x *TransferOutput) GetLockTime() uint64

func (*TransferOutput) GetNewProofBlob

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

func (*TransferOutput) GetOutputType

func (x *TransferOutput) GetOutputType() OutputType

func (*TransferOutput) GetProofCourierAddr added in v1.0.10

func (x *TransferOutput) GetProofCourierAddr() string

func (*TransferOutput) GetProofDeliveryStatus

func (x *TransferOutput) GetProofDeliveryStatus() ProofDeliveryStatus

func (*TransferOutput) GetRelativeLockTime

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) GetTapAddr added in v1.0.10

func (x *TransferOutput) GetTapAddr() string

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"`
	// The anchor transaction output's value in satoshis.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// The anchor transaction output's internal key, which is the Taproot
	// internal key of 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, which is the root of the
	// Taproot Asset commitment tree for the asset that was created.
	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
	// output. If there is no Tapscript sibling, this is equal to the Taproot
	// Asset root commitment hash.
	// If there is a Tapscript sibling, this is the tap branch root hash of the
	// Taproot Asset root hash and the tapscript sibling.
	MerkleRoot []byte `protobuf:"bytes,5,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,6,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	// The number of passive assets that were committed to this output.
	// Passive assets are assets that are not actively spent, but are instead
	// passively carried along with the main asset and re-anchored in the
	// anchor output.
	NumPassiveAssets uint32 `protobuf:"varint,7,opt,name=num_passive_assets,json=numPassiveAssets,proto3" json:"num_passive_assets,omitempty"`
	// The actual output's script, which is the P2TR script for the final
	// Taproot output key created by this transfer output.
	PkScript []byte `protobuf:"bytes,8,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,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) GetPkScript

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

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

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

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

Deprecated: Use TxOut.ProtoReflect.Descriptor instead.

func (*TxOut) GetPkScript

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

func (*TxOut) GetValue

func (x *TxOut) GetValue() int64

func (*TxOut) ProtoMessage

func (*TxOut) ProtoMessage()

func (*TxOut) ProtoReflect

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

func (*TxOut) Reset

func (x *TxOut) Reset()

func (*TxOut) String

func (x *TxOut) String() string

type UnimplementedTaprootAssetsServer

type UnimplementedTaprootAssetsServer struct {
}

UnimplementedTaprootAssetsServer must be embedded to have forward compatible implementations.

func (UnimplementedTaprootAssetsServer) AddrReceives

func (UnimplementedTaprootAssetsServer) BakeMacaroon added in v1.1.0

func (UnimplementedTaprootAssetsServer) BurnAsset

func (UnimplementedTaprootAssetsServer) DebugLevel

func (UnimplementedTaprootAssetsServer) DecodeAddr

func (UnimplementedTaprootAssetsServer) DecodeProof

func (UnimplementedTaprootAssetsServer) ExportProof

func (UnimplementedTaprootAssetsServer) FetchAsset added in v1.1.0

func (UnimplementedTaprootAssetsServer) FetchAssetMeta

func (UnimplementedTaprootAssetsServer) GetInfo

func (UnimplementedTaprootAssetsServer) ListAssets

func (UnimplementedTaprootAssetsServer) ListBalances

func (UnimplementedTaprootAssetsServer) ListBurns

func (UnimplementedTaprootAssetsServer) ListGroups

func (UnimplementedTaprootAssetsServer) ListTransfers

func (UnimplementedTaprootAssetsServer) ListUtxos

func (UnimplementedTaprootAssetsServer) NewAddr

func (UnimplementedTaprootAssetsServer) QueryAddrs

func (UnimplementedTaprootAssetsServer) RegisterTransfer

func (UnimplementedTaprootAssetsServer) SendAsset

func (UnimplementedTaprootAssetsServer) StopDaemon

func (UnimplementedTaprootAssetsServer) UnpackProofFile

func (UnimplementedTaprootAssetsServer) VerifyProof

type UnpackProofFileRequest

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

func (*UnpackProofFileRequest) Descriptor deprecated

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

Deprecated: Use UnpackProofFileRequest.ProtoReflect.Descriptor instead.

func (*UnpackProofFileRequest) GetRawProofFile

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

func (*UnpackProofFileRequest) ProtoMessage

func (*UnpackProofFileRequest) ProtoMessage()

func (*UnpackProofFileRequest) ProtoReflect

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

func (*UnpackProofFileRequest) Reset

func (x *UnpackProofFileRequest) Reset()

func (*UnpackProofFileRequest) String

func (x *UnpackProofFileRequest) String() string

type UnpackProofFileResponse

type UnpackProofFileResponse struct {

	// The individual proofs contained in the proof file, ordered by their
	// appearance within the file (issuance proof first, last known transfer
	// last).
	RawProofs [][]byte `protobuf:"bytes,1,rep,name=raw_proofs,json=rawProofs,proto3" json:"raw_proofs,omitempty"`
	// contains filtered or unexported fields
}

func (*UnpackProofFileResponse) Descriptor deprecated

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

Deprecated: Use UnpackProofFileResponse.ProtoReflect.Descriptor instead.

func (*UnpackProofFileResponse) GetRawProofs

func (x *UnpackProofFileResponse) GetRawProofs() [][]byte

func (*UnpackProofFileResponse) ProtoMessage

func (*UnpackProofFileResponse) ProtoMessage()

func (*UnpackProofFileResponse) ProtoReflect

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

func (*UnpackProofFileResponse) Reset

func (x *UnpackProofFileResponse) Reset()

func (*UnpackProofFileResponse) String

func (x *UnpackProofFileResponse) String() string

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

type VerifyProofResponse struct {

	// Whether the proof file was valid or not.
	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

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

Deprecated: Use VerifyProofResponse.ProtoReflect.Descriptor instead.

func (*VerifyProofResponse) GetDecodedProof

func (x *VerifyProofResponse) GetDecodedProof() *DecodedProof

func (*VerifyProofResponse) GetValid

func (x *VerifyProofResponse) GetValid() bool

func (*VerifyProofResponse) ProtoMessage

func (*VerifyProofResponse) ProtoMessage()

func (*VerifyProofResponse) ProtoReflect

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

func (*VerifyProofResponse) Reset

func (x *VerifyProofResponse) Reset()

func (*VerifyProofResponse) String

func (x *VerifyProofResponse) String() string

Directories

Path Synopsis
Package assetwalletrpc is a reverse proxy.
Package assetwalletrpc is a reverse proxy.
Package authmailboxrpc is a reverse proxy.
Package authmailboxrpc is a reverse proxy.
Package mintrpc is a reverse proxy.
Package mintrpc is a reverse proxy.
Package portfoliopilotrpc is a reverse proxy.
Package portfoliopilotrpc 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