Skip to main content

REST Endpoints

Here's a list of all the REST API endpoints available in TaprootAssets.

REST PathREST MethodRPC
/v1/taproot-assets/addrsGETtaprpc.QueryAddrs
/v1/taproot-assets/addrsPOSTtaprpc.NewAddr
/v1/taproot-assets/addrs/decodePOSTtaprpc.DecodeAddr
/v1/taproot-assets/addrs/receivesPOSTtaprpc.AddrReceives
/v1/taproot-assets/assetsGETtaprpc.ListAssets
/v1/taproot-assets/assetsPOSTmintrpc.MintAsset
/v1/taproot-assets/assets/balanceGETtaprpc.ListBalances
/v1/taproot-assets/assets/groupsGETtaprpc.ListGroups
/v1/taproot-assets/assets/meta/asset-id/{asset_id_str}GETtaprpc.FetchAssetMeta
/v1/taproot-assets/assets/mint/batches/{batch_key}GETmintrpc.ListBatches
/v1/taproot-assets/assets/mint/cancelPOSTmintrpc.CancelBatch
/v1/taproot-assets/assets/mint/finalizePOSTmintrpc.FinalizeBatch
/v1/taproot-assets/assets/mint/fundPOSTmintrpc.FundBatch
/v1/taproot-assets/assets/mint/sealPOSTmintrpc.SealBatch
/v1/taproot-assets/assets/transfersGETtaprpc.ListTransfers
/v1/taproot-assets/assets/utxosGETtaprpc.ListUtxos
/v1/taproot-assets/burnPOSTtaprpc.BurnAsset
/v1/taproot-assets/burnsGETtaprpc.ListBurns
/v1/taproot-assets/channels/encode-custom-dataPOSTtapchannelrpc.EncodeCustomRecords
/v1/taproot-assets/channels/fundPOSTtapchannelrpc.FundChannel
/v1/taproot-assets/channels/invoicePOSTtapchannelrpc.AddInvoice
/v1/taproot-assets/channels/invoice/decodePOSTtapchannelrpc.DecodeAssetPayReq
/v1/taproot-assets/channels/send-paymentPOSTtapchannelrpc.SendPayment
/v1/taproot-assets/debuglevelPOSTtaprpc.DebugLevel
/v1/taproot-assets/events/asset-mintPOSTmintrpc.SubscribeMintEvents
/v1/taproot-assets/events/asset-receivePOSTtaprpc.SubscribeReceiveEvents
/v1/taproot-assets/events/asset-sendPOSTtaprpc.SubscribeSendEvents
/v1/taproot-assets/getinfoGETtaprpc.GetInfo
/v1/taproot-assets/proofs/decodePOSTtaprpc.DecodeProof
/v1/taproot-assets/proofs/exportPOSTtaprpc.ExportProof
/v1/taproot-assets/proofs/verifyPOSTtaprpc.VerifyProof
/v1/taproot-assets/rfq/buyoffer/asset-id/{asset_specifier.asset_id_str}POSTrfqrpc.AddAssetBuyOffer
/v1/taproot-assets/rfq/buyorder/asset-id/{asset_specifier.asset_id_str}POSTrfqrpc.AddAssetBuyOrder
/v1/taproot-assets/rfq/ntfsPOSTrfqrpc.SubscribeRfqEventNtfns
/v1/taproot-assets/rfq/priceoracle/assetratesGETpriceoraclerpc.QueryAssetRates
/v1/taproot-assets/rfq/quotes/peeracceptedGETrfqrpc.QueryPeerAcceptedQuotes
/v1/taproot-assets/rfq/selloffer/asset-id/{asset_specifier.asset_id_str}POSTrfqrpc.AddAssetSellOffer
/v1/taproot-assets/rfq/sellorder/asset-id/{asset_specifier.asset_id_str}POSTrfqrpc.AddAssetSellOrder
/v1/taproot-assets/sendPOSTtaprpc.SendAsset
/v1/taproot-assets/stopPOSTtaprpc.StopDaemon
/v1/taproot-assets/universe/deleteDELETEuniverserpc.DeleteAssetRoot
/v1/taproot-assets/universe/federationGETuniverserpc.ListFederationServers
/v1/taproot-assets/universe/federationPOSTuniverserpc.AddFederationServer
/v1/taproot-assets/universe/federationDELETEuniverserpc.DeleteFederationServer
/v1/taproot-assets/universe/infoGETuniverserpc.Info
/v1/taproot-assets/universe/keys/asset-id/{id.asset_id_str}GETuniverserpc.AssetLeafKeys
/v1/taproot-assets/universe/leaves/asset-id/{asset_id_str}GETuniverserpc.AssetLeaves
/v1/taproot-assets/universe/multiversePOSTuniverserpc.MultiverseRoot
/v1/taproot-assets/universe/proofs/asset-id/{id.asset_id_str}/{leaf_key.op.hash_str}/{leaf_key.op.index}/{leaf_key.script_key_str}GETuniverserpc.QueryProof
/v1/taproot-assets/universe/proofs/asset-id/{key.id.asset_id_str}/{key.leaf_key.op.hash_str}/{key.leaf_key.op.index}/{key.leaf_key.script_key_str}POSTuniverserpc.InsertProof
/v1/taproot-assets/universe/proofs/push/asset-id/{key.id.asset_id_str}/{key.leaf_key.op.hash_str}/{key.leaf_key.op.index}/{key.leaf_key.script_key_str}POSTuniverserpc.PushProof
/v1/taproot-assets/universe/rootsGETuniverserpc.AssetRoots
/v1/taproot-assets/universe/roots/asset-id/{id.asset_id_str}GETuniverserpc.QueryAssetRoots
/v1/taproot-assets/universe/statsGETuniverserpc.UniverseStats
/v1/taproot-assets/universe/stats/assetsGETuniverserpc.QueryAssetStats
/v1/taproot-assets/universe/stats/eventsGETuniverserpc.QueryEvents
/v1/taproot-assets/universe/syncPOSTuniverserpc.SyncUniverse
/v1/taproot-assets/universe/sync/configGETuniverserpc.QueryFederationSyncConfig
/v1/taproot-assets/universe/sync/configPOSTuniverserpc.SetFederationSyncConfig
/v1/taproot-assets/wallet/internal-key/nextPOSTassetwalletrpc.NextInternalKey
/v1/taproot-assets/wallet/internal-key/{internal_key}GETassetwalletrpc.QueryInternalKey
/v1/taproot-assets/wallet/ownership/provePOSTassetwalletrpc.ProveAssetOwnership
/v1/taproot-assets/wallet/ownership/verifyPOSTassetwalletrpc.VerifyAssetOwnership
/v1/taproot-assets/wallet/script-key/declarePOSTassetwalletrpc.DeclareScriptKey
/v1/taproot-assets/wallet/script-key/nextPOSTassetwalletrpc.NextScriptKey
/v1/taproot-assets/wallet/script-key/{tweaked_script_key}GETassetwalletrpc.QueryScriptKey
/v1/taproot-assets/wallet/utxo-lease/deletePOSTassetwalletrpc.RemoveUTXOLease
/v1/taproot-assets/wallet/virtual-psbt/anchorPOSTassetwalletrpc.AnchorVirtualPsbts
/v1/taproot-assets/wallet/virtual-psbt/commitPOSTassetwalletrpc.CommitVirtualPsbts
/v1/taproot-assets/wallet/virtual-psbt/fundPOSTassetwalletrpc.FundVirtualPsbt
/v1/taproot-assets/wallet/virtual-psbt/log-transferPOSTassetwalletrpc.PublishAndLogTransfer
/v1/taproot-assets/wallet/virtual-psbt/signPOSTassetwalletrpc.SignVirtualPsbt