v4.9.0
Utils.decodeOpReturn(txid)
takes a txid in as input and returns an object summarizing information about an SLP transaction. High-level information like who has the minting baton, how many tokens were sent and to whom.Utils.isTokenUtxo(utxos)
takes in an array of UTXOs. It returns an array of Boolean values indicating if the UTXO belongs to an SLP transaction or not (and is thus safe to spend).