Skip to main content

FlowNFTDescriptor

Git Source

Inherits: IFlowNFTDescriptor

Title: FlowNFTDescriptor

See the documentation in IFlowNFTDescriptor.

Functions

tokenURI

Produces the URI describing a particular stream NFT.

Currently it returns the Sablier logo as an SVG. In the future, it will return an NFT SVG.

function tokenURI(
IERC721Metadata, /* sablierFlow */
uint256 /* streamId */
)
external
pure
override
returns (string memory uri);

Parameters

NameTypeDescription
<none>IERC721Metadata
<none>uint256

Returns

NameTypeDescription
uristringThe URI of the ERC721-compliant metadata.