You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1, script_key filtering would be useful in the case of a pocket universe operator. We implemented this in a roundabout way on Tajfi-server by first calling the UTXOs RPC, filtering the response by script_key, and then reconstructing balances accordingly. (this is assuming the Tajfi-serving is responding to a user's request for their balances, whereby the user provides us their pubkey, which is used as the script_key for all their Taproot Asset vUTXOs)
@GeorgeTsagk, @itsrachelfish plans to update the structure for ListAssetRequest in rpcserver.go to include a new filter parameter. Will you ACK/NACK approach?
Description
We should add filters to the
ListAssets
call, so that only assets that satisfy certain criteria are returned.Examples of such filters could be:
GroupKey
: only return assets that belong to the group with this keyMinAmount
: only return assets with amount greater or equal to this valueMaxAmount
: only return assets with amount less or equal to this valueScriptKey
: return all assets that use this script keyAnchorOutpoint
: return all assets that are currently anchored on this outpointThe text was updated successfully, but these errors were encountered: