MCPcopy Create free account
hub / github.com/AudiusProject/apps / writeTrackToChain

Method writeTrackToChain

packages/libs/src/api/Track.ts:459–482  ·  view source on GitHub ↗

* Adds the given track's metadata to chain for this user, optionally creating a trackId if one doesn't exist.

(
    userId: number,
    trackMetadata: TrackMetadata,
    action: Action,
    trackId?: number
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

addTracksToChainV2Method · 0.95
updateTrackV2Method · 0.95

Calls 4

generateTrackIdMethod · 0.95
_parseTrackMetadataMethod · 0.80
toStringMethod · 0.80
manageEntityMethod · 0.45

Tested by

no test coverage detected