 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Overview ¶
Package taprpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterTaprootAssetsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTaprootAssetsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TaprootAssetsClient) error
- func RegisterTaprootAssetsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTaprootAssetsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TaprootAssetsServer) error
- func RegisterTaprootAssetsServer(s grpc.ServiceRegistrar, srv TaprootAssetsServer)
- type Addr
- func (*Addr) Descriptor() ([]byte, []int)deprecated
- func (x *Addr) GetAmount() uint64
- func (x *Addr) GetAssetId() []byte
- func (x *Addr) GetAssetType() AssetType
- func (x *Addr) GetEncoded() string
- func (x *Addr) GetGroupKey() []byte
- func (x *Addr) GetInternalKey() []byte
- func (x *Addr) GetScriptKey() []byte
- func (x *Addr) GetTaprootOutputKey() []byte
- func (x *Addr) GetTapscriptSibling() []byte
- func (*Addr) ProtoMessage()
- func (x *Addr) ProtoReflect() protoreflect.Message
- func (x *Addr) Reset()
- func (x *Addr) String() string
 
- type AddrEvent
- func (*AddrEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AddrEvent) GetAddr() *Addr
- func (x *AddrEvent) GetConfirmationHeight() uint32
- func (x *AddrEvent) GetCreationTimeUnixSeconds() uint64
- func (x *AddrEvent) GetHasProof() bool
- func (x *AddrEvent) GetOutpoint() string
- func (x *AddrEvent) GetStatus() AddrEventStatus
- func (x *AddrEvent) GetTaprootSibling() []byte
- func (x *AddrEvent) GetUtxoAmtSat() uint64
- func (*AddrEvent) ProtoMessage()
- func (x *AddrEvent) ProtoReflect() protoreflect.Message
- func (x *AddrEvent) Reset()
- func (x *AddrEvent) String() string
 
- type AddrEventStatus
- func (AddrEventStatus) Descriptor() protoreflect.EnumDescriptor
- func (x AddrEventStatus) Enum() *AddrEventStatus
- func (AddrEventStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x AddrEventStatus) Number() protoreflect.EnumNumber
- func (x AddrEventStatus) String() string
- func (AddrEventStatus) Type() protoreflect.EnumType
 
- type AddrReceivesRequest
- func (*AddrReceivesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddrReceivesRequest) GetFilterAddr() string
- func (x *AddrReceivesRequest) GetFilterStatus() AddrEventStatus
- func (*AddrReceivesRequest) ProtoMessage()
- func (x *AddrReceivesRequest) ProtoReflect() protoreflect.Message
- func (x *AddrReceivesRequest) Reset()
- func (x *AddrReceivesRequest) String() string
 
- type AddrReceivesResponse
- func (*AddrReceivesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddrReceivesResponse) GetEvents() []*AddrEvent
- func (*AddrReceivesResponse) ProtoMessage()
- func (x *AddrReceivesResponse) ProtoReflect() protoreflect.Message
- func (x *AddrReceivesResponse) Reset()
- func (x *AddrReceivesResponse) String() string
 
- type AnchorInfo
- func (*AnchorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AnchorInfo) GetAnchorBlockHash() []byte
- func (x *AnchorInfo) GetAnchorOutpoint() string
- func (x *AnchorInfo) GetAnchorTx() []byte
- func (x *AnchorInfo) GetAnchorTxid() string
- func (x *AnchorInfo) GetInternalKey() []byte
- func (x *AnchorInfo) GetMerkleRoot() []byte
- func (x *AnchorInfo) GetTapscriptSibling() []byte
- func (*AnchorInfo) ProtoMessage()
- func (x *AnchorInfo) ProtoReflect() protoreflect.Message
- func (x *AnchorInfo) Reset()
- func (x *AnchorInfo) String() string
 
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (x *Asset) GetAmount() uint64
- func (x *Asset) GetAssetGenesis() *GenesisInfo
- func (x *Asset) GetAssetGroup() *AssetGroup
- func (x *Asset) GetAssetType() AssetType
- func (x *Asset) GetChainAnchor() *AnchorInfo
- func (x *Asset) GetIsSpent() bool
- func (x *Asset) GetLockTime() int32
- func (x *Asset) GetPrevWitnesses() []*PrevWitness
- func (x *Asset) GetRelativeLockTime() int32
- func (x *Asset) GetScriptKey() []byte
- func (x *Asset) GetScriptKeyIsLocal() bool
- func (x *Asset) GetScriptVersion() int32
- func (x *Asset) GetVersion() int32
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (x *Asset) String() string
 
- type AssetBalance
- func (*AssetBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AssetBalance) GetAssetGenesis() *GenesisInfo
- func (x *AssetBalance) GetAssetType() AssetType
- func (x *AssetBalance) GetBalance() uint64
- func (*AssetBalance) ProtoMessage()
- func (x *AssetBalance) ProtoReflect() protoreflect.Message
- func (x *AssetBalance) Reset()
- func (x *AssetBalance) String() string
 
- type AssetGroup
- func (*AssetGroup) Descriptor() ([]byte, []int)deprecated
- func (x *AssetGroup) GetAssetIdSig() []byte
- func (x *AssetGroup) GetRawGroupKey() []byte
- func (x *AssetGroup) GetTweakedGroupKey() []byte
- func (*AssetGroup) ProtoMessage()
- func (x *AssetGroup) ProtoReflect() protoreflect.Message
- func (x *AssetGroup) Reset()
- func (x *AssetGroup) String() string
 
- type AssetGroupBalance
- func (*AssetGroupBalance) Descriptor() ([]byte, []int)deprecated
- func (x *AssetGroupBalance) GetBalance() uint64
- func (x *AssetGroupBalance) GetGroupKey() []byte
- func (*AssetGroupBalance) ProtoMessage()
- func (x *AssetGroupBalance) ProtoReflect() protoreflect.Message
- func (x *AssetGroupBalance) Reset()
- func (x *AssetGroupBalance) String() string
 
- type AssetHumanReadable
- func (*AssetHumanReadable) Descriptor() ([]byte, []int)deprecated
- func (x *AssetHumanReadable) GetAmount() uint64
- func (x *AssetHumanReadable) GetId() []byte
- func (x *AssetHumanReadable) GetLockTime() int32
- func (x *AssetHumanReadable) GetMetaHash() []byte
- func (x *AssetHumanReadable) GetRelativeLockTime() int32
- func (x *AssetHumanReadable) GetTag() string
- func (x *AssetHumanReadable) GetType() AssetType
- func (*AssetHumanReadable) ProtoMessage()
- func (x *AssetHumanReadable) ProtoReflect() protoreflect.Message
- func (x *AssetHumanReadable) Reset()
- func (x *AssetHumanReadable) String() string
 
- type AssetMeta
- func (*AssetMeta) Descriptor() ([]byte, []int)deprecated
- func (x *AssetMeta) GetData() []byte
- func (x *AssetMeta) GetMetaHash() []byte
- func (x *AssetMeta) GetType() AssetMetaType
- func (*AssetMeta) ProtoMessage()
- func (x *AssetMeta) ProtoReflect() protoreflect.Message
- func (x *AssetMeta) Reset()
- func (x *AssetMeta) String() string
 
- type AssetMetaType
- func (AssetMetaType) Descriptor() protoreflect.EnumDescriptor
- func (x AssetMetaType) Enum() *AssetMetaType
- func (AssetMetaType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AssetMetaType) Number() protoreflect.EnumNumber
- func (x AssetMetaType) String() string
- func (AssetMetaType) Type() protoreflect.EnumType
 
- type AssetTransfer
- func (*AssetTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *AssetTransfer) GetAnchorTxChainFees() int64
- func (x *AssetTransfer) GetAnchorTxHash() []byte
- func (x *AssetTransfer) GetAnchorTxHeightHint() uint32
- func (x *AssetTransfer) GetInputs() []*TransferInput
- func (x *AssetTransfer) GetOutputs() []*TransferOutput
- func (x *AssetTransfer) GetTransferTimestamp() int64
- func (*AssetTransfer) ProtoMessage()
- func (x *AssetTransfer) ProtoReflect() protoreflect.Message
- func (x *AssetTransfer) Reset()
- func (x *AssetTransfer) String() string
 
- type AssetType
- type DebugLevelRequest
- func (*DebugLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLevelRequest) GetLevelSpec() string
- func (x *DebugLevelRequest) GetShow() bool
- func (*DebugLevelRequest) ProtoMessage()
- func (x *DebugLevelRequest) ProtoReflect() protoreflect.Message
- func (x *DebugLevelRequest) Reset()
- func (x *DebugLevelRequest) String() string
 
- type DebugLevelResponse
- func (*DebugLevelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLevelResponse) GetSubSystems() string
- func (*DebugLevelResponse) ProtoMessage()
- func (x *DebugLevelResponse) ProtoReflect() protoreflect.Message
- func (x *DebugLevelResponse) Reset()
- func (x *DebugLevelResponse) String() string
 
- type DecodeAddrRequest
- type ExecuteSendStateEvent
- func (*ExecuteSendStateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteSendStateEvent) GetSendState() string
- func (x *ExecuteSendStateEvent) GetTimestamp() int64
- func (*ExecuteSendStateEvent) ProtoMessage()
- func (x *ExecuteSendStateEvent) ProtoReflect() protoreflect.Message
- func (x *ExecuteSendStateEvent) Reset()
- func (x *ExecuteSendStateEvent) String() string
 
- type ExportProofRequest
- func (*ExportProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportProofRequest) GetAssetId() []byte
- func (x *ExportProofRequest) GetScriptKey() []byte
- func (*ExportProofRequest) ProtoMessage()
- func (x *ExportProofRequest) ProtoReflect() protoreflect.Message
- func (x *ExportProofRequest) Reset()
- func (x *ExportProofRequest) String() string
 
- type FetchAssetMetaRequest
- func (*FetchAssetMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (m *FetchAssetMetaRequest) GetAsset() isFetchAssetMetaRequest_Asset
- func (x *FetchAssetMetaRequest) GetAssetId() []byte
- func (x *FetchAssetMetaRequest) GetMetaHash() []byte
- func (*FetchAssetMetaRequest) ProtoMessage()
- func (x *FetchAssetMetaRequest) ProtoReflect() protoreflect.Message
- func (x *FetchAssetMetaRequest) Reset()
- func (x *FetchAssetMetaRequest) String() string
 
- type FetchAssetMetaRequest_AssetId
- type FetchAssetMetaRequest_MetaHash
- type GenesisInfo
- func (*GenesisInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisInfo) GetAssetId() []byte
- func (x *GenesisInfo) GetGenesisPoint() string
- func (x *GenesisInfo) GetMetaHash() []byte
- func (x *GenesisInfo) GetName() string
- func (x *GenesisInfo) GetOutputIndex() uint32
- func (x *GenesisInfo) GetVersion() int32
- func (*GenesisInfo) ProtoMessage()
- func (x *GenesisInfo) ProtoReflect() protoreflect.Message
- func (x *GenesisInfo) Reset()
- func (x *GenesisInfo) String() string
 
- type GroupedAssets
- type ImportProofRequest
- func (*ImportProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportProofRequest) GetGenesisPoint() string
- func (x *ImportProofRequest) GetProofFile() []byte
- func (*ImportProofRequest) ProtoMessage()
- func (x *ImportProofRequest) ProtoReflect() protoreflect.Message
- func (x *ImportProofRequest) Reset()
- func (x *ImportProofRequest) String() string
 
- type ImportProofResponse
- type KeyDescriptor
- func (*KeyDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *KeyDescriptor) GetKeyLoc() *KeyLocator
- func (x *KeyDescriptor) GetRawKeyBytes() []byte
- func (*KeyDescriptor) ProtoMessage()
- func (x *KeyDescriptor) ProtoReflect() protoreflect.Message
- func (x *KeyDescriptor) Reset()
- func (x *KeyDescriptor) String() string
 
- type KeyLocator
- type ListAssetRequest
- func (*ListAssetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAssetRequest) GetIncludeSpent() bool
- func (x *ListAssetRequest) GetWithWitness() bool
- func (*ListAssetRequest) ProtoMessage()
- func (x *ListAssetRequest) ProtoReflect() protoreflect.Message
- func (x *ListAssetRequest) Reset()
- func (x *ListAssetRequest) String() string
 
- type ListAssetResponse
- type ListBalancesRequest
- func (*ListBalancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBalancesRequest) GetAssetFilter() []byte
- func (x *ListBalancesRequest) GetAssetId() bool
- func (m *ListBalancesRequest) GetGroupBy() isListBalancesRequest_GroupBy
- func (x *ListBalancesRequest) GetGroupKey() bool
- func (x *ListBalancesRequest) GetGroupKeyFilter() []byte
- func (*ListBalancesRequest) ProtoMessage()
- func (x *ListBalancesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBalancesRequest) Reset()
- func (x *ListBalancesRequest) String() string
 
- type ListBalancesRequest_AssetId
- type ListBalancesRequest_GroupKey
- type ListBalancesResponse
- func (*ListBalancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBalancesResponse) GetAssetBalances() map[string]*AssetBalance
- func (x *ListBalancesResponse) GetAssetGroupBalances() map[string]*AssetGroupBalance
- func (*ListBalancesResponse) ProtoMessage()
- func (x *ListBalancesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBalancesResponse) Reset()
- func (x *ListBalancesResponse) String() string
 
- type ListGroupsRequest
- type ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsResponse) GetGroups() map[string]*GroupedAssets
- func (*ListGroupsResponse) ProtoMessage()
- func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupsResponse) Reset()
- func (x *ListGroupsResponse) String() string
 
- type ListTransfersRequest
- type ListTransfersResponse
- func (*ListTransfersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransfersResponse) GetTransfers() []*AssetTransfer
- func (*ListTransfersResponse) ProtoMessage()
- func (x *ListTransfersResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransfersResponse) Reset()
- func (x *ListTransfersResponse) String() string
 
- type ListUtxosRequest
- type ListUtxosResponse
- func (*ListUtxosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUtxosResponse) GetManagedUtxos() map[string]*ManagedUtxo
- func (*ListUtxosResponse) ProtoMessage()
- func (x *ListUtxosResponse) ProtoReflect() protoreflect.Message
- func (x *ListUtxosResponse) Reset()
- func (x *ListUtxosResponse) String() string
 
- type ManagedUtxo
- func (*ManagedUtxo) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedUtxo) GetAmtSat() int64
- func (x *ManagedUtxo) GetAssets() []*Asset
- func (x *ManagedUtxo) GetInternalKey() []byte
- func (x *ManagedUtxo) GetMerkleRoot() []byte
- func (x *ManagedUtxo) GetOutPoint() string
- func (x *ManagedUtxo) GetTaprootAssetRoot() []byte
- func (*ManagedUtxo) ProtoMessage()
- func (x *ManagedUtxo) ProtoReflect() protoreflect.Message
- func (x *ManagedUtxo) Reset()
- func (x *ManagedUtxo) String() string
 
- type NewAddrRequest
- func (*NewAddrRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddrRequest) GetAmt() uint64
- func (x *NewAddrRequest) GetAssetId() []byte
- func (x *NewAddrRequest) GetInternalKey() *KeyDescriptor
- func (x *NewAddrRequest) GetScriptKey() *ScriptKey
- func (x *NewAddrRequest) GetTapscriptSibling() []byte
- func (*NewAddrRequest) ProtoMessage()
- func (x *NewAddrRequest) ProtoReflect() protoreflect.Message
- func (x *NewAddrRequest) Reset()
- func (x *NewAddrRequest) String() string
 
- type OutputType
- type PrevInputAsset
- func (*PrevInputAsset) Descriptor() ([]byte, []int)deprecated
- func (x *PrevInputAsset) GetAmount() uint64
- func (x *PrevInputAsset) GetAnchorPoint() string
- func (x *PrevInputAsset) GetAssetId() []byte
- func (x *PrevInputAsset) GetScriptKey() []byte
- func (*PrevInputAsset) ProtoMessage()
- func (x *PrevInputAsset) ProtoReflect() protoreflect.Message
- func (x *PrevInputAsset) Reset()
- func (x *PrevInputAsset) String() string
 
- type PrevWitness
- func (*PrevWitness) Descriptor() ([]byte, []int)deprecated
- func (x *PrevWitness) GetPrevId() *PrevInputAsset
- func (x *PrevWitness) GetSplitCommitment() *SplitCommitment
- func (x *PrevWitness) GetTxWitness() [][]byte
- func (*PrevWitness) ProtoMessage()
- func (x *PrevWitness) ProtoReflect() protoreflect.Message
- func (x *PrevWitness) Reset()
- func (x *PrevWitness) String() string
 
- type ProofFile
- type ProofVerifyResponse
- func (*ProofVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProofVerifyResponse) GetValid() bool
- func (*ProofVerifyResponse) ProtoMessage()
- func (x *ProofVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *ProofVerifyResponse) Reset()
- func (x *ProofVerifyResponse) String() string
 
- type QueryAddrRequest
- func (*QueryAddrRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAddrRequest) GetCreatedAfter() int64
- func (x *QueryAddrRequest) GetCreatedBefore() int64
- func (x *QueryAddrRequest) GetLimit() int32
- func (x *QueryAddrRequest) GetOffset() int32
- func (*QueryAddrRequest) ProtoMessage()
- func (x *QueryAddrRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAddrRequest) Reset()
- func (x *QueryAddrRequest) String() string
 
- type QueryAddrResponse
- type ReceiverProofBackoffWaitEvent
- func (*ReceiverProofBackoffWaitEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiverProofBackoffWaitEvent) GetBackoff() int64
- func (x *ReceiverProofBackoffWaitEvent) GetTimestamp() int64
- func (x *ReceiverProofBackoffWaitEvent) GetTriesCounter() int64
- func (*ReceiverProofBackoffWaitEvent) ProtoMessage()
- func (x *ReceiverProofBackoffWaitEvent) ProtoReflect() protoreflect.Message
- func (x *ReceiverProofBackoffWaitEvent) Reset()
- func (x *ReceiverProofBackoffWaitEvent) String() string
 
- type ScriptKey
- func (*ScriptKey) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptKey) GetKeyDesc() *KeyDescriptor
- func (x *ScriptKey) GetPubKey() []byte
- func (x *ScriptKey) GetTapTweak() []byte
- func (*ScriptKey) ProtoMessage()
- func (x *ScriptKey) ProtoReflect() protoreflect.Message
- func (x *ScriptKey) Reset()
- func (x *ScriptKey) String() string
 
- type SendAssetEvent
- func (*SendAssetEvent) Descriptor() ([]byte, []int)deprecated
- func (m *SendAssetEvent) GetEvent() isSendAssetEvent_Event
- func (x *SendAssetEvent) GetExecuteSendStateEvent() *ExecuteSendStateEvent
- func (x *SendAssetEvent) GetReceiverProofBackoffWaitEvent() *ReceiverProofBackoffWaitEvent
- func (*SendAssetEvent) ProtoMessage()
- func (x *SendAssetEvent) ProtoReflect() protoreflect.Message
- func (x *SendAssetEvent) Reset()
- func (x *SendAssetEvent) String() string
 
- type SendAssetEvent_ExecuteSendStateEvent
- type SendAssetEvent_ReceiverProofBackoffWaitEvent
- type SendAssetRequest
- type SendAssetResponse
- func (*SendAssetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendAssetResponse) GetTransfer() *AssetTransfer
- func (*SendAssetResponse) ProtoMessage()
- func (x *SendAssetResponse) ProtoReflect() protoreflect.Message
- func (x *SendAssetResponse) Reset()
- func (x *SendAssetResponse) String() string
 
- type SplitCommitment
- type StopRequest
- type StopResponse
- type SubscribeSendAssetEventNtfnsRequest
- func (*SubscribeSendAssetEventNtfnsRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeSendAssetEventNtfnsRequest) ProtoMessage()
- func (x *SubscribeSendAssetEventNtfnsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeSendAssetEventNtfnsRequest) Reset()
- func (x *SubscribeSendAssetEventNtfnsRequest) String() string
 
- type TaprootAssetsClient
- type TaprootAssetsServer
- type TaprootAssets_SubscribeSendAssetEventNtfnsClient
- type TaprootAssets_SubscribeSendAssetEventNtfnsServer
- type TransferInput
- func (*TransferInput) Descriptor() ([]byte, []int)deprecated
- func (x *TransferInput) GetAmount() uint64
- func (x *TransferInput) GetAnchorPoint() string
- func (x *TransferInput) GetAssetId() []byte
- func (x *TransferInput) GetScriptKey() []byte
- func (*TransferInput) ProtoMessage()
- func (x *TransferInput) ProtoReflect() protoreflect.Message
- func (x *TransferInput) Reset()
- func (x *TransferInput) String() string
 
- type TransferOutput
- func (*TransferOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TransferOutput) GetAmount() uint64
- func (x *TransferOutput) GetAnchor() *TransferOutputAnchor
- func (x *TransferOutput) GetNewProofBlob() []byte
- func (x *TransferOutput) GetOutputType() OutputType
- func (x *TransferOutput) GetScriptKey() []byte
- func (x *TransferOutput) GetScriptKeyIsLocal() bool
- func (x *TransferOutput) GetSplitCommitRootHash() []byte
- func (*TransferOutput) ProtoMessage()
- func (x *TransferOutput) ProtoReflect() protoreflect.Message
- func (x *TransferOutput) Reset()
- func (x *TransferOutput) String() string
 
- type TransferOutputAnchor
- func (*TransferOutputAnchor) Descriptor() ([]byte, []int)deprecated
- func (x *TransferOutputAnchor) GetInternalKey() []byte
- func (x *TransferOutputAnchor) GetMerkleRoot() []byte
- func (x *TransferOutputAnchor) GetNumPassiveAssets() uint32
- func (x *TransferOutputAnchor) GetOutpoint() string
- func (x *TransferOutputAnchor) GetTaprootAssetRoot() []byte
- func (x *TransferOutputAnchor) GetTapscriptSibling() []byte
- func (x *TransferOutputAnchor) GetValue() int64
- func (*TransferOutputAnchor) ProtoMessage()
- func (x *TransferOutputAnchor) ProtoReflect() protoreflect.Message
- func (x *TransferOutputAnchor) Reset()
- func (x *TransferOutputAnchor) String() string
 
- type UnimplementedTaprootAssetsServer
- func (UnimplementedTaprootAssetsServer) AddrReceives(context.Context, *AddrReceivesRequest) (*AddrReceivesResponse, error)
- func (UnimplementedTaprootAssetsServer) DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
- func (UnimplementedTaprootAssetsServer) DecodeAddr(context.Context, *DecodeAddrRequest) (*Addr, error)
- func (UnimplementedTaprootAssetsServer) ExportProof(context.Context, *ExportProofRequest) (*ProofFile, error)
- func (UnimplementedTaprootAssetsServer) FetchAssetMeta(context.Context, *FetchAssetMetaRequest) (*AssetMeta, error)
- func (UnimplementedTaprootAssetsServer) ImportProof(context.Context, *ImportProofRequest) (*ImportProofResponse, error)
- func (UnimplementedTaprootAssetsServer) ListAssets(context.Context, *ListAssetRequest) (*ListAssetResponse, error)
- func (UnimplementedTaprootAssetsServer) ListBalances(context.Context, *ListBalancesRequest) (*ListBalancesResponse, error)
- func (UnimplementedTaprootAssetsServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
- func (UnimplementedTaprootAssetsServer) ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error)
- func (UnimplementedTaprootAssetsServer) ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
- func (UnimplementedTaprootAssetsServer) NewAddr(context.Context, *NewAddrRequest) (*Addr, error)
- func (UnimplementedTaprootAssetsServer) QueryAddrs(context.Context, *QueryAddrRequest) (*QueryAddrResponse, error)
- func (UnimplementedTaprootAssetsServer) SendAsset(context.Context, *SendAssetRequest) (*SendAssetResponse, error)
- func (UnimplementedTaprootAssetsServer) StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
- func (UnimplementedTaprootAssetsServer) SubscribeSendAssetEventNtfns(*SubscribeSendAssetEventNtfnsRequest, ...) error
- func (UnimplementedTaprootAssetsServer) VerifyProof(context.Context, *ProofFile) (*ProofVerifyResponse, error)
 
- type UnsafeTaprootAssetsServer
Constants ¶
This section is empty.
Variables ¶
var ( AssetType_name = map[int32]string{ 0: "NORMAL", 1: "COLLECTIBLE", } AssetType_value = map[string]int32{ "NORMAL": 0, "COLLECTIBLE": 1, } )
Enum value maps for AssetType.
var ( AssetMetaType_name = map[int32]string{ 0: "MTEA_TYPE_OPAQUE", } AssetMetaType_value = map[string]int32{ "MTEA_TYPE_OPAQUE": 0, } )
Enum value maps for AssetMetaType.
var ( OutputType_name = map[int32]string{ 0: "OUTPUT_TYPE_SIMPLE", 1: "OUTPUT_TYPE_SPLIT_ROOT", 2: "OUTPUT_TYPE_PASSIVE_ASSETS_ONLY", 3: "OUTPUT_TYPE_PASSIVE_SPLIT_ROOT", } OutputType_value = map[string]int32{ "OUTPUT_TYPE_SIMPLE": 0, "OUTPUT_TYPE_SPLIT_ROOT": 1, "OUTPUT_TYPE_PASSIVE_ASSETS_ONLY": 2, "OUTPUT_TYPE_PASSIVE_SPLIT_ROOT": 3, } )
Enum value maps for OutputType.
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.
var File_taprootassets_proto protoreflect.FileDescriptor
    var TaprootAssets_ServiceDesc = grpc.ServiceDesc{ ServiceName: "taprpc.TaprootAssets", HandlerType: (*TaprootAssetsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAssets", Handler: _TaprootAssets_ListAssets_Handler, }, { MethodName: "ListUtxos", Handler: _TaprootAssets_ListUtxos_Handler, }, { MethodName: "ListGroups", Handler: _TaprootAssets_ListGroups_Handler, }, { MethodName: "ListBalances", Handler: _TaprootAssets_ListBalances_Handler, }, { MethodName: "ListTransfers", Handler: _TaprootAssets_ListTransfers_Handler, }, { MethodName: "StopDaemon", Handler: _TaprootAssets_StopDaemon_Handler, }, { MethodName: "DebugLevel", Handler: _TaprootAssets_DebugLevel_Handler, }, { MethodName: "QueryAddrs", Handler: _TaprootAssets_QueryAddrs_Handler, }, { MethodName: "NewAddr", Handler: _TaprootAssets_NewAddr_Handler, }, { MethodName: "DecodeAddr", Handler: _TaprootAssets_DecodeAddr_Handler, }, { MethodName: "AddrReceives", Handler: _TaprootAssets_AddrReceives_Handler, }, { MethodName: "VerifyProof", Handler: _TaprootAssets_VerifyProof_Handler, }, { MethodName: "ExportProof", Handler: _TaprootAssets_ExportProof_Handler, }, { MethodName: "ImportProof", Handler: _TaprootAssets_ImportProof_Handler, }, { MethodName: "SendAsset", Handler: _TaprootAssets_SendAsset_Handler, }, { MethodName: "FetchAssetMeta", Handler: _TaprootAssets_FetchAssetMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeSendAssetEventNtfns", Handler: _TaprootAssets_SubscribeSendAssetEventNtfns_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 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 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.
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The type of the asset.
	AssetType AssetType `protobuf:"varint,3,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,omitempty"`
	// The total amount of the asset stored in this Taproot Asset UTXO.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// The group key of the asset (if it exists)
	GroupKey []byte `protobuf:"bytes,5,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
	// The specific script key the asset must commit to in order to transfer
	// ownership to the creator of the address.
	ScriptKey []byte `protobuf:"bytes,6,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The internal key used for the on-chain output.
	InternalKey []byte `protobuf:"bytes,7,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The optional serialized tapscript sibling preimage to use for the receiving
	// asset. This is usually empty as it is only needed when there should be an
	// additional script path in the Taproot tree alongside the Taproot Asset
	// commitment of the asset.
	TapscriptSibling []byte `protobuf:"bytes,8,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	// The tweaked internal key that commits to the asset and represents the
	// on-chain output key the Bitcoin transaction must send to in order to
	// transfer assets described in this address.
	TaprootOutputKey []byte `protobuf:"bytes,9,opt,name=taproot_output_key,json=taprootOutputKey,proto3" json:"taproot_output_key,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Addr) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Addr) GetAssetId ¶
func (*Addr) GetAssetType ¶
func (*Addr) GetEncoded ¶
func (*Addr) GetGroupKey ¶
func (*Addr) GetInternalKey ¶
func (*Addr) GetScriptKey ¶
func (*Addr) GetTaprootOutputKey ¶
func (*Addr) GetTapscriptSibling ¶
func (*Addr) ProtoMessage ¶
func (*Addr) ProtoMessage()
func (*Addr) ProtoReflect ¶
func (x *Addr) ProtoReflect() protoreflect.Message
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) GetConfirmationHeight ¶
func (*AddrEvent) GetCreationTimeUnixSeconds ¶
func (*AddrEvent) GetHasProof ¶
func (*AddrEvent) GetOutpoint ¶
func (*AddrEvent) GetStatus ¶
func (x *AddrEvent) GetStatus() AddrEventStatus
func (*AddrEvent) GetTaprootSibling ¶
func (*AddrEvent) GetUtxoAmtSat ¶
func (*AddrEvent) ProtoMessage ¶
func (*AddrEvent) ProtoMessage()
func (*AddrEvent) ProtoReflect ¶
func (x *AddrEvent) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x AddrEventStatus) Number() protoreflect.EnumNumber
func (AddrEventStatus) String ¶
func (x AddrEventStatus) String() string
func (AddrEventStatus) Type ¶
func (AddrEventStatus) Type() protoreflect.EnumType
type AddrReceivesRequest ¶
type AddrReceivesRequest struct {
	// Filter receives by a specific address. Leave empty to get all receives.
	FilterAddr string `protobuf:"bytes,1,opt,name=filter_addr,json=filterAddr,proto3" json:"filter_addr,omitempty"`
	// Filter receives by a specific status. Leave empty to get all receives.
	FilterStatus AddrEventStatus `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}
    
        
          
            func (*AddrReceivesRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AddrReceivesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddrReceivesRequest.ProtoReflect.Descriptor instead.
func (*AddrReceivesRequest) GetFilterAddr ¶
func (x *AddrReceivesRequest) GetFilterAddr() string
func (*AddrReceivesRequest) GetFilterStatus ¶
func (x *AddrReceivesRequest) GetFilterStatus() AddrEventStatus
func (*AddrReceivesRequest) ProtoMessage ¶
func (*AddrReceivesRequest) ProtoMessage()
func (*AddrReceivesRequest) ProtoReflect ¶
func (x *AddrReceivesRequest) ProtoReflect() protoreflect.Message
func (*AddrReceivesRequest) Reset ¶
func (x *AddrReceivesRequest) Reset()
func (*AddrReceivesRequest) String ¶
func (x *AddrReceivesRequest) String() string
type AddrReceivesResponse ¶
type AddrReceivesResponse struct {
	// The events that match the filter criteria.
	Events []*AddrEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*AddrReceivesResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AddrReceivesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddrReceivesResponse.ProtoReflect.Descriptor instead.
func (*AddrReceivesResponse) GetEvents ¶
func (x *AddrReceivesResponse) GetEvents() []*AddrEvent
func (*AddrReceivesResponse) ProtoMessage ¶
func (*AddrReceivesResponse) ProtoMessage()
func (*AddrReceivesResponse) ProtoReflect ¶
func (x *AddrReceivesResponse) ProtoReflect() protoreflect.Message
func (*AddrReceivesResponse) Reset ¶
func (x *AddrReceivesResponse) Reset()
func (*AddrReceivesResponse) String ¶
func (x *AddrReceivesResponse) String() string
type 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 txid of the above transaction.
	AnchorTxid string `protobuf:"bytes,2,opt,name=anchor_txid,json=anchorTxid,proto3" json:"anchor_txid,omitempty"`
	// The block hash the contains the anchor transaction above.
	AnchorBlockHash []byte `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"`
	// 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() []byte
func (*AnchorInfo) GetAnchorOutpoint ¶
func (x *AnchorInfo) GetAnchorOutpoint() string
func (*AnchorInfo) GetAnchorTx ¶
func (x *AnchorInfo) GetAnchorTx() []byte
func (*AnchorInfo) GetAnchorTxid ¶
func (x *AnchorInfo) GetAnchorTxid() string
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 Asset ¶
type Asset struct {
	// The version of the Taproot Asset.
	Version int32 `protobuf:"varint,1,opt,name=version,proto3" 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 type of the asset.
	AssetType AssetType `protobuf:"varint,3,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,omitempty"`
	// The total amount of the asset stored in this Taproot Asset UTXO.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// An optional locktime, as with Bitcoin transactions.
	LockTime int32 `protobuf:"varint,5,opt,name=lock_time,json=lockTime,proto3" json:"lock_time,omitempty"`
	// An optional relative lock time, same as Bitcoin transactions.
	RelativeLockTime int32 `protobuf:"varint,6,opt,name=relative_lock_time,json=relativeLockTime,proto3" json:"relative_lock_time,omitempty"`
	// The version of the script, only version 0 is defined at present.
	ScriptVersion int32 `protobuf:"varint,7,opt,name=script_version,json=scriptVersion,proto3" json:"script_version,omitempty"`
	// The script key of the asset, which can be spent under Taproot semantics.
	ScriptKey []byte `protobuf:"bytes,9,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// Indicates whether the script key is known to the wallet of the lnd node
	// connected to the Taproot Asset daemon.
	ScriptKeyIsLocal bool `protobuf:"varint,10,opt,name=script_key_is_local,json=scriptKeyIsLocal,proto3" json:"script_key_is_local,omitempty"`
	// The information related to the key group of an asset (if it exists).
	AssetGroup *AssetGroup `protobuf:"bytes,11,opt,name=asset_group,json=assetGroup,proto3" json:"asset_group,omitempty"`
	// Describes where in the chain the asset is currently anchored.
	ChainAnchor   *AnchorInfo    `protobuf:"bytes,12,opt,name=chain_anchor,json=chainAnchor,proto3" json:"chain_anchor,omitempty"`
	PrevWitnesses []*PrevWitness `protobuf:"bytes,13,rep,name=prev_witnesses,json=prevWitnesses,proto3" json:"prev_witnesses,omitempty"`
	// Indicates whether the asset has been spent.
	IsSpent bool `protobuf:"varint,14,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Asset) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Asset) GetAssetGenesis ¶
func (x *Asset) GetAssetGenesis() *GenesisInfo
func (*Asset) GetAssetGroup ¶
func (x *Asset) GetAssetGroup() *AssetGroup
func (*Asset) GetAssetType ¶
func (*Asset) GetChainAnchor ¶
func (x *Asset) GetChainAnchor() *AnchorInfo
func (*Asset) GetIsSpent ¶
func (*Asset) GetLockTime ¶
func (*Asset) GetPrevWitnesses ¶
func (x *Asset) GetPrevWitnesses() []*PrevWitness
func (*Asset) GetRelativeLockTime ¶
func (*Asset) GetScriptKey ¶
func (*Asset) GetScriptKeyIsLocal ¶
func (*Asset) GetScriptVersion ¶
func (*Asset) GetVersion ¶
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect ¶
func (x *Asset) ProtoReflect() protoreflect.Message
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 type of the asset.
	AssetType AssetType `protobuf:"varint,2,opt,name=asset_type,json=assetType,proto3,enum=taprpc.AssetType" json:"asset_type,omitempty"`
	// The balance of the asset owned by the target daemon.
	Balance uint64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*AssetBalance) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AssetBalance) Descriptor() ([]byte, []int)
Deprecated: Use AssetBalance.ProtoReflect.Descriptor instead.
func (*AssetBalance) GetAssetGenesis ¶
func (x *AssetBalance) GetAssetGenesis() *GenesisInfo
func (*AssetBalance) GetAssetType ¶
func (x *AssetBalance) GetAssetType() AssetType
func (*AssetBalance) GetBalance ¶
func (x *AssetBalance) GetBalance() uint64
func (*AssetBalance) ProtoMessage ¶
func (*AssetBalance) ProtoMessage()
func (*AssetBalance) ProtoReflect ¶
func (x *AssetBalance) ProtoReflect() protoreflect.Message
func (*AssetBalance) Reset ¶
func (x *AssetBalance) Reset()
func (*AssetBalance) String ¶
func (x *AssetBalance) String() string
type AssetGroup ¶
type AssetGroup struct {
	// The raw group key which is a normal public key.
	RawGroupKey []byte `protobuf:"bytes,1,opt,name=raw_group_key,json=rawGroupKey,proto3" json:"raw_group_key,omitempty"`
	// The tweaked group key, which is derived based on the genesis point and also
	// asset type.
	TweakedGroupKey []byte `protobuf:"bytes,2,opt,name=tweaked_group_key,json=tweakedGroupKey,proto3" json:"tweaked_group_key,omitempty"`
	// A signature over the genesis point using the above key.
	AssetIdSig []byte `protobuf:"bytes,3,opt,name=asset_id_sig,json=assetIdSig,proto3" json:"asset_id_sig,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*AssetGroup) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AssetGroup) Descriptor() ([]byte, []int)
Deprecated: Use AssetGroup.ProtoReflect.Descriptor instead.
func (*AssetGroup) GetAssetIdSig ¶
func (x *AssetGroup) GetAssetIdSig() []byte
func (*AssetGroup) GetRawGroupKey ¶
func (x *AssetGroup) GetRawGroupKey() []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"`
	// 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) 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.
	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) GetMetaHash ¶
func (*AssetMeta) GetType ¶
func (x *AssetMeta) GetType() AssetMetaType
func (*AssetMeta) ProtoMessage ¶
func (*AssetMeta) ProtoMessage()
func (*AssetMeta) ProtoReflect ¶
func (x *AssetMeta) ProtoReflect() protoreflect.Message
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_MTEA_TYPE_OPAQUE AssetMetaType = 0 )
func (AssetMetaType) Descriptor ¶
func (AssetMetaType) Descriptor() protoreflect.EnumDescriptor
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 (x AssetMetaType) Number() protoreflect.EnumNumber
func (AssetMetaType) String ¶
func (x AssetMetaType) String() string
func (AssetMetaType) Type ¶
func (AssetMetaType) Type() protoreflect.EnumType
type AssetTransfer ¶
type AssetTransfer struct {
	TransferTimestamp int64 `protobuf:"varint,1,opt,name=transfer_timestamp,json=transferTimestamp,proto3" json:"transfer_timestamp,omitempty"`
	// The new transaction that commits to the set of Taproot Assets found
	// at the above new anchor point.
	AnchorTxHash       []byte `protobuf:"bytes,2,opt,name=anchor_tx_hash,json=anchorTxHash,proto3" json:"anchor_tx_hash,omitempty"`
	AnchorTxHeightHint uint32 `protobuf:"varint,3,opt,name=anchor_tx_height_hint,json=anchorTxHeightHint,proto3" json:"anchor_tx_height_hint,omitempty"`
	AnchorTxChainFees  int64  `protobuf:"varint,4,opt,name=anchor_tx_chain_fees,json=anchorTxChainFees,proto3" json:"anchor_tx_chain_fees,omitempty"`
	// Describes the set of spent assets.
	Inputs []*TransferInput `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// Describes the set of newly created asset outputs.
	Outputs []*TransferOutput `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*AssetTransfer) Descriptor
            deprecated
            
          
  
    
  
      
      func (*AssetTransfer) Descriptor() ([]byte, []int)
Deprecated: Use AssetTransfer.ProtoReflect.Descriptor instead.
func (*AssetTransfer) GetAnchorTxChainFees ¶
func (x *AssetTransfer) GetAnchorTxChainFees() int64
func (*AssetTransfer) GetAnchorTxHash ¶
func (x *AssetTransfer) GetAnchorTxHash() []byte
func (*AssetTransfer) GetAnchorTxHeightHint ¶
func (x *AssetTransfer) GetAnchorTxHeightHint() uint32
func (*AssetTransfer) GetInputs ¶
func (x *AssetTransfer) GetInputs() []*TransferInput
func (*AssetTransfer) GetOutputs ¶
func (x *AssetTransfer) GetOutputs() []*TransferOutput
func (*AssetTransfer) GetTransferTimestamp ¶
func (x *AssetTransfer) GetTransferTimestamp() int64
func (*AssetTransfer) ProtoMessage ¶
func (*AssetTransfer) ProtoMessage()
func (*AssetTransfer) ProtoReflect ¶
func (x *AssetTransfer) ProtoReflect() protoreflect.Message
func (*AssetTransfer) Reset ¶
func (x *AssetTransfer) Reset()
func (*AssetTransfer) String ¶
func (x *AssetTransfer) String() string
type AssetType ¶
type AssetType int32
const ( // Indicates that an asset is capable of being split/merged, with each of the // units being fungible, even across a key asset ID boundary (assuming the // key group is the same). AssetType_NORMAL AssetType = 0 // Indicates that an asset is a collectible, meaning that each of the other // items under the same key group are not fully fungible with each other. // Collectibles also cannot be split or merged. AssetType_COLLECTIBLE AssetType = 1 )
func (AssetType) Descriptor ¶
func (AssetType) Descriptor() protoreflect.EnumDescriptor
        
          
            func (AssetType) EnumDescriptor
            deprecated
            
          
  
    
  
      
      
    func (AssetType) Number ¶
func (x AssetType) Number() protoreflect.EnumNumber
func (AssetType) Type ¶
func (AssetType) Type() protoreflect.EnumType
type DebugLevelRequest ¶
type DebugLevelRequest struct {
	// If true, all the valid debug sub-systems will be returned.
	Show      bool   `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
	LevelSpec string `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec,proto3" json:"level_spec,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*DebugLevelRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DebugLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugLevelRequest.ProtoReflect.Descriptor instead.
func (*DebugLevelRequest) GetLevelSpec ¶
func (x *DebugLevelRequest) GetLevelSpec() string
func (*DebugLevelRequest) GetShow ¶
func (x *DebugLevelRequest) GetShow() bool
func (*DebugLevelRequest) ProtoMessage ¶
func (*DebugLevelRequest) ProtoMessage()
func (*DebugLevelRequest) ProtoReflect ¶
func (x *DebugLevelRequest) ProtoReflect() protoreflect.Message
func (*DebugLevelRequest) Reset ¶
func (x *DebugLevelRequest) Reset()
func (*DebugLevelRequest) String ¶
func (x *DebugLevelRequest) String() string
type DebugLevelResponse ¶
type DebugLevelResponse struct {
	SubSystems string `protobuf:"bytes,1,opt,name=sub_systems,json=subSystems,proto3" json:"sub_systems,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*DebugLevelResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DebugLevelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugLevelResponse.ProtoReflect.Descriptor instead.
func (*DebugLevelResponse) GetSubSystems ¶
func (x *DebugLevelResponse) GetSubSystems() string
func (*DebugLevelResponse) ProtoMessage ¶
func (*DebugLevelResponse) ProtoMessage()
func (*DebugLevelResponse) ProtoReflect ¶
func (x *DebugLevelResponse) ProtoReflect() protoreflect.Message
func (*DebugLevelResponse) Reset ¶
func (x *DebugLevelResponse) Reset()
func (*DebugLevelResponse) String ¶
func (x *DebugLevelResponse) String() string
type DecodeAddrRequest ¶
type DecodeAddrRequest struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*DecodeAddrRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*DecodeAddrRequest) Descriptor() ([]byte, []int)
Deprecated: Use DecodeAddrRequest.ProtoReflect.Descriptor instead.
func (*DecodeAddrRequest) GetAddr ¶
func (x *DecodeAddrRequest) GetAddr() string
func (*DecodeAddrRequest) ProtoMessage ¶
func (*DecodeAddrRequest) ProtoMessage()
func (*DecodeAddrRequest) ProtoReflect ¶
func (x *DecodeAddrRequest) ProtoReflect() protoreflect.Message
func (*DecodeAddrRequest) Reset ¶
func (x *DecodeAddrRequest) Reset()
func (*DecodeAddrRequest) String ¶
func (x *DecodeAddrRequest) String() string
type ExecuteSendStateEvent ¶
type ExecuteSendStateEvent struct {
	// Execute timestamp (microseconds).
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The send state that is about to be executed.
	SendState string `protobuf:"bytes,2,opt,name=send_state,json=sendState,proto3" json:"send_state,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ExecuteSendStateEvent) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ExecuteSendStateEvent) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteSendStateEvent.ProtoReflect.Descriptor instead.
func (*ExecuteSendStateEvent) GetSendState ¶
func (x *ExecuteSendStateEvent) GetSendState() string
func (*ExecuteSendStateEvent) GetTimestamp ¶
func (x *ExecuteSendStateEvent) GetTimestamp() int64
func (*ExecuteSendStateEvent) ProtoMessage ¶
func (*ExecuteSendStateEvent) ProtoMessage()
func (*ExecuteSendStateEvent) ProtoReflect ¶
func (x *ExecuteSendStateEvent) ProtoReflect() protoreflect.Message
func (*ExecuteSendStateEvent) Reset ¶
func (x *ExecuteSendStateEvent) Reset()
func (*ExecuteSendStateEvent) String ¶
func (x *ExecuteSendStateEvent) String() string
type ExportProofRequest ¶
type ExportProofRequest struct {
	AssetId   []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	ScriptKey []byte `protobuf:"bytes,2,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// 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) GetScriptKey ¶
func (x *ExportProofRequest) GetScriptKey() []byte
func (*ExportProofRequest) ProtoMessage ¶
func (*ExportProofRequest) ProtoMessage()
func (*ExportProofRequest) ProtoReflect ¶
func (x *ExportProofRequest) ProtoReflect() protoreflect.Message
func (*ExportProofRequest) Reset ¶
func (x *ExportProofRequest) Reset()
func (*ExportProofRequest) String ¶
func (x *ExportProofRequest) String() string
type FetchAssetMetaRequest ¶
type FetchAssetMetaRequest struct {
	// Types that are assignable to Asset:
	//
	//	*FetchAssetMetaRequest_AssetId
	//	*FetchAssetMetaRequest_MetaHash
	Asset isFetchAssetMetaRequest_Asset `protobuf_oneof:"asset"`
	// contains filtered or unexported fields
}
    
        
          
            func (*FetchAssetMetaRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*FetchAssetMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchAssetMetaRequest.ProtoReflect.Descriptor instead.
func (*FetchAssetMetaRequest) GetAsset ¶
func (m *FetchAssetMetaRequest) GetAsset() isFetchAssetMetaRequest_Asset
func (*FetchAssetMetaRequest) GetAssetId ¶
func (x *FetchAssetMetaRequest) GetAssetId() []byte
func (*FetchAssetMetaRequest) GetMetaHash ¶
func (x *FetchAssetMetaRequest) GetMetaHash() []byte
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_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 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 index of the output that carries the unique Taproot Asset commitment in
	// the genesis transaction.
	OutputIndex uint32 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
	// The version of the Taproot Asset commitment that created this asset.
	Version int32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,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) 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) GetVersion ¶
func (x *GenesisInfo) GetVersion() int32
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 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 ImportProofRequest ¶
type ImportProofRequest struct {
	ProofFile    []byte `protobuf:"bytes,1,opt,name=proof_file,json=proofFile,proto3" json:"proof_file,omitempty"`
	GenesisPoint string `protobuf:"bytes,2,opt,name=genesis_point,json=genesisPoint,proto3" json:"genesis_point,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ImportProofRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ImportProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportProofRequest.ProtoReflect.Descriptor instead.
func (*ImportProofRequest) GetGenesisPoint ¶
func (x *ImportProofRequest) GetGenesisPoint() string
func (*ImportProofRequest) GetProofFile ¶
func (x *ImportProofRequest) GetProofFile() []byte
func (*ImportProofRequest) ProtoMessage ¶
func (*ImportProofRequest) ProtoMessage()
func (*ImportProofRequest) ProtoReflect ¶
func (x *ImportProofRequest) ProtoReflect() protoreflect.Message
func (*ImportProofRequest) Reset ¶
func (x *ImportProofRequest) Reset()
func (*ImportProofRequest) String ¶
func (x *ImportProofRequest) String() string
type ImportProofResponse ¶
type ImportProofResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ImportProofResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ImportProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportProofResponse.ProtoReflect.Descriptor instead.
func (*ImportProofResponse) ProtoMessage ¶
func (*ImportProofResponse) ProtoMessage()
func (*ImportProofResponse) ProtoReflect ¶
func (x *ImportProofResponse) ProtoReflect() protoreflect.Message
func (*ImportProofResponse) Reset ¶
func (x *ImportProofResponse) Reset()
func (*ImportProofResponse) String ¶
func (x *ImportProofResponse) 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 {
	WithWitness  bool `protobuf:"varint,1,opt,name=with_witness,json=withWitness,proto3" json:"with_witness,omitempty"`
	IncludeSpent bool `protobuf:"varint,2,opt,name=include_spent,json=includeSpent,proto3" json:"include_spent,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ListAssetRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetRequest.ProtoReflect.Descriptor instead.
func (*ListAssetRequest) GetIncludeSpent ¶
func (x *ListAssetRequest) GetIncludeSpent() bool
func (*ListAssetRequest) GetWithWitness ¶
func (x *ListAssetRequest) GetWithWitness() bool
func (*ListAssetRequest) ProtoMessage ¶
func (*ListAssetRequest) ProtoMessage()
func (*ListAssetRequest) ProtoReflect ¶
func (x *ListAssetRequest) ProtoReflect() protoreflect.Message
func (*ListAssetRequest) Reset ¶
func (x *ListAssetRequest) Reset()
func (*ListAssetRequest) String ¶
func (x *ListAssetRequest) String() string
type ListAssetResponse ¶
type ListAssetResponse struct {
	Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// 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) ProtoMessage ¶
func (*ListAssetResponse) ProtoMessage()
func (*ListAssetResponse) ProtoReflect ¶
func (x *ListAssetResponse) ProtoReflect() protoreflect.Message
func (*ListAssetResponse) Reset ¶
func (x *ListAssetResponse) Reset()
func (*ListAssetResponse) String ¶
func (x *ListAssetResponse) String() string
type ListBalancesRequest ¶
type ListBalancesRequest struct {
	// Types that are assignable to GroupBy:
	//
	//	*ListBalancesRequest_AssetId
	//	*ListBalancesRequest_GroupKey
	GroupBy isListBalancesRequest_GroupBy `protobuf_oneof:"group_by"`
	// If the query results should grouped by asset ids, then an optional asset
	// filter may be provided to query balance of a specific asset.
	AssetFilter []byte `protobuf:"bytes,3,opt,name=asset_filter,json=assetFilter,proto3" json:"asset_filter,omitempty"`
	// If the query results should be grouped by group keys, then an optional
	// group key filter may be provided to query the balance of a specific
	// asset group.
	GroupKeyFilter []byte `protobuf:"bytes,4,opt,name=group_key_filter,json=groupKeyFilter,proto3" json:"group_key_filter,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ListBalancesRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListBalancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBalancesRequest.ProtoReflect.Descriptor instead.
func (*ListBalancesRequest) GetAssetFilter ¶
func (x *ListBalancesRequest) GetAssetFilter() []byte
func (*ListBalancesRequest) GetAssetId ¶
func (x *ListBalancesRequest) GetAssetId() bool
func (*ListBalancesRequest) GetGroupBy ¶
func (m *ListBalancesRequest) GetGroupBy() isListBalancesRequest_GroupBy
func (*ListBalancesRequest) GetGroupKey ¶
func (x *ListBalancesRequest) GetGroupKey() bool
func (*ListBalancesRequest) GetGroupKeyFilter ¶
func (x *ListBalancesRequest) GetGroupKeyFilter() []byte
func (*ListBalancesRequest) ProtoMessage ¶
func (*ListBalancesRequest) ProtoMessage()
func (*ListBalancesRequest) ProtoReflect ¶
func (x *ListBalancesRequest) ProtoReflect() protoreflect.Message
func (*ListBalancesRequest) Reset ¶
func (x *ListBalancesRequest) Reset()
func (*ListBalancesRequest) String ¶
func (x *ListBalancesRequest) String() string
type ListBalancesRequest_AssetId ¶
type ListBalancesRequest_AssetId struct {
	// Group results by asset IDs.
	AssetId bool `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3,oneof"`
}
    type ListBalancesRequest_GroupKey ¶
type ListBalancesRequest_GroupKey struct {
	// Group results by group keys.
	GroupKey bool `protobuf:"varint,2,opt,name=group_key,json=groupKey,proto3,oneof"`
}
    type ListBalancesResponse ¶
type ListBalancesResponse struct {
	AssetBalances      map[string]*AssetBalance      `` /* 188-byte string literal not displayed */
	AssetGroupBalances map[string]*AssetGroupBalance `` /* 205-byte string literal not displayed */
	// contains filtered or unexported fields
}
    
        
          
            func (*ListBalancesResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListBalancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBalancesResponse.ProtoReflect.Descriptor instead.
func (*ListBalancesResponse) GetAssetBalances ¶
func (x *ListBalancesResponse) GetAssetBalances() map[string]*AssetBalance
func (*ListBalancesResponse) GetAssetGroupBalances ¶
func (x *ListBalancesResponse) GetAssetGroupBalances() map[string]*AssetGroupBalance
func (*ListBalancesResponse) ProtoMessage ¶
func (*ListBalancesResponse) ProtoMessage()
func (*ListBalancesResponse) ProtoReflect ¶
func (x *ListBalancesResponse) ProtoReflect() protoreflect.Message
func (*ListBalancesResponse) Reset ¶
func (x *ListBalancesResponse) Reset()
func (*ListBalancesResponse) String ¶
func (x *ListBalancesResponse) String() string
type ListGroupsRequest ¶
type ListGroupsRequest struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ListGroupsRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) ProtoReflect ¶
func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListGroupsRequest) Reset ¶
func (x *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (x *ListGroupsRequest) String() string
type ListGroupsResponse ¶
type ListGroupsResponse struct {
	// The set of assets with a group key.
	Groups map[string]*GroupedAssets `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}
    
        
          
            func (*ListGroupsResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListGroupsResponse) GetGroups ¶
func (x *ListGroupsResponse) GetGroups() map[string]*GroupedAssets
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) ProtoReflect ¶
func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListGroupsResponse) Reset ¶
func (x *ListGroupsResponse) Reset()
func (*ListGroupsResponse) String ¶
func (x *ListGroupsResponse) String() string
type ListTransfersRequest ¶
type ListTransfersRequest struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*ListTransfersRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListTransfersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransfersRequest.ProtoReflect.Descriptor instead.
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 {
	// contains filtered or unexported fields
}
    
        
          
            func (*ListUtxosRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListUtxosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUtxosRequest.ProtoReflect.Descriptor instead.
func (*ListUtxosRequest) ProtoMessage ¶
func (*ListUtxosRequest) ProtoMessage()
func (*ListUtxosRequest) ProtoReflect ¶
func (x *ListUtxosRequest) ProtoReflect() protoreflect.Message
func (*ListUtxosRequest) Reset ¶
func (x *ListUtxosRequest) Reset()
func (*ListUtxosRequest) String ¶
func (x *ListUtxosRequest) String() string
type ListUtxosResponse ¶
type ListUtxosResponse struct {
	// The set of UTXOs managed by the daemon.
	ManagedUtxos map[string]*ManagedUtxo `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}
    
        
          
            func (*ListUtxosResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ListUtxosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUtxosResponse.ProtoReflect.Descriptor instead.
func (*ListUtxosResponse) GetManagedUtxos ¶
func (x *ListUtxosResponse) GetManagedUtxos() map[string]*ManagedUtxo
func (*ListUtxosResponse) ProtoMessage ¶
func (*ListUtxosResponse) ProtoMessage()
func (*ListUtxosResponse) ProtoReflect ¶
func (x *ListUtxosResponse) ProtoReflect() protoreflect.Message
func (*ListUtxosResponse) Reset ¶
func (x *ListUtxosResponse) Reset()
func (*ListUtxosResponse) String ¶
func (x *ListUtxosResponse) String() string
type ManagedUtxo ¶
type ManagedUtxo struct {
	// The outpoint of the UTXO.
	OutPoint string `protobuf:"bytes,1,opt,name=out_point,json=outPoint,proto3" json:"out_point,omitempty"`
	// The UTXO amount in satoshis.
	AmtSat int64 `protobuf:"varint,2,opt,name=amt_sat,json=amtSat,proto3" json:"amt_sat,omitempty"`
	// The internal key used for the on-chain output.
	InternalKey []byte `protobuf:"bytes,3,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The Taproot Asset root commitment hash.
	TaprootAssetRoot []byte `protobuf:"bytes,4,opt,name=taproot_asset_root,json=taprootAssetRoot,proto3" json:"taproot_asset_root,omitempty"`
	// The Taproot merkle root hash committed to by the outpoint of this UTXO.
	// If there is no Tapscript sibling, this is equal to the Taproot Asset root
	// commitment hash.
	MerkleRoot []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	// The assets held at this UTXO.
	Assets []*Asset `protobuf:"bytes,6,rep,name=assets,proto3" json:"assets,omitempty"`
	// 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) GetMerkleRoot ¶
func (x *ManagedUtxo) GetMerkleRoot() []byte
func (*ManagedUtxo) GetOutPoint ¶
func (x *ManagedUtxo) GetOutPoint() string
func (*ManagedUtxo) GetTaprootAssetRoot ¶
func (x *ManagedUtxo) GetTaprootAssetRoot() []byte
func (*ManagedUtxo) ProtoMessage ¶
func (*ManagedUtxo) ProtoMessage()
func (*ManagedUtxo) ProtoReflect ¶
func (x *ManagedUtxo) ProtoReflect() protoreflect.Message
func (*ManagedUtxo) Reset ¶
func (x *ManagedUtxo) Reset()
func (*ManagedUtxo) String ¶
func (x *ManagedUtxo) String() string
type NewAddrRequest ¶
type NewAddrRequest struct {
	AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	Amt     uint64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"`
	// The optional script key that the receiving asset should be locked to. If no
	// script key is provided, a normal BIP-86 key will be derived from the
	// underlying wallet.
	//
	// NOTE: The script_key and internal_key fields should either both be set or
	// both be empty.
	ScriptKey *ScriptKey `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The optional internal key of the receiving BTC level transaction output on
	// which the receiving asset transfers will be committed to. If no internal key
	// is provided, a key will be derived from the underlying wallet.
	//
	// NOTE: The script_key and internal_key fields should either both be set or
	// both be empty.
	InternalKey *KeyDescriptor `protobuf:"bytes,4,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	// The optional serialized tapscript sibling preimage to use for the receiving
	// asset. This is usually empty as it is only needed when there should be an
	// additional script path in the Taproot tree alongside the Taproot Asset
	// commitment of the asset.
	TapscriptSibling []byte `protobuf:"bytes,5,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*NewAddrRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*NewAddrRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewAddrRequest.ProtoReflect.Descriptor instead.
func (*NewAddrRequest) GetAmt ¶
func (x *NewAddrRequest) GetAmt() uint64
func (*NewAddrRequest) GetAssetId ¶
func (x *NewAddrRequest) GetAssetId() []byte
func (*NewAddrRequest) GetInternalKey ¶
func (x *NewAddrRequest) GetInternalKey() *KeyDescriptor
func (*NewAddrRequest) GetScriptKey ¶
func (x *NewAddrRequest) GetScriptKey() *ScriptKey
func (*NewAddrRequest) GetTapscriptSibling ¶
func (x *NewAddrRequest) GetTapscriptSibling() []byte
func (*NewAddrRequest) ProtoMessage ¶
func (*NewAddrRequest) ProtoMessage()
func (*NewAddrRequest) ProtoReflect ¶
func (x *NewAddrRequest) ProtoReflect() protoreflect.Message
func (*NewAddrRequest) Reset ¶
func (x *NewAddrRequest) Reset()
func (*NewAddrRequest) String ¶
func (x *NewAddrRequest) String() string
type 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 // OUTPUT_TYPE_PASSIVE_ASSETS_ONLY indicates that this output only carries // passive assets and therefore the asset in this output is nil. The passive // assets themselves are signed in their own virtual transactions and // are not present in this packet. OutputType_OUTPUT_TYPE_PASSIVE_ASSETS_ONLY OutputType = 2 // OUTPUT_TYPE_PASSIVE_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, as well as passive assets. OutputType_OUTPUT_TYPE_PASSIVE_SPLIT_ROOT OutputType = 3 )
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 ¶
func (OutputType) Type() protoreflect.EnumType
type PrevInputAsset ¶
type PrevInputAsset struct {
	AnchorPoint string `protobuf:"bytes,1,opt,name=anchor_point,json=anchorPoint,proto3" json:"anchor_point,omitempty"`
	AssetId     []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	ScriptKey   []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	Amount      uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PrevInputAsset) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PrevInputAsset) Descriptor() ([]byte, []int)
Deprecated: Use PrevInputAsset.ProtoReflect.Descriptor instead.
func (*PrevInputAsset) GetAmount ¶
func (x *PrevInputAsset) GetAmount() uint64
func (*PrevInputAsset) GetAnchorPoint ¶
func (x *PrevInputAsset) GetAnchorPoint() string
func (*PrevInputAsset) GetAssetId ¶
func (x *PrevInputAsset) GetAssetId() []byte
func (*PrevInputAsset) GetScriptKey ¶
func (x *PrevInputAsset) GetScriptKey() []byte
func (*PrevInputAsset) ProtoMessage ¶
func (*PrevInputAsset) ProtoMessage()
func (*PrevInputAsset) ProtoReflect ¶
func (x *PrevInputAsset) ProtoReflect() protoreflect.Message
func (*PrevInputAsset) Reset ¶
func (x *PrevInputAsset) Reset()
func (*PrevInputAsset) String ¶
func (x *PrevInputAsset) String() string
type PrevWitness ¶
type PrevWitness struct {
	PrevId          *PrevInputAsset  `protobuf:"bytes,1,opt,name=prev_id,json=prevId,proto3" json:"prev_id,omitempty"`
	TxWitness       [][]byte         `protobuf:"bytes,2,rep,name=tx_witness,json=txWitness,proto3" json:"tx_witness,omitempty"`
	SplitCommitment *SplitCommitment `protobuf:"bytes,3,opt,name=split_commitment,json=splitCommitment,proto3" json:"split_commitment,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*PrevWitness) Descriptor
            deprecated
            
          
  
    
  
      
      func (*PrevWitness) Descriptor() ([]byte, []int)
Deprecated: Use PrevWitness.ProtoReflect.Descriptor instead.
func (*PrevWitness) GetPrevId ¶
func (x *PrevWitness) GetPrevId() *PrevInputAsset
func (*PrevWitness) GetSplitCommitment ¶
func (x *PrevWitness) GetSplitCommitment() *SplitCommitment
func (*PrevWitness) GetTxWitness ¶
func (x *PrevWitness) GetTxWitness() [][]byte
func (*PrevWitness) ProtoMessage ¶
func (*PrevWitness) ProtoMessage()
func (*PrevWitness) ProtoReflect ¶
func (x *PrevWitness) ProtoReflect() protoreflect.Message
func (*PrevWitness) Reset ¶
func (x *PrevWitness) Reset()
func (*PrevWitness) String ¶
func (x *PrevWitness) String() string
type ProofFile ¶
type ProofFile struct {
	RawProof     []byte `protobuf:"bytes,1,opt,name=raw_proof,json=rawProof,proto3" json:"raw_proof,omitempty"`
	GenesisPoint string `protobuf:"bytes,2,opt,name=genesis_point,json=genesisPoint,proto3" json:"genesis_point,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ProofFile) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*ProofFile) GetGenesisPoint ¶
func (*ProofFile) GetRawProof ¶
func (*ProofFile) ProtoMessage ¶
func (*ProofFile) ProtoMessage()
func (*ProofFile) ProtoReflect ¶
func (x *ProofFile) ProtoReflect() protoreflect.Message
type ProofVerifyResponse ¶
type ProofVerifyResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ProofVerifyResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ProofVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProofVerifyResponse.ProtoReflect.Descriptor instead.
func (*ProofVerifyResponse) GetValid ¶
func (x *ProofVerifyResponse) GetValid() bool
func (*ProofVerifyResponse) ProtoMessage ¶
func (*ProofVerifyResponse) ProtoMessage()
func (*ProofVerifyResponse) ProtoReflect ¶
func (x *ProofVerifyResponse) ProtoReflect() protoreflect.Message
func (*ProofVerifyResponse) Reset ¶
func (x *ProofVerifyResponse) Reset()
func (*ProofVerifyResponse) String ¶
func (x *ProofVerifyResponse) String() string
type QueryAddrRequest ¶
type QueryAddrRequest struct {
	// If set, then only addresses created after this Unix timestamp will be
	// returned.
	CreatedAfter int64 `protobuf:"varint,1,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"`
	// If set, then only addresses created before this Unix timestamp will be
	// returned.
	CreatedBefore int64 `protobuf:"varint,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	// The max number of addresses that should be returned.
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// The offset from the addresses that should be returned.
	Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*QueryAddrRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*QueryAddrRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAddrRequest.ProtoReflect.Descriptor instead.
func (*QueryAddrRequest) GetCreatedAfter ¶
func (x *QueryAddrRequest) GetCreatedAfter() int64
func (*QueryAddrRequest) GetCreatedBefore ¶
func (x *QueryAddrRequest) GetCreatedBefore() int64
func (*QueryAddrRequest) GetLimit ¶
func (x *QueryAddrRequest) GetLimit() int32
func (*QueryAddrRequest) GetOffset ¶
func (x *QueryAddrRequest) GetOffset() int32
func (*QueryAddrRequest) ProtoMessage ¶
func (*QueryAddrRequest) ProtoMessage()
func (*QueryAddrRequest) ProtoReflect ¶
func (x *QueryAddrRequest) ProtoReflect() protoreflect.Message
func (*QueryAddrRequest) Reset ¶
func (x *QueryAddrRequest) Reset()
func (*QueryAddrRequest) String ¶
func (x *QueryAddrRequest) String() string
type QueryAddrResponse ¶
type QueryAddrResponse struct {
	Addrs []*Addr `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*QueryAddrResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*QueryAddrResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAddrResponse.ProtoReflect.Descriptor instead.
func (*QueryAddrResponse) GetAddrs ¶
func (x *QueryAddrResponse) GetAddrs() []*Addr
func (*QueryAddrResponse) ProtoMessage ¶
func (*QueryAddrResponse) ProtoMessage()
func (*QueryAddrResponse) ProtoReflect ¶
func (x *QueryAddrResponse) ProtoReflect() protoreflect.Message
func (*QueryAddrResponse) Reset ¶
func (x *QueryAddrResponse) Reset()
func (*QueryAddrResponse) String ¶
func (x *QueryAddrResponse) String() string
type ReceiverProofBackoffWaitEvent ¶
type ReceiverProofBackoffWaitEvent struct {
	// Transfer attempt timestamp (microseconds).
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Backoff is the active backoff wait duration.
	Backoff int64 `protobuf:"varint,2,opt,name=backoff,proto3" json:"backoff,omitempty"`
	// Tries counter is the number of tries we've made so far during the
	// course of the current backoff procedure to deliver the proof to the
	// receiver.
	TriesCounter int64 `protobuf:"varint,3,opt,name=tries_counter,json=triesCounter,proto3" json:"tries_counter,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ReceiverProofBackoffWaitEvent) Descriptor
            deprecated
            
          
  
    
  
      
      func (*ReceiverProofBackoffWaitEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReceiverProofBackoffWaitEvent.ProtoReflect.Descriptor instead.
func (*ReceiverProofBackoffWaitEvent) GetBackoff ¶
func (x *ReceiverProofBackoffWaitEvent) GetBackoff() int64
func (*ReceiverProofBackoffWaitEvent) GetTimestamp ¶
func (x *ReceiverProofBackoffWaitEvent) GetTimestamp() int64
func (*ReceiverProofBackoffWaitEvent) GetTriesCounter ¶
func (x *ReceiverProofBackoffWaitEvent) GetTriesCounter() int64
func (*ReceiverProofBackoffWaitEvent) ProtoMessage ¶
func (*ReceiverProofBackoffWaitEvent) ProtoMessage()
func (*ReceiverProofBackoffWaitEvent) ProtoReflect ¶
func (x *ReceiverProofBackoffWaitEvent) ProtoReflect() protoreflect.Message
func (*ReceiverProofBackoffWaitEvent) Reset ¶
func (x *ReceiverProofBackoffWaitEvent) Reset()
func (*ReceiverProofBackoffWaitEvent) String ¶
func (x *ReceiverProofBackoffWaitEvent) String() string
type ScriptKey ¶
type ScriptKey struct {
	// The full Taproot output key the asset is locked to. This is either a BIP-86
	// key if the tap_tweak below is empty, or a key with the tap tweak applied to
	// it.
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// The key descriptor describing the internal key of the above Taproot key.
	KeyDesc *KeyDescriptor `protobuf:"bytes,2,opt,name=key_desc,json=keyDesc,proto3" json:"key_desc,omitempty"`
	// The optional Taproot tweak to apply to the above internal key. If this is
	// empty then a BIP-86 style tweak is applied to the internal key.
	TapTweak []byte `protobuf:"bytes,3,opt,name=tap_tweak,json=tapTweak,proto3" json:"tap_tweak,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*ScriptKey) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*ScriptKey) GetKeyDesc ¶
func (x *ScriptKey) GetKeyDesc() *KeyDescriptor
func (*ScriptKey) GetTapTweak ¶
func (*ScriptKey) ProtoMessage ¶
func (*ScriptKey) ProtoMessage()
func (*ScriptKey) ProtoReflect ¶
func (x *ScriptKey) ProtoReflect() protoreflect.Message
type SendAssetEvent ¶
type SendAssetEvent struct {
	// Types that are assignable to Event:
	//
	//	*SendAssetEvent_ExecuteSendStateEvent
	//	*SendAssetEvent_ReceiverProofBackoffWaitEvent
	Event isSendAssetEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SendAssetEvent) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendAssetEvent) Descriptor() ([]byte, []int)
Deprecated: Use SendAssetEvent.ProtoReflect.Descriptor instead.
func (*SendAssetEvent) GetEvent ¶
func (m *SendAssetEvent) GetEvent() isSendAssetEvent_Event
func (*SendAssetEvent) GetExecuteSendStateEvent ¶
func (x *SendAssetEvent) GetExecuteSendStateEvent() *ExecuteSendStateEvent
func (*SendAssetEvent) GetReceiverProofBackoffWaitEvent ¶
func (x *SendAssetEvent) GetReceiverProofBackoffWaitEvent() *ReceiverProofBackoffWaitEvent
func (*SendAssetEvent) ProtoMessage ¶
func (*SendAssetEvent) ProtoMessage()
func (*SendAssetEvent) ProtoReflect ¶
func (x *SendAssetEvent) ProtoReflect() protoreflect.Message
func (*SendAssetEvent) Reset ¶
func (x *SendAssetEvent) Reset()
func (*SendAssetEvent) String ¶
func (x *SendAssetEvent) String() string
type SendAssetEvent_ExecuteSendStateEvent ¶
type SendAssetEvent_ExecuteSendStateEvent struct {
	// An event which indicates that a send state is about to be executed.
	ExecuteSendStateEvent *ExecuteSendStateEvent `protobuf:"bytes,1,opt,name=execute_send_state_event,json=executeSendStateEvent,proto3,oneof"`
}
    type SendAssetEvent_ReceiverProofBackoffWaitEvent ¶
type SendAssetEvent_ReceiverProofBackoffWaitEvent struct {
	// An event which indicates that the proof send backoff wait period will
	// start imminently.
	ReceiverProofBackoffWaitEvent *ReceiverProofBackoffWaitEvent `protobuf:"bytes,2,opt,name=receiver_proof_backoff_wait_event,json=receiverProofBackoffWaitEvent,proto3,oneof"`
}
    type SendAssetRequest ¶
type SendAssetRequest struct {
	TapAddrs []string `protobuf:"bytes,1,rep,name=tap_addrs,json=tapAddrs,proto3" json:"tap_addrs,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SendAssetRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendAssetRequest.ProtoReflect.Descriptor instead.
func (*SendAssetRequest) GetTapAddrs ¶
func (x *SendAssetRequest) GetTapAddrs() []string
func (*SendAssetRequest) ProtoMessage ¶
func (*SendAssetRequest) ProtoMessage()
func (*SendAssetRequest) ProtoReflect ¶
func (x *SendAssetRequest) ProtoReflect() protoreflect.Message
func (*SendAssetRequest) Reset ¶
func (x *SendAssetRequest) Reset()
func (*SendAssetRequest) String ¶
func (x *SendAssetRequest) String() string
type SendAssetResponse ¶
type SendAssetResponse struct {
	Transfer *AssetTransfer `protobuf:"bytes,1,opt,name=transfer,proto3" json:"transfer,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SendAssetResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SendAssetResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendAssetResponse.ProtoReflect.Descriptor instead.
func (*SendAssetResponse) GetTransfer ¶
func (x *SendAssetResponse) GetTransfer() *AssetTransfer
func (*SendAssetResponse) ProtoMessage ¶
func (*SendAssetResponse) ProtoMessage()
func (*SendAssetResponse) ProtoReflect ¶
func (x *SendAssetResponse) ProtoReflect() protoreflect.Message
func (*SendAssetResponse) Reset ¶
func (x *SendAssetResponse) Reset()
func (*SendAssetResponse) String ¶
func (x *SendAssetResponse) String() string
type SplitCommitment ¶
type SplitCommitment struct {
	RootAsset *Asset `protobuf:"bytes,1,opt,name=root_asset,json=rootAsset,proto3" json:"root_asset,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*SplitCommitment) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SplitCommitment) Descriptor() ([]byte, []int)
Deprecated: Use SplitCommitment.ProtoReflect.Descriptor instead.
func (*SplitCommitment) GetRootAsset ¶
func (x *SplitCommitment) GetRootAsset() *Asset
func (*SplitCommitment) ProtoMessage ¶
func (*SplitCommitment) ProtoMessage()
func (*SplitCommitment) ProtoReflect ¶
func (x *SplitCommitment) ProtoReflect() protoreflect.Message
func (*SplitCommitment) Reset ¶
func (x *SplitCommitment) Reset()
func (*SplitCommitment) String ¶
func (x *SplitCommitment) String() string
type StopRequest ¶
type StopRequest struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*StopRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type StopResponse ¶
type StopResponse struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*StopResponse) Descriptor
            deprecated
            
          
  
    
  
      
      func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string
type SubscribeSendAssetEventNtfnsRequest ¶
type SubscribeSendAssetEventNtfnsRequest struct {
	// contains filtered or unexported fields
}
    
        
          
            func (*SubscribeSendAssetEventNtfnsRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*SubscribeSendAssetEventNtfnsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeSendAssetEventNtfnsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeSendAssetEventNtfnsRequest) ProtoMessage ¶
func (*SubscribeSendAssetEventNtfnsRequest) ProtoMessage()
func (*SubscribeSendAssetEventNtfnsRequest) ProtoReflect ¶
func (x *SubscribeSendAssetEventNtfnsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeSendAssetEventNtfnsRequest) Reset ¶
func (x *SubscribeSendAssetEventNtfnsRequest) Reset()
func (*SubscribeSendAssetEventNtfnsRequest) String ¶
func (x *SubscribeSendAssetEventNtfnsRequest) String() string
type TaprootAssetsClient ¶
type TaprootAssetsClient interface {
	// tapcli: `assets list`
	// ListAssets lists the set of assets owned by the target daemon.
	ListAssets(ctx context.Context, in *ListAssetRequest, opts ...grpc.CallOption) (*ListAssetResponse, error)
	// tapcli: `assets utxos`
	// ListUtxos lists the UTXOs managed by the target daemon, and the assets they
	// hold.
	ListUtxos(ctx context.Context, in *ListUtxosRequest, opts ...grpc.CallOption) (*ListUtxosResponse, error)
	// tapcli: `assets groups`
	// ListGroups lists the asset groups known to the target daemon, and the assets
	// held in each group.
	ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// tapcli: `assets balance`
	// ListBalances lists asset balances
	ListBalances(ctx context.Context, in *ListBalancesRequest, opts ...grpc.CallOption) (*ListBalancesResponse, error)
	// tapcli: `assets transfers`
	// ListTransfers lists outbound asset transfers tracked by the target daemon.
	ListTransfers(ctx context.Context, in *ListTransfersRequest, opts ...grpc.CallOption) (*ListTransfersResponse, error)
	// tapcli: `stop`
	// StopDaemon will send a shutdown request to the interrupt handler, triggering
	// a graceful shutdown of the daemon.
	StopDaemon(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
	// tapcli: `debuglevel`
	// DebugLevel allows a caller to programmatically set the logging verbosity of
	// tapd. The logging can be targeted according to a coarse daemon-wide logging
	// level, or in a granular fashion to specify the logging for a target
	// sub-system.
	DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error)
	// tapcli: `addrs query`
	// QueryAddrs queries the set of Taproot Asset addresses stored in the
	// database.
	QueryAddrs(ctx context.Context, in *QueryAddrRequest, opts ...grpc.CallOption) (*QueryAddrResponse, error)
	// tapcli: `addrs new`
	// NewAddr makes a new address from the set of request params.
	NewAddr(ctx context.Context, in *NewAddrRequest, opts ...grpc.CallOption) (*Addr, error)
	// tapcli: `addrs decode`
	// DecodeAddr decode a Taproot Asset address into a partial asset message that
	// represents the asset it wants to receive.
	DecodeAddr(ctx context.Context, in *DecodeAddrRequest, opts ...grpc.CallOption) (*Addr, error)
	// tapcli: `addrs receives`
	// List all receives for incoming asset transfers for addresses that were
	// created previously.
	AddrReceives(ctx context.Context, in *AddrReceivesRequest, opts ...grpc.CallOption) (*AddrReceivesResponse, error)
	// tapcli: `proofs verify`
	// VerifyProof attempts to verify a given proof file that claims to be anchored
	// at the specified genesis point.
	VerifyProof(ctx context.Context, in *ProofFile, opts ...grpc.CallOption) (*ProofVerifyResponse, 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 import`
	// ImportProof attempts to import a proof file into the daemon. If successful,
	// a new asset will be inserted on disk, spendable using the specified target
	// script key, and internal key.
	ImportProof(ctx context.Context, in *ImportProofRequest, opts ...grpc.CallOption) (*ImportProofResponse, 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)
	// SubscribeSendAssetEventNtfns registers a subscription to the event
	// notification stream which relates to the asset sending process.
	SubscribeSendAssetEventNtfns(ctx context.Context, in *SubscribeSendAssetEventNtfnsRequest, opts ...grpc.CallOption) (TaprootAssets_SubscribeSendAssetEventNtfnsClient, error)
	// FetchAssetMeta allows a caller to fetch the reveal meta data for an asset
	// either by the asset ID for that asset, or a meta hash.
	FetchAssetMeta(ctx context.Context, in *FetchAssetMetaRequest, opts ...grpc.CallOption) (*AssetMeta, error)
}
    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.
func NewTaprootAssetsClient ¶
func NewTaprootAssetsClient(cc grpc.ClientConnInterface) TaprootAssetsClient
type TaprootAssetsServer ¶
type TaprootAssetsServer interface {
	// tapcli: `assets list`
	// ListAssets lists the set of assets owned by the target daemon.
	ListAssets(context.Context, *ListAssetRequest) (*ListAssetResponse, error)
	// tapcli: `assets utxos`
	// ListUtxos lists the UTXOs managed by the target daemon, and the assets they
	// hold.
	ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
	// tapcli: `assets groups`
	// ListGroups lists the asset groups known to the target daemon, and the assets
	// held in each group.
	ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
	// tapcli: `assets balance`
	// ListBalances lists asset balances
	ListBalances(context.Context, *ListBalancesRequest) (*ListBalancesResponse, error)
	// tapcli: `assets transfers`
	// ListTransfers lists outbound asset transfers tracked by the target daemon.
	ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error)
	// tapcli: `stop`
	// StopDaemon will send a shutdown request to the interrupt handler, triggering
	// a graceful shutdown of the daemon.
	StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
	// tapcli: `debuglevel`
	// DebugLevel allows a caller to programmatically set the logging verbosity of
	// tapd. The logging can be targeted according to a coarse daemon-wide logging
	// level, or in a granular fashion to specify the logging for a target
	// sub-system.
	DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
	// tapcli: `addrs query`
	// QueryAddrs queries the set of Taproot Asset addresses stored in the
	// database.
	QueryAddrs(context.Context, *QueryAddrRequest) (*QueryAddrResponse, error)
	// tapcli: `addrs new`
	// NewAddr makes a new address from the set of request params.
	NewAddr(context.Context, *NewAddrRequest) (*Addr, error)
	// tapcli: `addrs decode`
	// DecodeAddr decode a Taproot Asset address into a partial asset message that
	// represents the asset it wants to receive.
	DecodeAddr(context.Context, *DecodeAddrRequest) (*Addr, error)
	// tapcli: `addrs receives`
	// List all receives for incoming asset transfers for addresses that were
	// created previously.
	AddrReceives(context.Context, *AddrReceivesRequest) (*AddrReceivesResponse, error)
	// tapcli: `proofs verify`
	// VerifyProof attempts to verify a given proof file that claims to be anchored
	// at the specified genesis point.
	VerifyProof(context.Context, *ProofFile) (*ProofVerifyResponse, 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 import`
	// ImportProof attempts to import a proof file into the daemon. If successful,
	// a new asset will be inserted on disk, spendable using the specified target
	// script key, and internal key.
	ImportProof(context.Context, *ImportProofRequest) (*ImportProofResponse, 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)
	// SubscribeSendAssetEventNtfns registers a subscription to the event
	// notification stream which relates to the asset sending process.
	SubscribeSendAssetEventNtfns(*SubscribeSendAssetEventNtfnsRequest, TaprootAssets_SubscribeSendAssetEventNtfnsServer) error
	// FetchAssetMeta allows a caller to fetch the reveal meta data for an asset
	// either by the asset ID for that asset, or a meta hash.
	FetchAssetMeta(context.Context, *FetchAssetMetaRequest) (*AssetMeta, error)
	// contains filtered or unexported methods
}
    TaprootAssetsServer is the server API for TaprootAssets service. All implementations must embed UnimplementedTaprootAssetsServer for forward compatibility
type TaprootAssets_SubscribeSendAssetEventNtfnsClient ¶
type TaprootAssets_SubscribeSendAssetEventNtfnsClient interface {
	Recv() (*SendAssetEvent, error)
	grpc.ClientStream
}
    type TaprootAssets_SubscribeSendAssetEventNtfnsServer ¶
type TaprootAssets_SubscribeSendAssetEventNtfnsServer interface {
	Send(*SendAssetEvent) error
	grpc.ServerStream
}
    type TransferInput ¶
type TransferInput struct {
	// The old/current location of the Taproot Asset commitment that was spent
	// as an input.
	AnchorPoint string `protobuf:"bytes,1,opt,name=anchor_point,json=anchorPoint,proto3" json:"anchor_point,omitempty"`
	// The ID of the asset that was spent.
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// The script key of the asset that was spent.
	ScriptKey []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	// The amount of the asset that was spent.
	Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*TransferInput) Descriptor
            deprecated
            
          
  
    
  
      
      func (*TransferInput) Descriptor() ([]byte, []int)
Deprecated: Use TransferInput.ProtoReflect.Descriptor instead.
func (*TransferInput) GetAmount ¶
func (x *TransferInput) GetAmount() uint64
func (*TransferInput) GetAnchorPoint ¶
func (x *TransferInput) GetAnchorPoint() string
func (*TransferInput) GetAssetId ¶
func (x *TransferInput) GetAssetId() []byte
func (*TransferInput) GetScriptKey ¶
func (x *TransferInput) GetScriptKey() []byte
func (*TransferInput) ProtoMessage ¶
func (*TransferInput) ProtoMessage()
func (*TransferInput) ProtoReflect ¶
func (x *TransferInput) ProtoReflect() protoreflect.Message
func (*TransferInput) Reset ¶
func (x *TransferInput) Reset()
func (*TransferInput) String ¶
func (x *TransferInput) String() string
type TransferOutput ¶
type TransferOutput struct {
	Anchor              *TransferOutputAnchor `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"`
	ScriptKey           []byte                `protobuf:"bytes,2,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"`
	ScriptKeyIsLocal    bool                  `protobuf:"varint,3,opt,name=script_key_is_local,json=scriptKeyIsLocal,proto3" json:"script_key_is_local,omitempty"`
	Amount              uint64                `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	NewProofBlob        []byte                `protobuf:"bytes,5,opt,name=new_proof_blob,json=newProofBlob,proto3" json:"new_proof_blob,omitempty"`
	SplitCommitRootHash []byte                `protobuf:"bytes,6,opt,name=split_commit_root_hash,json=splitCommitRootHash,proto3" json:"split_commit_root_hash,omitempty"`
	OutputType          OutputType            `protobuf:"varint,7,opt,name=output_type,json=outputType,proto3,enum=taprpc.OutputType" json:"output_type,omitempty"`
	// 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) GetNewProofBlob ¶
func (x *TransferOutput) GetNewProofBlob() []byte
func (*TransferOutput) GetOutputType ¶
func (x *TransferOutput) GetOutputType() OutputType
func (*TransferOutput) GetScriptKey ¶
func (x *TransferOutput) GetScriptKey() []byte
func (*TransferOutput) GetScriptKeyIsLocal ¶
func (x *TransferOutput) GetScriptKeyIsLocal() bool
func (*TransferOutput) GetSplitCommitRootHash ¶
func (x *TransferOutput) GetSplitCommitRootHash() []byte
func (*TransferOutput) ProtoMessage ¶
func (*TransferOutput) ProtoMessage()
func (*TransferOutput) ProtoReflect ¶
func (x *TransferOutput) ProtoReflect() protoreflect.Message
func (*TransferOutput) Reset ¶
func (x *TransferOutput) Reset()
func (*TransferOutput) String ¶
func (x *TransferOutput) String() string
type TransferOutputAnchor ¶
type TransferOutputAnchor struct {
	// The new location of the Taproot Asset commitment that was created on
	// chain.
	Outpoint         string `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	Value            int64  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	InternalKey      []byte `protobuf:"bytes,3,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"`
	TaprootAssetRoot []byte `protobuf:"bytes,4,opt,name=taproot_asset_root,json=taprootAssetRoot,proto3" json:"taproot_asset_root,omitempty"`
	MerkleRoot       []byte `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	TapscriptSibling []byte `protobuf:"bytes,6,opt,name=tapscript_sibling,json=tapscriptSibling,proto3" json:"tapscript_sibling,omitempty"`
	NumPassiveAssets uint32 `protobuf:"varint,7,opt,name=num_passive_assets,json=numPassiveAssets,proto3" json:"num_passive_assets,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*TransferOutputAnchor) Descriptor
            deprecated
            
          
  
    
  
      
      func (*TransferOutputAnchor) Descriptor() ([]byte, []int)
Deprecated: Use TransferOutputAnchor.ProtoReflect.Descriptor instead.
func (*TransferOutputAnchor) GetInternalKey ¶
func (x *TransferOutputAnchor) GetInternalKey() []byte
func (*TransferOutputAnchor) GetMerkleRoot ¶
func (x *TransferOutputAnchor) GetMerkleRoot() []byte
func (*TransferOutputAnchor) GetNumPassiveAssets ¶
func (x *TransferOutputAnchor) GetNumPassiveAssets() uint32
func (*TransferOutputAnchor) GetOutpoint ¶
func (x *TransferOutputAnchor) GetOutpoint() string
func (*TransferOutputAnchor) GetTaprootAssetRoot ¶
func (x *TransferOutputAnchor) GetTaprootAssetRoot() []byte
func (*TransferOutputAnchor) GetTapscriptSibling ¶
func (x *TransferOutputAnchor) GetTapscriptSibling() []byte
func (*TransferOutputAnchor) GetValue ¶
func (x *TransferOutputAnchor) GetValue() int64
func (*TransferOutputAnchor) ProtoMessage ¶
func (*TransferOutputAnchor) ProtoMessage()
func (*TransferOutputAnchor) ProtoReflect ¶
func (x *TransferOutputAnchor) ProtoReflect() protoreflect.Message
func (*TransferOutputAnchor) Reset ¶
func (x *TransferOutputAnchor) Reset()
func (*TransferOutputAnchor) String ¶
func (x *TransferOutputAnchor) String() string
type UnimplementedTaprootAssetsServer ¶
type UnimplementedTaprootAssetsServer struct {
}
    UnimplementedTaprootAssetsServer must be embedded to have forward compatible implementations.
func (UnimplementedTaprootAssetsServer) AddrReceives ¶
func (UnimplementedTaprootAssetsServer) AddrReceives(context.Context, *AddrReceivesRequest) (*AddrReceivesResponse, error)
func (UnimplementedTaprootAssetsServer) DebugLevel ¶
func (UnimplementedTaprootAssetsServer) DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
func (UnimplementedTaprootAssetsServer) DecodeAddr ¶
func (UnimplementedTaprootAssetsServer) DecodeAddr(context.Context, *DecodeAddrRequest) (*Addr, error)
func (UnimplementedTaprootAssetsServer) ExportProof ¶
func (UnimplementedTaprootAssetsServer) ExportProof(context.Context, *ExportProofRequest) (*ProofFile, error)
func (UnimplementedTaprootAssetsServer) FetchAssetMeta ¶
func (UnimplementedTaprootAssetsServer) FetchAssetMeta(context.Context, *FetchAssetMetaRequest) (*AssetMeta, error)
func (UnimplementedTaprootAssetsServer) ImportProof ¶
func (UnimplementedTaprootAssetsServer) ImportProof(context.Context, *ImportProofRequest) (*ImportProofResponse, error)
func (UnimplementedTaprootAssetsServer) ListAssets ¶
func (UnimplementedTaprootAssetsServer) ListAssets(context.Context, *ListAssetRequest) (*ListAssetResponse, error)
func (UnimplementedTaprootAssetsServer) ListBalances ¶
func (UnimplementedTaprootAssetsServer) ListBalances(context.Context, *ListBalancesRequest) (*ListBalancesResponse, error)
func (UnimplementedTaprootAssetsServer) ListGroups ¶
func (UnimplementedTaprootAssetsServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
func (UnimplementedTaprootAssetsServer) ListTransfers ¶
func (UnimplementedTaprootAssetsServer) ListTransfers(context.Context, *ListTransfersRequest) (*ListTransfersResponse, error)
func (UnimplementedTaprootAssetsServer) ListUtxos ¶
func (UnimplementedTaprootAssetsServer) ListUtxos(context.Context, *ListUtxosRequest) (*ListUtxosResponse, error)
func (UnimplementedTaprootAssetsServer) NewAddr ¶
func (UnimplementedTaprootAssetsServer) NewAddr(context.Context, *NewAddrRequest) (*Addr, error)
func (UnimplementedTaprootAssetsServer) QueryAddrs ¶
func (UnimplementedTaprootAssetsServer) QueryAddrs(context.Context, *QueryAddrRequest) (*QueryAddrResponse, error)
func (UnimplementedTaprootAssetsServer) SendAsset ¶
func (UnimplementedTaprootAssetsServer) SendAsset(context.Context, *SendAssetRequest) (*SendAssetResponse, error)
func (UnimplementedTaprootAssetsServer) StopDaemon ¶
func (UnimplementedTaprootAssetsServer) StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
func (UnimplementedTaprootAssetsServer) SubscribeSendAssetEventNtfns ¶
func (UnimplementedTaprootAssetsServer) SubscribeSendAssetEventNtfns(*SubscribeSendAssetEventNtfnsRequest, TaprootAssets_SubscribeSendAssetEventNtfnsServer) error
func (UnimplementedTaprootAssetsServer) VerifyProof ¶
func (UnimplementedTaprootAssetsServer) VerifyProof(context.Context, *ProofFile) (*ProofVerifyResponse, error)
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.
       Source Files
      ¶
      Source Files
      ¶
    
  
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package assetwalletrpc is a reverse proxy. | Package assetwalletrpc is a reverse proxy. | 
| Package mintrpc is a reverse proxy. | Package mintrpc is a reverse proxy. | 
| Package universerpc is a reverse proxy. | Package universerpc is a reverse proxy. |