Install required packages:
npm i
Install vercel cli:
npm i -g vercel
Run project locally:
vercel dev
https://nft.superfluid.finance/cfa/v2/getmeta
example: https://nft.superfluid.finance/cfa/v2/getmeta?chain_id=137&token_address=0xa794221d92d77490ff319e95da1461bdf2bd3953&token_symbol=TDLx&token_decimals=18&sender=0x658e1b019f2f30c8089a9ae3ae5820f335bd9ce4&receiver=0x0aff3384ef1299290a052b5b779bf6c231110841&flowRate=3805175038051&start_date=1683534760&outgoing=false
https://nft.superfluid.finance/cfa/v2/getsvg
example: https://nft.superfluid.finance/cfa/v2/getsvg?chain_id=137&token_address=0xa794221d92d77490ff319e95da1461bdf2bd3953&token_symbol=TDLx&token_decimals=18&sender=0x658e1b019f2f30c8089a9ae3ae5820f335bd9ce4&receiver=0x0aff3384ef1299290a052b5b779bf6c231110841&flowRate=3805175038051&start_date=1683534760&outgoing=false
https://nft.superfluid.finance/cfa/v1/getmeta
example: https://nft.superfluid.finance/cfa/v1/getmeta?chain_id=137&token_address=0xa794221d92d77490ff319e95da1461bdf2bd3953&token_symbol=TDLx&token_decimals=18&sender=0x658e1b019f2f30c8089a9ae3ae5820f335bd9ce4&receiver=0x0aff3384ef1299290a052b5b779bf6c231110841&flowRate=3805175038051&start_date=1683534760
https://nft.superfluid.finance/api/v1/existential/getmeta
example: https://nft.superfluid.finance/api/v1/existential/getmeta?name=Superfluid+ENFT+Test&description=Testing+Superfluid+ENFT+with+NFT+APi+url&chain=80001&ipfs=QmPCBTpSfqWecRgoQRWZ87Q9CmE2NTVEHVHCqHTck3Pbih&symbol=TSFT&token=0x42bb40bf79730451b11f6de1cba222f17b87afd7&sender=0xab1d164065aed9a3e42fca42c2c20997f369a2b0&recipient=0xdf3d1c11752b35a5a3d984cc86e5a535745412fe&flowrate=380517503805&clone=0x2740e4f074edde41f5ee081f53d96c6a7020fd4c
https://nft.superfluid.finance/cfa/v1/getsvg
example: https://nft.superfluid.finance/cfa/v1/getsvg?chain_id=137&token_address=0xa794221d92d77490ff319e95da1461bdf2bd3953&token_symbol=TDLx&token_decimals=18&sender=0x658e1b019f2f30c8089a9ae3ae5820f335bd9ce4&receiver=0x0aff3384ef1299290a052b5b779bf6c231110841&flowRate=3805175038051&start_date=1683534760
https://nft.superfluid.finance/api/v1/existential/getsvg
example: https://nft.superfluid.finance/api/v1/existential/getsvg?name=Superfluid%2BENFT%2BTest&description=Testing%2BSuperfluid%2BENFT%2Bwith%2BNFT%2BAPi%2Burl&chain=80001&symbol=TSFT&token=0x42bb40bf79730451b11f6de1cba222f17b87afd7&sender=0xab1d164065aed9a3e42fca42c2c20997f369a2b0&recipient=0xdf3d1c11752b35a5a3d984cc86e5a535745412fe&flowrate=380517503805&clone=0x2740e4f074edde41f5ee081f53d96c6a7020fd4c
chain_id
- Network ID
Supported networks:
5 - Goerli
10 - Optimism
56 - BNB Smart Chain
100 - Gnosis Chain
137 - Polygon
80001 - Polygon Mumbai
42161 - Arbitrum One
43113 - Fuji (C-Chain)
43114 - Avalanche C
8453 - Base
token_address
- Super token address
token_symbol
- Token symbol
token_decimals
- Refers to how divisible a token can be. (0 - 18)
sender
- Sender address
receiver
- Receiver address
flowRate
- Flow rate
start_date
- Start date UNIX timestamp
outgoing
- Boolean to detect if the NFT is for sender or receiver (true|false). This is used only in V2 endpoints.