Upload
Upload Data to the Blockchain
Last updated
Upload Data to the Blockchain
Last updated
Every transaction on the blockchain is a data bundle. Instead of integrating locking and unlocking scripts to the UTXO, one can also upload arbitrary data.
A common use case for uploads is to store NFT images or videos in protocol format directly on-chain instead of on a server, to ensure the long term availability of the media file.
Our media /upload endpoint is currently available via API to seamlessly upload files.
POST
https://api.relysia.com/upload
The /upload endpoint broadcasts a media file (supplied as URL) to the blockchain (in B:// protocol format).
walletID
string
fileUrl*
string
fileName*
string
Same shall apply to the /upload endpoint.