Documentation ¶
Overview ¶
Package assetwalletrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAssetWalletHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAssetWalletHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AssetWalletClient) error
- func RegisterAssetWalletHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAssetWalletHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AssetWalletServer) error
- func RegisterAssetWalletJSONCallbacks(...)
- func RegisterAssetWalletServer(s grpc.ServiceRegistrar, srv AssetWalletServer)
- type AnchorVirtualPsbtsRequest
- func (*AnchorVirtualPsbtsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnchorVirtualPsbtsRequest) GetVirtualPsbts() [][]byte
- func (*AnchorVirtualPsbtsRequest) ProtoMessage()
- func (x *AnchorVirtualPsbtsRequest) ProtoReflect() protoreflect.Message
- func (x *AnchorVirtualPsbtsRequest) Reset()
- func (x *AnchorVirtualPsbtsRequest) String() string
- type AssetWalletClient
- type AssetWalletServer
- type CommitVirtualPsbtsRequest
- func (*CommitVirtualPsbtsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitVirtualPsbtsRequest) GetAdd() bool
- func (m *CommitVirtualPsbtsRequest) GetAnchorChangeOutput() isCommitVirtualPsbtsRequest_AnchorChangeOutput
- func (x *CommitVirtualPsbtsRequest) GetAnchorPsbt() []byte
- func (x *CommitVirtualPsbtsRequest) GetExistingOutputIndex() int32
- func (m *CommitVirtualPsbtsRequest) GetFees() isCommitVirtualPsbtsRequest_Fees
- func (x *CommitVirtualPsbtsRequest) GetPassiveAssetPsbts() [][]byte
- func (x *CommitVirtualPsbtsRequest) GetSatPerVbyte() uint64
- func (x *CommitVirtualPsbtsRequest) GetTargetConf() uint32
- func (x *CommitVirtualPsbtsRequest) GetVirtualPsbts() [][]byte
- func (*CommitVirtualPsbtsRequest) ProtoMessage()
- func (x *CommitVirtualPsbtsRequest) ProtoReflect() protoreflect.Message
- func (x *CommitVirtualPsbtsRequest) Reset()
- func (x *CommitVirtualPsbtsRequest) String() string
- type CommitVirtualPsbtsRequest_Add
- type CommitVirtualPsbtsRequest_ExistingOutputIndex
- type CommitVirtualPsbtsRequest_SatPerVbyte
- type CommitVirtualPsbtsRequest_TargetConf
- type CommitVirtualPsbtsResponse
- func (*CommitVirtualPsbtsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitVirtualPsbtsResponse) GetAnchorPsbt() []byte
- func (x *CommitVirtualPsbtsResponse) GetChangeOutputIndex() int32
- func (x *CommitVirtualPsbtsResponse) GetLndLockedUtxos() []*taprpc.OutPoint
- func (x *CommitVirtualPsbtsResponse) GetPassiveAssetPsbts() [][]byte
- func (x *CommitVirtualPsbtsResponse) GetVirtualPsbts() [][]byte
- func (*CommitVirtualPsbtsResponse) ProtoMessage()
- func (x *CommitVirtualPsbtsResponse) ProtoReflect() protoreflect.Message
- func (x *CommitVirtualPsbtsResponse) Reset()
- func (x *CommitVirtualPsbtsResponse) String() string
- type DeclareScriptKeyRequest
- func (*DeclareScriptKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeclareScriptKeyRequest) GetScriptKey() *taprpc.ScriptKey
- func (*DeclareScriptKeyRequest) ProtoMessage()
- func (x *DeclareScriptKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeclareScriptKeyRequest) Reset()
- func (x *DeclareScriptKeyRequest) String() string
- type DeclareScriptKeyResponse
- func (*DeclareScriptKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeclareScriptKeyResponse) GetScriptKey() *taprpc.ScriptKey
- func (*DeclareScriptKeyResponse) ProtoMessage()
- func (x *DeclareScriptKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeclareScriptKeyResponse) Reset()
- func (x *DeclareScriptKeyResponse) String() string
- type FundVirtualPsbtRequest
- func (*FundVirtualPsbtRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FundVirtualPsbtRequest) GetPsbt() []byte
- func (x *FundVirtualPsbtRequest) GetRaw() *TxTemplate
- func (m *FundVirtualPsbtRequest) GetTemplate() isFundVirtualPsbtRequest_Template
- func (*FundVirtualPsbtRequest) ProtoMessage()
- func (x *FundVirtualPsbtRequest) ProtoReflect() protoreflect.Message
- func (x *FundVirtualPsbtRequest) Reset()
- func (x *FundVirtualPsbtRequest) String() string
- type FundVirtualPsbtRequest_Psbt
- type FundVirtualPsbtRequest_Raw
- type FundVirtualPsbtResponse
- func (*FundVirtualPsbtResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FundVirtualPsbtResponse) GetChangeOutputIndex() int32
- func (x *FundVirtualPsbtResponse) GetFundedPsbt() []byte
- func (x *FundVirtualPsbtResponse) GetPassiveAssetPsbts() [][]byte
- func (*FundVirtualPsbtResponse) ProtoMessage()
- func (x *FundVirtualPsbtResponse) ProtoReflect() protoreflect.Message
- func (x *FundVirtualPsbtResponse) Reset()
- func (x *FundVirtualPsbtResponse) String() string
- type NextInternalKeyRequest
- func (*NextInternalKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextInternalKeyRequest) GetKeyFamily() uint32
- func (*NextInternalKeyRequest) ProtoMessage()
- func (x *NextInternalKeyRequest) ProtoReflect() protoreflect.Message
- func (x *NextInternalKeyRequest) Reset()
- func (x *NextInternalKeyRequest) String() string
- type NextInternalKeyResponse
- func (*NextInternalKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextInternalKeyResponse) GetInternalKey() *taprpc.KeyDescriptor
- func (*NextInternalKeyResponse) ProtoMessage()
- func (x *NextInternalKeyResponse) ProtoReflect() protoreflect.Message
- func (x *NextInternalKeyResponse) Reset()
- func (x *NextInternalKeyResponse) String() string
- type NextScriptKeyRequest
- func (*NextScriptKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NextScriptKeyRequest) GetKeyFamily() uint32
- func (*NextScriptKeyRequest) ProtoMessage()
- func (x *NextScriptKeyRequest) ProtoReflect() protoreflect.Message
- func (x *NextScriptKeyRequest) Reset()
- func (x *NextScriptKeyRequest) String() string
- type NextScriptKeyResponse
- func (*NextScriptKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NextScriptKeyResponse) GetScriptKey() *taprpc.ScriptKey
- func (*NextScriptKeyResponse) ProtoMessage()
- func (x *NextScriptKeyResponse) ProtoReflect() protoreflect.Message
- func (x *NextScriptKeyResponse) Reset()
- func (x *NextScriptKeyResponse) String() string
- type PrevId
- func (*PrevId) Descriptor() ([]byte, []int)deprecated
- func (x *PrevId) GetId() []byte
- func (x *PrevId) GetOutpoint() *taprpc.OutPoint
- func (x *PrevId) GetScriptKey() []byte
- func (*PrevId) ProtoMessage()
- func (x *PrevId) ProtoReflect() protoreflect.Message
- func (x *PrevId) Reset()
- func (x *PrevId) String() string
- type ProveAssetOwnershipRequest
- func (*ProveAssetOwnershipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProveAssetOwnershipRequest) GetAssetId() []byte
- func (x *ProveAssetOwnershipRequest) GetOutpoint() *taprpc.OutPoint
- func (x *ProveAssetOwnershipRequest) GetScriptKey() []byte
- func (*ProveAssetOwnershipRequest) ProtoMessage()
- func (x *ProveAssetOwnershipRequest) ProtoReflect() protoreflect.Message
- func (x *ProveAssetOwnershipRequest) Reset()
- func (x *ProveAssetOwnershipRequest) String() string
- type ProveAssetOwnershipResponse
- func (*ProveAssetOwnershipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProveAssetOwnershipResponse) GetProofWithWitness() []byte
- func (*ProveAssetOwnershipResponse) ProtoMessage()
- func (x *ProveAssetOwnershipResponse) ProtoReflect() protoreflect.Message
- func (x *ProveAssetOwnershipResponse) Reset()
- func (x *ProveAssetOwnershipResponse) String() string
- type PublishAndLogRequest
- func (*PublishAndLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishAndLogRequest) GetAnchorPsbt() []byte
- func (x *PublishAndLogRequest) GetChangeOutputIndex() int32
- func (x *PublishAndLogRequest) GetLndLockedUtxos() []*taprpc.OutPoint
- func (x *PublishAndLogRequest) GetPassiveAssetPsbts() [][]byte
- func (x *PublishAndLogRequest) GetVirtualPsbts() [][]byte
- func (*PublishAndLogRequest) ProtoMessage()
- func (x *PublishAndLogRequest) ProtoReflect() protoreflect.Message
- func (x *PublishAndLogRequest) Reset()
- func (x *PublishAndLogRequest) String() string
- type QueryInternalKeyRequest
- func (*QueryInternalKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInternalKeyRequest) GetInternalKey() []byte
- func (*QueryInternalKeyRequest) ProtoMessage()
- func (x *QueryInternalKeyRequest) ProtoReflect() protoreflect.Message
- func (x *QueryInternalKeyRequest) Reset()
- func (x *QueryInternalKeyRequest) String() string
- type QueryInternalKeyResponse
- func (*QueryInternalKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInternalKeyResponse) GetInternalKey() *taprpc.KeyDescriptor
- func (*QueryInternalKeyResponse) ProtoMessage()
- func (x *QueryInternalKeyResponse) ProtoReflect() protoreflect.Message
- func (x *QueryInternalKeyResponse) Reset()
- func (x *QueryInternalKeyResponse) String() string
- type QueryScriptKeyRequest
- func (*QueryScriptKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryScriptKeyRequest) GetTweakedScriptKey() []byte
- func (*QueryScriptKeyRequest) ProtoMessage()
- func (x *QueryScriptKeyRequest) ProtoReflect() protoreflect.Message
- func (x *QueryScriptKeyRequest) Reset()
- func (x *QueryScriptKeyRequest) String() string
- type QueryScriptKeyResponse
- func (*QueryScriptKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryScriptKeyResponse) GetScriptKey() *taprpc.ScriptKey
- func (*QueryScriptKeyResponse) ProtoMessage()
- func (x *QueryScriptKeyResponse) ProtoReflect() protoreflect.Message
- func (x *QueryScriptKeyResponse) Reset()
- func (x *QueryScriptKeyResponse) String() string
- type RemoveUTXOLeaseRequest
- func (*RemoveUTXOLeaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUTXOLeaseRequest) GetOutpoint() *taprpc.OutPoint
- func (*RemoveUTXOLeaseRequest) ProtoMessage()
- func (x *RemoveUTXOLeaseRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUTXOLeaseRequest) Reset()
- func (x *RemoveUTXOLeaseRequest) String() string
- type RemoveUTXOLeaseResponse
- type SignVirtualPsbtRequest
- func (*SignVirtualPsbtRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignVirtualPsbtRequest) GetFundedPsbt() []byte
- func (*SignVirtualPsbtRequest) ProtoMessage()
- func (x *SignVirtualPsbtRequest) ProtoReflect() protoreflect.Message
- func (x *SignVirtualPsbtRequest) Reset()
- func (x *SignVirtualPsbtRequest) String() string
- type SignVirtualPsbtResponse
- func (*SignVirtualPsbtResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignVirtualPsbtResponse) GetSignedInputs() []uint32
- func (x *SignVirtualPsbtResponse) GetSignedPsbt() []byte
- func (*SignVirtualPsbtResponse) ProtoMessage()
- func (x *SignVirtualPsbtResponse) ProtoReflect() protoreflect.Message
- func (x *SignVirtualPsbtResponse) Reset()
- func (x *SignVirtualPsbtResponse) String() string
- type TxTemplate
- func (*TxTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *TxTemplate) GetInputs() []*PrevId
- func (x *TxTemplate) GetRecipients() map[string]uint64
- func (*TxTemplate) ProtoMessage()
- func (x *TxTemplate) ProtoReflect() protoreflect.Message
- func (x *TxTemplate) Reset()
- func (x *TxTemplate) String() string
- type UnimplementedAssetWalletServer
- func (UnimplementedAssetWalletServer) AnchorVirtualPsbts(context.Context, *AnchorVirtualPsbtsRequest) (*taprpc.SendAssetResponse, error)
- func (UnimplementedAssetWalletServer) CommitVirtualPsbts(context.Context, *CommitVirtualPsbtsRequest) (*CommitVirtualPsbtsResponse, error)
- func (UnimplementedAssetWalletServer) DeclareScriptKey(context.Context, *DeclareScriptKeyRequest) (*DeclareScriptKeyResponse, error)
- func (UnimplementedAssetWalletServer) FundVirtualPsbt(context.Context, *FundVirtualPsbtRequest) (*FundVirtualPsbtResponse, error)
- func (UnimplementedAssetWalletServer) NextInternalKey(context.Context, *NextInternalKeyRequest) (*NextInternalKeyResponse, error)
- func (UnimplementedAssetWalletServer) NextScriptKey(context.Context, *NextScriptKeyRequest) (*NextScriptKeyResponse, error)
- func (UnimplementedAssetWalletServer) ProveAssetOwnership(context.Context, *ProveAssetOwnershipRequest) (*ProveAssetOwnershipResponse, error)
- func (UnimplementedAssetWalletServer) PublishAndLogTransfer(context.Context, *PublishAndLogRequest) (*taprpc.SendAssetResponse, error)
- func (UnimplementedAssetWalletServer) QueryInternalKey(context.Context, *QueryInternalKeyRequest) (*QueryInternalKeyResponse, error)
- func (UnimplementedAssetWalletServer) QueryScriptKey(context.Context, *QueryScriptKeyRequest) (*QueryScriptKeyResponse, error)
- func (UnimplementedAssetWalletServer) RemoveUTXOLease(context.Context, *RemoveUTXOLeaseRequest) (*RemoveUTXOLeaseResponse, error)
- func (UnimplementedAssetWalletServer) SignVirtualPsbt(context.Context, *SignVirtualPsbtRequest) (*SignVirtualPsbtResponse, error)
- func (UnimplementedAssetWalletServer) VerifyAssetOwnership(context.Context, *VerifyAssetOwnershipRequest) (*VerifyAssetOwnershipResponse, error)
- type UnsafeAssetWalletServer
- type VerifyAssetOwnershipRequest
- func (*VerifyAssetOwnershipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyAssetOwnershipRequest) GetProofWithWitness() []byte
- func (*VerifyAssetOwnershipRequest) ProtoMessage()
- func (x *VerifyAssetOwnershipRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyAssetOwnershipRequest) Reset()
- func (x *VerifyAssetOwnershipRequest) String() string
- type VerifyAssetOwnershipResponse
- func (*VerifyAssetOwnershipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyAssetOwnershipResponse) GetValidProof() bool
- func (*VerifyAssetOwnershipResponse) ProtoMessage()
- func (x *VerifyAssetOwnershipResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyAssetOwnershipResponse) Reset()
- func (x *VerifyAssetOwnershipResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var AssetWallet_ServiceDesc = grpc.ServiceDesc{ ServiceName: "assetwalletrpc.AssetWallet", HandlerType: (*AssetWalletServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FundVirtualPsbt", Handler: _AssetWallet_FundVirtualPsbt_Handler, }, { MethodName: "SignVirtualPsbt", Handler: _AssetWallet_SignVirtualPsbt_Handler, }, { MethodName: "AnchorVirtualPsbts", Handler: _AssetWallet_AnchorVirtualPsbts_Handler, }, { MethodName: "CommitVirtualPsbts", Handler: _AssetWallet_CommitVirtualPsbts_Handler, }, { MethodName: "PublishAndLogTransfer", Handler: _AssetWallet_PublishAndLogTransfer_Handler, }, { MethodName: "NextInternalKey", Handler: _AssetWallet_NextInternalKey_Handler, }, { MethodName: "NextScriptKey", Handler: _AssetWallet_NextScriptKey_Handler, }, { MethodName: "QueryInternalKey", Handler: _AssetWallet_QueryInternalKey_Handler, }, { MethodName: "QueryScriptKey", Handler: _AssetWallet_QueryScriptKey_Handler, }, { MethodName: "ProveAssetOwnership", Handler: _AssetWallet_ProveAssetOwnership_Handler, }, { MethodName: "VerifyAssetOwnership", Handler: _AssetWallet_VerifyAssetOwnership_Handler, }, { MethodName: "RemoveUTXOLease", Handler: _AssetWallet_RemoveUTXOLease_Handler, }, { MethodName: "DeclareScriptKey", Handler: _AssetWallet_DeclareScriptKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "assetwalletrpc/assetwallet.proto", }
AssetWallet_ServiceDesc is the grpc.ServiceDesc for AssetWallet service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_assetwalletrpc_assetwallet_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAssetWalletHandler ¶
func RegisterAssetWalletHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAssetWalletHandler registers the http handlers for service AssetWallet to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAssetWalletHandlerClient ¶
func RegisterAssetWalletHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AssetWalletClient) error
RegisterAssetWalletHandlerClient registers the http handlers for service AssetWallet to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AssetWalletClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AssetWalletClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AssetWalletClient" to call the correct interceptors.
func RegisterAssetWalletHandlerFromEndpoint ¶
func RegisterAssetWalletHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAssetWalletHandlerFromEndpoint is same as RegisterAssetWalletHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAssetWalletHandlerServer ¶
func RegisterAssetWalletHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AssetWalletServer) error
RegisterAssetWalletHandlerServer registers the http handlers for service AssetWallet to "mux". UnaryRPC :call AssetWalletServer 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 RegisterAssetWalletHandlerFromEndpoint instead.
func RegisterAssetWalletJSONCallbacks ¶ added in v0.2.1
func RegisterAssetWalletServer ¶
func RegisterAssetWalletServer(s grpc.ServiceRegistrar, srv AssetWalletServer)
Types ¶
type AnchorVirtualPsbtsRequest ¶
type AnchorVirtualPsbtsRequest struct { // The list of virtual transactions that should be merged and committed to in // the BTC level anchor transaction. VirtualPsbts [][]byte `protobuf:"bytes,1,rep,name=virtual_psbts,json=virtualPsbts,proto3" json:"virtual_psbts,omitempty"` // contains filtered or unexported fields }
func (*AnchorVirtualPsbtsRequest) Descriptor
deprecated
func (*AnchorVirtualPsbtsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnchorVirtualPsbtsRequest.ProtoReflect.Descriptor instead.
func (*AnchorVirtualPsbtsRequest) GetVirtualPsbts ¶
func (x *AnchorVirtualPsbtsRequest) GetVirtualPsbts() [][]byte
func (*AnchorVirtualPsbtsRequest) ProtoMessage ¶
func (*AnchorVirtualPsbtsRequest) ProtoMessage()
func (*AnchorVirtualPsbtsRequest) ProtoReflect ¶
func (x *AnchorVirtualPsbtsRequest) ProtoReflect() protoreflect.Message
func (*AnchorVirtualPsbtsRequest) Reset ¶
func (x *AnchorVirtualPsbtsRequest) Reset()
func (*AnchorVirtualPsbtsRequest) String ¶
func (x *AnchorVirtualPsbtsRequest) String() string
type AssetWalletClient ¶
type AssetWalletClient interface { // FundVirtualPsbt selects inputs from the available asset commitments to fund // a virtual transaction matching the template. FundVirtualPsbt(ctx context.Context, in *FundVirtualPsbtRequest, opts ...grpc.CallOption) (*FundVirtualPsbtResponse, error) // SignVirtualPsbt signs the inputs of a virtual transaction and prepares the // commitments of the inputs and outputs. SignVirtualPsbt(ctx context.Context, in *SignVirtualPsbtRequest, opts ...grpc.CallOption) (*SignVirtualPsbtResponse, error) // AnchorVirtualPsbts merges and then commits multiple virtual transactions in // a single BTC level anchor transaction. This RPC should be used if the BTC // level anchor transaction of the assets to be spent are encumbered by a // normal key and don't require any special spending conditions. For any custom // spending conditions on the BTC level, the two RPCs CommitVirtualPsbts and // PublishAndLogTransfer should be used instead (which in combination do the // same as this RPC but allow for more flexibility). AnchorVirtualPsbts(ctx context.Context, in *AnchorVirtualPsbtsRequest, opts ...grpc.CallOption) (*taprpc.SendAssetResponse, error) // CommitVirtualPsbts creates the output commitments and proofs for the given // virtual transactions by committing them to the BTC level anchor transaction. // In addition, the BTC level anchor transaction is funded and prepared up to // the point where it is ready to be signed. CommitVirtualPsbts(ctx context.Context, in *CommitVirtualPsbtsRequest, opts ...grpc.CallOption) (*CommitVirtualPsbtsResponse, error) // PublishAndLogTransfer accepts a fully committed and signed anchor // transaction and publishes it to the Bitcoin network. It also logs the // transfer of the given active and passive assets in the database and ships // any outgoing proofs to the counterparties. PublishAndLogTransfer(ctx context.Context, in *PublishAndLogRequest, opts ...grpc.CallOption) (*taprpc.SendAssetResponse, error) // NextInternalKey derives the next internal key for the given key family and // stores it as an internal key in the database to make sure it is identified // as a local key later on when importing proofs. While an internal key can // also be used as the internal key of a script key, it is recommended to use // the NextScriptKey RPC instead, to make sure the tweaked Taproot output key // is also recognized as a local key. NextInternalKey(ctx context.Context, in *NextInternalKeyRequest, opts ...grpc.CallOption) (*NextInternalKeyResponse, error) // NextScriptKey derives the next script key (and its corresponding internal // key) and stores them both in the database to make sure they are identified // as local keys later on when importing proofs. NextScriptKey(ctx context.Context, in *NextScriptKeyRequest, opts ...grpc.CallOption) (*NextScriptKeyResponse, error) // QueryInternalKey returns the key descriptor for the given internal key. QueryInternalKey(ctx context.Context, in *QueryInternalKeyRequest, opts ...grpc.CallOption) (*QueryInternalKeyResponse, error) // QueryScriptKey returns the full script key descriptor for the given tweaked // script key. QueryScriptKey(ctx context.Context, in *QueryScriptKeyRequest, opts ...grpc.CallOption) (*QueryScriptKeyResponse, error) // tapcli: `proofs proveownership` // ProveAssetOwnership creates an ownership proof embedded in an asset // transition proof. That ownership proof is a signed virtual transaction // spending the asset with a valid witness to prove the prover owns the keys // that can spend the asset. ProveAssetOwnership(ctx context.Context, in *ProveAssetOwnershipRequest, opts ...grpc.CallOption) (*ProveAssetOwnershipResponse, error) // tapcli: `proofs verifyownership` // VerifyAssetOwnership verifies the asset ownership proof embedded in the // given transition proof of an asset and returns true if the proof is valid. VerifyAssetOwnership(ctx context.Context, in *VerifyAssetOwnershipRequest, opts ...grpc.CallOption) (*VerifyAssetOwnershipResponse, error) // RemoveUTXOLease removes the lease/lock/reservation of the given managed // UTXO. RemoveUTXOLease(ctx context.Context, in *RemoveUTXOLeaseRequest, opts ...grpc.CallOption) (*RemoveUTXOLeaseResponse, error) // DeclareScriptKey declares a new script key to the wallet. This is useful // when the script key contains scripts, which would mean it wouldn't be // recognized by the wallet automatically. Declaring a script key will make any // assets sent to the script key be recognized as being local assets. DeclareScriptKey(ctx context.Context, in *DeclareScriptKeyRequest, opts ...grpc.CallOption) (*DeclareScriptKeyResponse, error) }
AssetWalletClient is the client API for AssetWallet 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 NewAssetWalletClient ¶
func NewAssetWalletClient(cc grpc.ClientConnInterface) AssetWalletClient
type AssetWalletServer ¶
type AssetWalletServer interface { // FundVirtualPsbt selects inputs from the available asset commitments to fund // a virtual transaction matching the template. FundVirtualPsbt(context.Context, *FundVirtualPsbtRequest) (*FundVirtualPsbtResponse, error) // SignVirtualPsbt signs the inputs of a virtual transaction and prepares the // commitments of the inputs and outputs. SignVirtualPsbt(context.Context, *SignVirtualPsbtRequest) (*SignVirtualPsbtResponse, error) // AnchorVirtualPsbts merges and then commits multiple virtual transactions in // a single BTC level anchor transaction. This RPC should be used if the BTC // level anchor transaction of the assets to be spent are encumbered by a // normal key and don't require any special spending conditions. For any custom // spending conditions on the BTC level, the two RPCs CommitVirtualPsbts and // PublishAndLogTransfer should be used instead (which in combination do the // same as this RPC but allow for more flexibility). AnchorVirtualPsbts(context.Context, *AnchorVirtualPsbtsRequest) (*taprpc.SendAssetResponse, error) // CommitVirtualPsbts creates the output commitments and proofs for the given // virtual transactions by committing them to the BTC level anchor transaction. // In addition, the BTC level anchor transaction is funded and prepared up to // the point where it is ready to be signed. CommitVirtualPsbts(context.Context, *CommitVirtualPsbtsRequest) (*CommitVirtualPsbtsResponse, error) // PublishAndLogTransfer accepts a fully committed and signed anchor // transaction and publishes it to the Bitcoin network. It also logs the // transfer of the given active and passive assets in the database and ships // any outgoing proofs to the counterparties. PublishAndLogTransfer(context.Context, *PublishAndLogRequest) (*taprpc.SendAssetResponse, error) // NextInternalKey derives the next internal key for the given key family and // stores it as an internal key in the database to make sure it is identified // as a local key later on when importing proofs. While an internal key can // also be used as the internal key of a script key, it is recommended to use // the NextScriptKey RPC instead, to make sure the tweaked Taproot output key // is also recognized as a local key. NextInternalKey(context.Context, *NextInternalKeyRequest) (*NextInternalKeyResponse, error) // NextScriptKey derives the next script key (and its corresponding internal // key) and stores them both in the database to make sure they are identified // as local keys later on when importing proofs. NextScriptKey(context.Context, *NextScriptKeyRequest) (*NextScriptKeyResponse, error) // QueryInternalKey returns the key descriptor for the given internal key. QueryInternalKey(context.Context, *QueryInternalKeyRequest) (*QueryInternalKeyResponse, error) // QueryScriptKey returns the full script key descriptor for the given tweaked // script key. QueryScriptKey(context.Context, *QueryScriptKeyRequest) (*QueryScriptKeyResponse, error) // tapcli: `proofs proveownership` // ProveAssetOwnership creates an ownership proof embedded in an asset // transition proof. That ownership proof is a signed virtual transaction // spending the asset with a valid witness to prove the prover owns the keys // that can spend the asset. ProveAssetOwnership(context.Context, *ProveAssetOwnershipRequest) (*ProveAssetOwnershipResponse, error) // tapcli: `proofs verifyownership` // VerifyAssetOwnership verifies the asset ownership proof embedded in the // given transition proof of an asset and returns true if the proof is valid. VerifyAssetOwnership(context.Context, *VerifyAssetOwnershipRequest) (*VerifyAssetOwnershipResponse, error) // RemoveUTXOLease removes the lease/lock/reservation of the given managed // UTXO. RemoveUTXOLease(context.Context, *RemoveUTXOLeaseRequest) (*RemoveUTXOLeaseResponse, error) // DeclareScriptKey declares a new script key to the wallet. This is useful // when the script key contains scripts, which would mean it wouldn't be // recognized by the wallet automatically. Declaring a script key will make any // assets sent to the script key be recognized as being local assets. DeclareScriptKey(context.Context, *DeclareScriptKeyRequest) (*DeclareScriptKeyResponse, error) // contains filtered or unexported methods }
AssetWalletServer is the server API for AssetWallet service. All implementations must embed UnimplementedAssetWalletServer for forward compatibility
type CommitVirtualPsbtsRequest ¶ added in v0.4.0
type CommitVirtualPsbtsRequest struct { // The list of virtual transactions that should be mapped to the given BTC // level anchor transaction template. The virtual transactions are expected to // be signed (or use ASSET_VERSION_V1 with segregated witness to allow for // signing after committing) and ready to be committed to the anchor // transaction. VirtualPsbts [][]byte `protobuf:"bytes,1,rep,name=virtual_psbts,json=virtualPsbts,proto3" json:"virtual_psbts,omitempty"` // The list of passive virtual transactions that are anchored in the same BTC // level anchor transaction inputs as the "active" assets above. These can be // obtained by calling FundVirtualPsbt and using the passive assets returned. // The virtual transactions are expected to be signed (or use ASSET_VERSION_V1 // with segregated witness to allow for signing after committing) and ready to // be committed to the anchor transaction. // The main difference to the "active" assets above is that the passive assets // will not get their own entry in the transfer table of the database, since // they are just carried along and not directly affected by the direct user // action. PassiveAssetPsbts [][]byte `protobuf:"bytes,2,rep,name=passive_asset_psbts,json=passiveAssetPsbts,proto3" json:"passive_asset_psbts,omitempty"` // The template of the BTC level anchor transaction that the virtual // transactions should be mapped to. The template is expected to already // contain all asset related inputs and outputs corresponding to the virtual // transactions given above. This can be achieved by using // tapfreighter.PrepareAnchoringTemplate for example. AnchorPsbt []byte `protobuf:"bytes,3,opt,name=anchor_psbt,json=anchorPsbt,proto3" json:"anchor_psbt,omitempty"` // Types that are assignable to AnchorChangeOutput: // // *CommitVirtualPsbtsRequest_ExistingOutputIndex // *CommitVirtualPsbtsRequest_Add AnchorChangeOutput isCommitVirtualPsbtsRequest_AnchorChangeOutput `protobuf_oneof:"anchor_change_output"` // Types that are assignable to Fees: // // *CommitVirtualPsbtsRequest_TargetConf // *CommitVirtualPsbtsRequest_SatPerVbyte Fees isCommitVirtualPsbtsRequest_Fees `protobuf_oneof:"fees"` // contains filtered or unexported fields }
func (*CommitVirtualPsbtsRequest) Descriptor
deprecated
added in
v0.4.0
func (*CommitVirtualPsbtsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitVirtualPsbtsRequest.ProtoReflect.Descriptor instead.
func (*CommitVirtualPsbtsRequest) GetAdd ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetAdd() bool
func (*CommitVirtualPsbtsRequest) GetAnchorChangeOutput ¶ added in v0.4.0
func (m *CommitVirtualPsbtsRequest) GetAnchorChangeOutput() isCommitVirtualPsbtsRequest_AnchorChangeOutput
func (*CommitVirtualPsbtsRequest) GetAnchorPsbt ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetAnchorPsbt() []byte
func (*CommitVirtualPsbtsRequest) GetExistingOutputIndex ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetExistingOutputIndex() int32
func (*CommitVirtualPsbtsRequest) GetFees ¶ added in v0.4.0
func (m *CommitVirtualPsbtsRequest) GetFees() isCommitVirtualPsbtsRequest_Fees
func (*CommitVirtualPsbtsRequest) GetPassiveAssetPsbts ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetPassiveAssetPsbts() [][]byte
func (*CommitVirtualPsbtsRequest) GetSatPerVbyte ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetSatPerVbyte() uint64
func (*CommitVirtualPsbtsRequest) GetTargetConf ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetTargetConf() uint32
func (*CommitVirtualPsbtsRequest) GetVirtualPsbts ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) GetVirtualPsbts() [][]byte
func (*CommitVirtualPsbtsRequest) ProtoMessage ¶ added in v0.4.0
func (*CommitVirtualPsbtsRequest) ProtoMessage()
func (*CommitVirtualPsbtsRequest) ProtoReflect ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) ProtoReflect() protoreflect.Message
func (*CommitVirtualPsbtsRequest) Reset ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) Reset()
func (*CommitVirtualPsbtsRequest) String ¶ added in v0.4.0
func (x *CommitVirtualPsbtsRequest) String() string
type CommitVirtualPsbtsRequest_Add ¶ added in v0.4.0
type CommitVirtualPsbtsRequest_Add struct { // Add a new P2TR change output to the PSBT if required. Add bool `protobuf:"varint,5,opt,name=add,proto3,oneof"` }
type CommitVirtualPsbtsRequest_ExistingOutputIndex ¶ added in v0.4.0
type CommitVirtualPsbtsRequest_ExistingOutputIndex struct { // Use the existing output within the anchor PSBT with the specified // index as the change output. Any leftover change will be added to the // already specified amount of that output. To add a new change output to // the PSBT, set the "add" field below instead. ExistingOutputIndex int32 `protobuf:"varint,4,opt,name=existing_output_index,json=existingOutputIndex,proto3,oneof"` }
type CommitVirtualPsbtsRequest_SatPerVbyte ¶ added in v0.4.0
type CommitVirtualPsbtsRequest_SatPerVbyte struct { // The fee rate, expressed in sat/vbyte, that should be used to fund the // BTC level anchor transaction. SatPerVbyte uint64 `protobuf:"varint,7,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof"` }
type CommitVirtualPsbtsRequest_TargetConf ¶ added in v0.4.0
type CommitVirtualPsbtsRequest_TargetConf struct { // The target number of blocks that the transaction should be confirmed in. TargetConf uint32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf,proto3,oneof"` }
type CommitVirtualPsbtsResponse ¶ added in v0.4.0
type CommitVirtualPsbtsResponse struct { // The funded BTC level anchor transaction with all outputs updated to commit // to the virtual transactions given. The transaction is ready to be signed, // unless some of the asset inputs don't belong to this daemon, in which case // the anchor input derivation info must be added to those inputs first. AnchorPsbt []byte `protobuf:"bytes,1,opt,name=anchor_psbt,json=anchorPsbt,proto3" json:"anchor_psbt,omitempty"` // The updated virtual transactions that now contain the state transition // proofs for being committed to the BTC level anchor transaction above. If the // assets in the virtual transaction outputs are ASSET_VERSION_V1 and not yet // signed, then the proofs need to be updated to include the witness before // they become fully valid. VirtualPsbts [][]byte `protobuf:"bytes,2,rep,name=virtual_psbts,json=virtualPsbts,proto3" json:"virtual_psbts,omitempty"` // The updated passive virtual transactions that were committed to the same BTC // level anchor transaction as the "active" virtual transactions given. If the // assets in the virtual transaction outputs are ASSET_VERSION_V1 and not yet // signed, then the proofs need to be updated to include the witness before // they become fully valid. PassiveAssetPsbts [][]byte `protobuf:"bytes,4,rep,name=passive_asset_psbts,json=passiveAssetPsbts,proto3" json:"passive_asset_psbts,omitempty"` // The index of the (added) change output or -1 if no change was left over. ChangeOutputIndex int32 `protobuf:"varint,5,opt,name=change_output_index,json=changeOutputIndex,proto3" json:"change_output_index,omitempty"` // The list of UTXO lock leases that were acquired for the inputs in the funded // PSBT packet from lnd. Only inputs added to the PSBT by this RPC are locked, // inputs that were already present in the PSBT are not locked. LndLockedUtxos []*taprpc.OutPoint `protobuf:"bytes,6,rep,name=lnd_locked_utxos,json=lndLockedUtxos,proto3" json:"lnd_locked_utxos,omitempty"` // contains filtered or unexported fields }
func (*CommitVirtualPsbtsResponse) Descriptor
deprecated
added in
v0.4.0
func (*CommitVirtualPsbtsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitVirtualPsbtsResponse.ProtoReflect.Descriptor instead.
func (*CommitVirtualPsbtsResponse) GetAnchorPsbt ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) GetAnchorPsbt() []byte
func (*CommitVirtualPsbtsResponse) GetChangeOutputIndex ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) GetChangeOutputIndex() int32
func (*CommitVirtualPsbtsResponse) GetLndLockedUtxos ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) GetLndLockedUtxos() []*taprpc.OutPoint
func (*CommitVirtualPsbtsResponse) GetPassiveAssetPsbts ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) GetPassiveAssetPsbts() [][]byte
func (*CommitVirtualPsbtsResponse) GetVirtualPsbts ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) GetVirtualPsbts() [][]byte
func (*CommitVirtualPsbtsResponse) ProtoMessage ¶ added in v0.4.0
func (*CommitVirtualPsbtsResponse) ProtoMessage()
func (*CommitVirtualPsbtsResponse) ProtoReflect ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) ProtoReflect() protoreflect.Message
func (*CommitVirtualPsbtsResponse) Reset ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) Reset()
func (*CommitVirtualPsbtsResponse) String ¶ added in v0.4.0
func (x *CommitVirtualPsbtsResponse) String() string
type DeclareScriptKeyRequest ¶ added in v0.4.0
type DeclareScriptKeyRequest struct { ScriptKey *taprpc.ScriptKey `protobuf:"bytes,1,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"` // contains filtered or unexported fields }
func (*DeclareScriptKeyRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeclareScriptKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeclareScriptKeyRequest.ProtoReflect.Descriptor instead.
func (*DeclareScriptKeyRequest) GetScriptKey ¶ added in v0.4.0
func (x *DeclareScriptKeyRequest) GetScriptKey() *taprpc.ScriptKey
func (*DeclareScriptKeyRequest) ProtoMessage ¶ added in v0.4.0
func (*DeclareScriptKeyRequest) ProtoMessage()
func (*DeclareScriptKeyRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeclareScriptKeyRequest) ProtoReflect() protoreflect.Message
func (*DeclareScriptKeyRequest) Reset ¶ added in v0.4.0
func (x *DeclareScriptKeyRequest) Reset()
func (*DeclareScriptKeyRequest) String ¶ added in v0.4.0
func (x *DeclareScriptKeyRequest) String() string
type DeclareScriptKeyResponse ¶ added in v0.4.0
type DeclareScriptKeyResponse struct { ScriptKey *taprpc.ScriptKey `protobuf:"bytes,1,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"` // contains filtered or unexported fields }
func (*DeclareScriptKeyResponse) Descriptor
deprecated
added in
v0.4.0
func (*DeclareScriptKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeclareScriptKeyResponse.ProtoReflect.Descriptor instead.
func (*DeclareScriptKeyResponse) GetScriptKey ¶ added in v0.4.0
func (x *DeclareScriptKeyResponse) GetScriptKey() *taprpc.ScriptKey
func (*DeclareScriptKeyResponse) ProtoMessage ¶ added in v0.4.0
func (*DeclareScriptKeyResponse) ProtoMessage()
func (*DeclareScriptKeyResponse) ProtoReflect ¶ added in v0.4.0
func (x *DeclareScriptKeyResponse) ProtoReflect() protoreflect.Message
func (*DeclareScriptKeyResponse) Reset ¶ added in v0.4.0
func (x *DeclareScriptKeyResponse) Reset()
func (*DeclareScriptKeyResponse) String ¶ added in v0.4.0
func (x *DeclareScriptKeyResponse) String() string
type FundVirtualPsbtRequest ¶
type FundVirtualPsbtRequest struct { // Types that are assignable to Template: // // *FundVirtualPsbtRequest_Psbt // *FundVirtualPsbtRequest_Raw Template isFundVirtualPsbtRequest_Template `protobuf_oneof:"template"` // contains filtered or unexported fields }
func (*FundVirtualPsbtRequest) Descriptor
deprecated
func (*FundVirtualPsbtRequest) Descriptor() ([]byte, []int)
Deprecated: Use FundVirtualPsbtRequest.ProtoReflect.Descriptor instead.
func (*FundVirtualPsbtRequest) GetPsbt ¶
func (x *FundVirtualPsbtRequest) GetPsbt() []byte
func (*FundVirtualPsbtRequest) GetRaw ¶
func (x *FundVirtualPsbtRequest) GetRaw() *TxTemplate
func (*FundVirtualPsbtRequest) GetTemplate ¶
func (m *FundVirtualPsbtRequest) GetTemplate() isFundVirtualPsbtRequest_Template
func (*FundVirtualPsbtRequest) ProtoMessage ¶
func (*FundVirtualPsbtRequest) ProtoMessage()
func (*FundVirtualPsbtRequest) ProtoReflect ¶
func (x *FundVirtualPsbtRequest) ProtoReflect() protoreflect.Message
func (*FundVirtualPsbtRequest) Reset ¶
func (x *FundVirtualPsbtRequest) Reset()
func (*FundVirtualPsbtRequest) String ¶
func (x *FundVirtualPsbtRequest) String() string
type FundVirtualPsbtRequest_Psbt ¶
type FundVirtualPsbtRequest_Psbt struct { // Use an existing PSBT packet as the template for the funded PSBT. Psbt []byte `protobuf:"bytes,1,opt,name=psbt,proto3,oneof"` }
type FundVirtualPsbtRequest_Raw ¶
type FundVirtualPsbtRequest_Raw struct { // Use the asset outputs and optional asset inputs from this raw template. Raw *TxTemplate `protobuf:"bytes,2,opt,name=raw,proto3,oneof"` }
type FundVirtualPsbtResponse ¶
type FundVirtualPsbtResponse struct { // The funded but not yet signed virtual PSBT packet. FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` // The index of the added change output or -1 if no change was left over. ChangeOutputIndex int32 `protobuf:"varint,2,opt,name=change_output_index,json=changeOutputIndex,proto3" json:"change_output_index,omitempty"` // The list of passive virtual transactions that are anchored in the same BTC // level anchor transaction inputs as the funded "active" asset above. These // assets can be ignored when using the AnchorVirtualPsbts RPC, since they are // retrieved, signed and committed automatically in that method. But the // passive assets have to be included in the CommitVirtualPsbts RPC which is // used when custom BTC level anchor transactions are created. // The main difference to the "active" asset above is that the passive assets // will not get their own entry in the transfer table of the database, since // they are just carried along and not directly affected by the direct user // action. PassiveAssetPsbts [][]byte `protobuf:"bytes,3,rep,name=passive_asset_psbts,json=passiveAssetPsbts,proto3" json:"passive_asset_psbts,omitempty"` // contains filtered or unexported fields }
func (*FundVirtualPsbtResponse) Descriptor
deprecated
func (*FundVirtualPsbtResponse) Descriptor() ([]byte, []int)
Deprecated: Use FundVirtualPsbtResponse.ProtoReflect.Descriptor instead.
func (*FundVirtualPsbtResponse) GetChangeOutputIndex ¶
func (x *FundVirtualPsbtResponse) GetChangeOutputIndex() int32
func (*FundVirtualPsbtResponse) GetFundedPsbt ¶
func (x *FundVirtualPsbtResponse) GetFundedPsbt() []byte
func (*FundVirtualPsbtResponse) GetPassiveAssetPsbts ¶ added in v0.4.0
func (x *FundVirtualPsbtResponse) GetPassiveAssetPsbts() [][]byte
func (*FundVirtualPsbtResponse) ProtoMessage ¶
func (*FundVirtualPsbtResponse) ProtoMessage()
func (*FundVirtualPsbtResponse) ProtoReflect ¶
func (x *FundVirtualPsbtResponse) ProtoReflect() protoreflect.Message
func (*FundVirtualPsbtResponse) Reset ¶
func (x *FundVirtualPsbtResponse) Reset()
func (*FundVirtualPsbtResponse) String ¶
func (x *FundVirtualPsbtResponse) String() string
type NextInternalKeyRequest ¶
type NextInternalKeyRequest struct { KeyFamily uint32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"` // contains filtered or unexported fields }
func (*NextInternalKeyRequest) Descriptor
deprecated
func (*NextInternalKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextInternalKeyRequest.ProtoReflect.Descriptor instead.
func (*NextInternalKeyRequest) GetKeyFamily ¶
func (x *NextInternalKeyRequest) GetKeyFamily() uint32
func (*NextInternalKeyRequest) ProtoMessage ¶
func (*NextInternalKeyRequest) ProtoMessage()
func (*NextInternalKeyRequest) ProtoReflect ¶
func (x *NextInternalKeyRequest) ProtoReflect() protoreflect.Message
func (*NextInternalKeyRequest) Reset ¶
func (x *NextInternalKeyRequest) Reset()
func (*NextInternalKeyRequest) String ¶
func (x *NextInternalKeyRequest) String() string
type NextInternalKeyResponse ¶
type NextInternalKeyResponse struct { InternalKey *taprpc.KeyDescriptor `protobuf:"bytes,1,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"` // contains filtered or unexported fields }
func (*NextInternalKeyResponse) Descriptor
deprecated
func (*NextInternalKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextInternalKeyResponse.ProtoReflect.Descriptor instead.
func (*NextInternalKeyResponse) GetInternalKey ¶
func (x *NextInternalKeyResponse) GetInternalKey() *taprpc.KeyDescriptor
func (*NextInternalKeyResponse) ProtoMessage ¶
func (*NextInternalKeyResponse) ProtoMessage()
func (*NextInternalKeyResponse) ProtoReflect ¶
func (x *NextInternalKeyResponse) ProtoReflect() protoreflect.Message
func (*NextInternalKeyResponse) Reset ¶
func (x *NextInternalKeyResponse) Reset()
func (*NextInternalKeyResponse) String ¶
func (x *NextInternalKeyResponse) String() string
type NextScriptKeyRequest ¶
type NextScriptKeyRequest struct { KeyFamily uint32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"` // contains filtered or unexported fields }
func (*NextScriptKeyRequest) Descriptor
deprecated
func (*NextScriptKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use NextScriptKeyRequest.ProtoReflect.Descriptor instead.
func (*NextScriptKeyRequest) GetKeyFamily ¶
func (x *NextScriptKeyRequest) GetKeyFamily() uint32
func (*NextScriptKeyRequest) ProtoMessage ¶
func (*NextScriptKeyRequest) ProtoMessage()
func (*NextScriptKeyRequest) ProtoReflect ¶
func (x *NextScriptKeyRequest) ProtoReflect() protoreflect.Message
func (*NextScriptKeyRequest) Reset ¶
func (x *NextScriptKeyRequest) Reset()
func (*NextScriptKeyRequest) String ¶
func (x *NextScriptKeyRequest) String() string
type NextScriptKeyResponse ¶
type NextScriptKeyResponse struct { ScriptKey *taprpc.ScriptKey `protobuf:"bytes,1,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"` // contains filtered or unexported fields }
func (*NextScriptKeyResponse) Descriptor
deprecated
func (*NextScriptKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use NextScriptKeyResponse.ProtoReflect.Descriptor instead.
func (*NextScriptKeyResponse) GetScriptKey ¶
func (x *NextScriptKeyResponse) GetScriptKey() *taprpc.ScriptKey
func (*NextScriptKeyResponse) ProtoMessage ¶
func (*NextScriptKeyResponse) ProtoMessage()
func (*NextScriptKeyResponse) ProtoReflect ¶
func (x *NextScriptKeyResponse) ProtoReflect() protoreflect.Message
func (*NextScriptKeyResponse) Reset ¶
func (x *NextScriptKeyResponse) Reset()
func (*NextScriptKeyResponse) String ¶
func (x *NextScriptKeyResponse) String() string
type PrevId ¶
type PrevId struct { // The bitcoin anchor output on chain that contains the input asset. Outpoint *taprpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The asset ID of the previous asset tree. Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The tweaked Taproot output key committing to the possible spending // conditions of the asset. ScriptKey []byte `protobuf:"bytes,3,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"` // contains filtered or unexported fields }
func (*PrevId) Descriptor
deprecated
func (*PrevId) GetOutpoint ¶
func (*PrevId) GetScriptKey ¶
func (*PrevId) ProtoMessage ¶
func (*PrevId) ProtoMessage()
func (*PrevId) ProtoReflect ¶
func (x *PrevId) ProtoReflect() protoreflect.Message
type ProveAssetOwnershipRequest ¶
type ProveAssetOwnershipRequest struct { AssetId []byte `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` ScriptKey []byte `protobuf:"bytes,2,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"` Outpoint *taprpc.OutPoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // contains filtered or unexported fields }
func (*ProveAssetOwnershipRequest) Descriptor
deprecated
func (*ProveAssetOwnershipRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProveAssetOwnershipRequest.ProtoReflect.Descriptor instead.
func (*ProveAssetOwnershipRequest) GetAssetId ¶
func (x *ProveAssetOwnershipRequest) GetAssetId() []byte
func (*ProveAssetOwnershipRequest) GetOutpoint ¶ added in v0.3.3
func (x *ProveAssetOwnershipRequest) GetOutpoint() *taprpc.OutPoint
func (*ProveAssetOwnershipRequest) GetScriptKey ¶
func (x *ProveAssetOwnershipRequest) GetScriptKey() []byte
func (*ProveAssetOwnershipRequest) ProtoMessage ¶
func (*ProveAssetOwnershipRequest) ProtoMessage()
func (*ProveAssetOwnershipRequest) ProtoReflect ¶
func (x *ProveAssetOwnershipRequest) ProtoReflect() protoreflect.Message
func (*ProveAssetOwnershipRequest) Reset ¶
func (x *ProveAssetOwnershipRequest) Reset()
func (*ProveAssetOwnershipRequest) String ¶
func (x *ProveAssetOwnershipRequest) String() string
type ProveAssetOwnershipResponse ¶
type ProveAssetOwnershipResponse struct { ProofWithWitness []byte `protobuf:"bytes,1,opt,name=proof_with_witness,json=proofWithWitness,proto3" json:"proof_with_witness,omitempty"` // contains filtered or unexported fields }
func (*ProveAssetOwnershipResponse) Descriptor
deprecated
func (*ProveAssetOwnershipResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProveAssetOwnershipResponse.ProtoReflect.Descriptor instead.
func (*ProveAssetOwnershipResponse) GetProofWithWitness ¶
func (x *ProveAssetOwnershipResponse) GetProofWithWitness() []byte
func (*ProveAssetOwnershipResponse) ProtoMessage ¶
func (*ProveAssetOwnershipResponse) ProtoMessage()
func (*ProveAssetOwnershipResponse) ProtoReflect ¶
func (x *ProveAssetOwnershipResponse) ProtoReflect() protoreflect.Message
func (*ProveAssetOwnershipResponse) Reset ¶
func (x *ProveAssetOwnershipResponse) Reset()
func (*ProveAssetOwnershipResponse) String ¶
func (x *ProveAssetOwnershipResponse) String() string
type PublishAndLogRequest ¶ added in v0.4.0
type PublishAndLogRequest struct { // The funded BTC level anchor transaction with all outputs updated to commit // to the virtual transactions given. The transaction is ready to be signed, // unless some of the asset inputs don't belong to this daemon, in which case // the anchor input derivation info must be added to those inputs first. AnchorPsbt []byte `protobuf:"bytes,1,opt,name=anchor_psbt,json=anchorPsbt,proto3" json:"anchor_psbt,omitempty"` // The updated virtual transactions that contain the state transition proofs // of being committed to the BTC level anchor transaction above. VirtualPsbts [][]byte `protobuf:"bytes,2,rep,name=virtual_psbts,json=virtualPsbts,proto3" json:"virtual_psbts,omitempty"` // The updated passive virtual transactions that contain the state transition // proofs of being committed to the BTC level anchor transaction above. PassiveAssetPsbts [][]byte `protobuf:"bytes,3,rep,name=passive_asset_psbts,json=passiveAssetPsbts,proto3" json:"passive_asset_psbts,omitempty"` // The index of the (added) change output or -1 if no change was left over. ChangeOutputIndex int32 `protobuf:"varint,4,opt,name=change_output_index,json=changeOutputIndex,proto3" json:"change_output_index,omitempty"` // The list of UTXO lock leases that were acquired for the inputs in the funded // PSBT packet from lnd. Only inputs added to the PSBT by this RPC are locked, // inputs that were already present in the PSBT are not locked. LndLockedUtxos []*taprpc.OutPoint `protobuf:"bytes,5,rep,name=lnd_locked_utxos,json=lndLockedUtxos,proto3" json:"lnd_locked_utxos,omitempty"` // contains filtered or unexported fields }
func (*PublishAndLogRequest) Descriptor
deprecated
added in
v0.4.0
func (*PublishAndLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishAndLogRequest.ProtoReflect.Descriptor instead.
func (*PublishAndLogRequest) GetAnchorPsbt ¶ added in v0.4.0
func (x *PublishAndLogRequest) GetAnchorPsbt() []byte
func (*PublishAndLogRequest) GetChangeOutputIndex ¶ added in v0.4.0
func (x *PublishAndLogRequest) GetChangeOutputIndex() int32
func (*PublishAndLogRequest) GetLndLockedUtxos ¶ added in v0.4.0
func (x *PublishAndLogRequest) GetLndLockedUtxos() []*taprpc.OutPoint
func (*PublishAndLogRequest) GetPassiveAssetPsbts ¶ added in v0.4.0
func (x *PublishAndLogRequest) GetPassiveAssetPsbts() [][]byte
func (*PublishAndLogRequest) GetVirtualPsbts ¶ added in v0.4.0
func (x *PublishAndLogRequest) GetVirtualPsbts() [][]byte
func (*PublishAndLogRequest) ProtoMessage ¶ added in v0.4.0
func (*PublishAndLogRequest) ProtoMessage()
func (*PublishAndLogRequest) ProtoReflect ¶ added in v0.4.0
func (x *PublishAndLogRequest) ProtoReflect() protoreflect.Message
func (*PublishAndLogRequest) Reset ¶ added in v0.4.0
func (x *PublishAndLogRequest) Reset()
func (*PublishAndLogRequest) String ¶ added in v0.4.0
func (x *PublishAndLogRequest) String() string
type QueryInternalKeyRequest ¶ added in v0.4.0
type QueryInternalKeyRequest struct { // The internal key to look for. This can either be the 32-byte x-only raw // internal key or the 33-byte raw internal key with the parity byte. InternalKey []byte `protobuf:"bytes,1,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"` // contains filtered or unexported fields }
func (*QueryInternalKeyRequest) Descriptor
deprecated
added in
v0.4.0
func (*QueryInternalKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryInternalKeyRequest.ProtoReflect.Descriptor instead.
func (*QueryInternalKeyRequest) GetInternalKey ¶ added in v0.4.0
func (x *QueryInternalKeyRequest) GetInternalKey() []byte
func (*QueryInternalKeyRequest) ProtoMessage ¶ added in v0.4.0
func (*QueryInternalKeyRequest) ProtoMessage()
func (*QueryInternalKeyRequest) ProtoReflect ¶ added in v0.4.0
func (x *QueryInternalKeyRequest) ProtoReflect() protoreflect.Message
func (*QueryInternalKeyRequest) Reset ¶ added in v0.4.0
func (x *QueryInternalKeyRequest) Reset()
func (*QueryInternalKeyRequest) String ¶ added in v0.4.0
func (x *QueryInternalKeyRequest) String() string
type QueryInternalKeyResponse ¶ added in v0.4.0
type QueryInternalKeyResponse struct { InternalKey *taprpc.KeyDescriptor `protobuf:"bytes,1,opt,name=internal_key,json=internalKey,proto3" json:"internal_key,omitempty"` // contains filtered or unexported fields }
func (*QueryInternalKeyResponse) Descriptor
deprecated
added in
v0.4.0
func (*QueryInternalKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryInternalKeyResponse.ProtoReflect.Descriptor instead.
func (*QueryInternalKeyResponse) GetInternalKey ¶ added in v0.4.0
func (x *QueryInternalKeyResponse) GetInternalKey() *taprpc.KeyDescriptor
func (*QueryInternalKeyResponse) ProtoMessage ¶ added in v0.4.0
func (*QueryInternalKeyResponse) ProtoMessage()
func (*QueryInternalKeyResponse) ProtoReflect ¶ added in v0.4.0
func (x *QueryInternalKeyResponse) ProtoReflect() protoreflect.Message
func (*QueryInternalKeyResponse) Reset ¶ added in v0.4.0
func (x *QueryInternalKeyResponse) Reset()
func (*QueryInternalKeyResponse) String ¶ added in v0.4.0
func (x *QueryInternalKeyResponse) String() string
type QueryScriptKeyRequest ¶ added in v0.4.0
type QueryScriptKeyRequest struct { // The tweaked script key to look for. This can either be the 32-byte // x-only tweaked script key or the 33-byte tweaked script key with the // parity byte. TweakedScriptKey []byte `protobuf:"bytes,1,opt,name=tweaked_script_key,json=tweakedScriptKey,proto3" json:"tweaked_script_key,omitempty"` // contains filtered or unexported fields }
func (*QueryScriptKeyRequest) Descriptor
deprecated
added in
v0.4.0
func (*QueryScriptKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryScriptKeyRequest.ProtoReflect.Descriptor instead.
func (*QueryScriptKeyRequest) GetTweakedScriptKey ¶ added in v0.4.0
func (x *QueryScriptKeyRequest) GetTweakedScriptKey() []byte
func (*QueryScriptKeyRequest) ProtoMessage ¶ added in v0.4.0
func (*QueryScriptKeyRequest) ProtoMessage()
func (*QueryScriptKeyRequest) ProtoReflect ¶ added in v0.4.0
func (x *QueryScriptKeyRequest) ProtoReflect() protoreflect.Message
func (*QueryScriptKeyRequest) Reset ¶ added in v0.4.0
func (x *QueryScriptKeyRequest) Reset()
func (*QueryScriptKeyRequest) String ¶ added in v0.4.0
func (x *QueryScriptKeyRequest) String() string
type QueryScriptKeyResponse ¶ added in v0.4.0
type QueryScriptKeyResponse struct { ScriptKey *taprpc.ScriptKey `protobuf:"bytes,1,opt,name=script_key,json=scriptKey,proto3" json:"script_key,omitempty"` // contains filtered or unexported fields }
func (*QueryScriptKeyResponse) Descriptor
deprecated
added in
v0.4.0
func (*QueryScriptKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryScriptKeyResponse.ProtoReflect.Descriptor instead.
func (*QueryScriptKeyResponse) GetScriptKey ¶ added in v0.4.0
func (x *QueryScriptKeyResponse) GetScriptKey() *taprpc.ScriptKey
func (*QueryScriptKeyResponse) ProtoMessage ¶ added in v0.4.0
func (*QueryScriptKeyResponse) ProtoMessage()
func (*QueryScriptKeyResponse) ProtoReflect ¶ added in v0.4.0
func (x *QueryScriptKeyResponse) ProtoReflect() protoreflect.Message
func (*QueryScriptKeyResponse) Reset ¶ added in v0.4.0
func (x *QueryScriptKeyResponse) Reset()
func (*QueryScriptKeyResponse) String ¶ added in v0.4.0
func (x *QueryScriptKeyResponse) String() string
type RemoveUTXOLeaseRequest ¶ added in v0.3.0
type RemoveUTXOLeaseRequest struct { // The outpoint of the UTXO to remove the lease for. Outpoint *taprpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // contains filtered or unexported fields }
func (*RemoveUTXOLeaseRequest) Descriptor
deprecated
added in
v0.3.0
func (*RemoveUTXOLeaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUTXOLeaseRequest.ProtoReflect.Descriptor instead.
func (*RemoveUTXOLeaseRequest) GetOutpoint ¶ added in v0.3.0
func (x *RemoveUTXOLeaseRequest) GetOutpoint() *taprpc.OutPoint
func (*RemoveUTXOLeaseRequest) ProtoMessage ¶ added in v0.3.0
func (*RemoveUTXOLeaseRequest) ProtoMessage()
func (*RemoveUTXOLeaseRequest) ProtoReflect ¶ added in v0.3.0
func (x *RemoveUTXOLeaseRequest) ProtoReflect() protoreflect.Message
func (*RemoveUTXOLeaseRequest) Reset ¶ added in v0.3.0
func (x *RemoveUTXOLeaseRequest) Reset()
func (*RemoveUTXOLeaseRequest) String ¶ added in v0.3.0
func (x *RemoveUTXOLeaseRequest) String() string
type RemoveUTXOLeaseResponse ¶ added in v0.3.0
type RemoveUTXOLeaseResponse struct {
// contains filtered or unexported fields
}
func (*RemoveUTXOLeaseResponse) Descriptor
deprecated
added in
v0.3.0
func (*RemoveUTXOLeaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUTXOLeaseResponse.ProtoReflect.Descriptor instead.
func (*RemoveUTXOLeaseResponse) ProtoMessage ¶ added in v0.3.0
func (*RemoveUTXOLeaseResponse) ProtoMessage()
func (*RemoveUTXOLeaseResponse) ProtoReflect ¶ added in v0.3.0
func (x *RemoveUTXOLeaseResponse) ProtoReflect() protoreflect.Message
func (*RemoveUTXOLeaseResponse) Reset ¶ added in v0.3.0
func (x *RemoveUTXOLeaseResponse) Reset()
func (*RemoveUTXOLeaseResponse) String ¶ added in v0.3.0
func (x *RemoveUTXOLeaseResponse) String() string
type SignVirtualPsbtRequest ¶
type SignVirtualPsbtRequest struct { // The PSBT of the virtual transaction that should be signed. The PSBT must // contain all required inputs, outputs, UTXO data and custom fields required // to identify the signing key. FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` // contains filtered or unexported fields }
func (*SignVirtualPsbtRequest) Descriptor
deprecated
func (*SignVirtualPsbtRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignVirtualPsbtRequest.ProtoReflect.Descriptor instead.
func (*SignVirtualPsbtRequest) GetFundedPsbt ¶
func (x *SignVirtualPsbtRequest) GetFundedPsbt() []byte
func (*SignVirtualPsbtRequest) ProtoMessage ¶
func (*SignVirtualPsbtRequest) ProtoMessage()
func (*SignVirtualPsbtRequest) ProtoReflect ¶
func (x *SignVirtualPsbtRequest) ProtoReflect() protoreflect.Message
func (*SignVirtualPsbtRequest) Reset ¶
func (x *SignVirtualPsbtRequest) Reset()
func (*SignVirtualPsbtRequest) String ¶
func (x *SignVirtualPsbtRequest) String() string
type SignVirtualPsbtResponse ¶
type SignVirtualPsbtResponse struct { // The signed virtual transaction in PSBT format. SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"` // The indices of signed inputs. SignedInputs []uint32 `protobuf:"varint,2,rep,packed,name=signed_inputs,json=signedInputs,proto3" json:"signed_inputs,omitempty"` // contains filtered or unexported fields }
func (*SignVirtualPsbtResponse) Descriptor
deprecated
func (*SignVirtualPsbtResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignVirtualPsbtResponse.ProtoReflect.Descriptor instead.
func (*SignVirtualPsbtResponse) GetSignedInputs ¶
func (x *SignVirtualPsbtResponse) GetSignedInputs() []uint32
func (*SignVirtualPsbtResponse) GetSignedPsbt ¶
func (x *SignVirtualPsbtResponse) GetSignedPsbt() []byte
func (*SignVirtualPsbtResponse) ProtoMessage ¶
func (*SignVirtualPsbtResponse) ProtoMessage()
func (*SignVirtualPsbtResponse) ProtoReflect ¶
func (x *SignVirtualPsbtResponse) ProtoReflect() protoreflect.Message
func (*SignVirtualPsbtResponse) Reset ¶
func (x *SignVirtualPsbtResponse) Reset()
func (*SignVirtualPsbtResponse) String ¶
func (x *SignVirtualPsbtResponse) String() string
type TxTemplate ¶
type TxTemplate struct { // An optional list of inputs to use. Every input must be an asset UTXO known // to the wallet. The sum of all inputs must be greater than or equal to the // sum of all outputs. // // If no inputs are specified, asset coin selection will be performed instead // and inputs of sufficient value will be added to the resulting PSBT. Inputs []*PrevId `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` // A map of all Taproot Asset addresses mapped to the anchor transaction's // output index that should be sent to. Recipients map[string]uint64 `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TxTemplate) Descriptor
deprecated
func (*TxTemplate) Descriptor() ([]byte, []int)
Deprecated: Use TxTemplate.ProtoReflect.Descriptor instead.
func (*TxTemplate) GetInputs ¶
func (x *TxTemplate) GetInputs() []*PrevId
func (*TxTemplate) GetRecipients ¶
func (x *TxTemplate) GetRecipients() map[string]uint64
func (*TxTemplate) ProtoMessage ¶
func (*TxTemplate) ProtoMessage()
func (*TxTemplate) ProtoReflect ¶
func (x *TxTemplate) ProtoReflect() protoreflect.Message
func (*TxTemplate) Reset ¶
func (x *TxTemplate) Reset()
func (*TxTemplate) String ¶
func (x *TxTemplate) String() string
type UnimplementedAssetWalletServer ¶
type UnimplementedAssetWalletServer struct { }
UnimplementedAssetWalletServer must be embedded to have forward compatible implementations.
func (UnimplementedAssetWalletServer) AnchorVirtualPsbts ¶
func (UnimplementedAssetWalletServer) AnchorVirtualPsbts(context.Context, *AnchorVirtualPsbtsRequest) (*taprpc.SendAssetResponse, error)
func (UnimplementedAssetWalletServer) CommitVirtualPsbts ¶ added in v0.4.0
func (UnimplementedAssetWalletServer) CommitVirtualPsbts(context.Context, *CommitVirtualPsbtsRequest) (*CommitVirtualPsbtsResponse, error)
func (UnimplementedAssetWalletServer) DeclareScriptKey ¶ added in v0.4.0
func (UnimplementedAssetWalletServer) DeclareScriptKey(context.Context, *DeclareScriptKeyRequest) (*DeclareScriptKeyResponse, error)
func (UnimplementedAssetWalletServer) FundVirtualPsbt ¶
func (UnimplementedAssetWalletServer) FundVirtualPsbt(context.Context, *FundVirtualPsbtRequest) (*FundVirtualPsbtResponse, error)
func (UnimplementedAssetWalletServer) NextInternalKey ¶
func (UnimplementedAssetWalletServer) NextInternalKey(context.Context, *NextInternalKeyRequest) (*NextInternalKeyResponse, error)
func (UnimplementedAssetWalletServer) NextScriptKey ¶
func (UnimplementedAssetWalletServer) NextScriptKey(context.Context, *NextScriptKeyRequest) (*NextScriptKeyResponse, error)
func (UnimplementedAssetWalletServer) ProveAssetOwnership ¶
func (UnimplementedAssetWalletServer) ProveAssetOwnership(context.Context, *ProveAssetOwnershipRequest) (*ProveAssetOwnershipResponse, error)
func (UnimplementedAssetWalletServer) PublishAndLogTransfer ¶ added in v0.4.0
func (UnimplementedAssetWalletServer) PublishAndLogTransfer(context.Context, *PublishAndLogRequest) (*taprpc.SendAssetResponse, error)
func (UnimplementedAssetWalletServer) QueryInternalKey ¶ added in v0.4.0
func (UnimplementedAssetWalletServer) QueryInternalKey(context.Context, *QueryInternalKeyRequest) (*QueryInternalKeyResponse, error)
func (UnimplementedAssetWalletServer) QueryScriptKey ¶ added in v0.4.0
func (UnimplementedAssetWalletServer) QueryScriptKey(context.Context, *QueryScriptKeyRequest) (*QueryScriptKeyResponse, error)
func (UnimplementedAssetWalletServer) RemoveUTXOLease ¶ added in v0.3.0
func (UnimplementedAssetWalletServer) RemoveUTXOLease(context.Context, *RemoveUTXOLeaseRequest) (*RemoveUTXOLeaseResponse, error)
func (UnimplementedAssetWalletServer) SignVirtualPsbt ¶
func (UnimplementedAssetWalletServer) SignVirtualPsbt(context.Context, *SignVirtualPsbtRequest) (*SignVirtualPsbtResponse, error)
func (UnimplementedAssetWalletServer) VerifyAssetOwnership ¶
func (UnimplementedAssetWalletServer) VerifyAssetOwnership(context.Context, *VerifyAssetOwnershipRequest) (*VerifyAssetOwnershipResponse, error)
type UnsafeAssetWalletServer ¶
type UnsafeAssetWalletServer interface {
// contains filtered or unexported methods
}
UnsafeAssetWalletServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AssetWalletServer will result in compilation errors.
type VerifyAssetOwnershipRequest ¶
type VerifyAssetOwnershipRequest struct { ProofWithWitness []byte `protobuf:"bytes,1,opt,name=proof_with_witness,json=proofWithWitness,proto3" json:"proof_with_witness,omitempty"` // contains filtered or unexported fields }
func (*VerifyAssetOwnershipRequest) Descriptor
deprecated
func (*VerifyAssetOwnershipRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyAssetOwnershipRequest.ProtoReflect.Descriptor instead.
func (*VerifyAssetOwnershipRequest) GetProofWithWitness ¶
func (x *VerifyAssetOwnershipRequest) GetProofWithWitness() []byte
func (*VerifyAssetOwnershipRequest) ProtoMessage ¶
func (*VerifyAssetOwnershipRequest) ProtoMessage()
func (*VerifyAssetOwnershipRequest) ProtoReflect ¶
func (x *VerifyAssetOwnershipRequest) ProtoReflect() protoreflect.Message
func (*VerifyAssetOwnershipRequest) Reset ¶
func (x *VerifyAssetOwnershipRequest) Reset()
func (*VerifyAssetOwnershipRequest) String ¶
func (x *VerifyAssetOwnershipRequest) String() string
type VerifyAssetOwnershipResponse ¶
type VerifyAssetOwnershipResponse struct { ValidProof bool `protobuf:"varint,1,opt,name=valid_proof,json=validProof,proto3" json:"valid_proof,omitempty"` // contains filtered or unexported fields }
func (*VerifyAssetOwnershipResponse) Descriptor
deprecated
func (*VerifyAssetOwnershipResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyAssetOwnershipResponse.ProtoReflect.Descriptor instead.
func (*VerifyAssetOwnershipResponse) GetValidProof ¶
func (x *VerifyAssetOwnershipResponse) GetValidProof() bool
func (*VerifyAssetOwnershipResponse) ProtoMessage ¶
func (*VerifyAssetOwnershipResponse) ProtoMessage()
func (*VerifyAssetOwnershipResponse) ProtoReflect ¶
func (x *VerifyAssetOwnershipResponse) ProtoReflect() protoreflect.Message
func (*VerifyAssetOwnershipResponse) Reset ¶
func (x *VerifyAssetOwnershipResponse) Reset()
func (*VerifyAssetOwnershipResponse) String ¶
func (x *VerifyAssetOwnershipResponse) String() string