Button Element & Properties

Instantiate the io-print-button and pass in asset data.

Create <io-print-button> element

Insert the Print Button element in your document <body> at the desired the location.

<io-print-button
  asset-url="https://ipfs.example.com/nft.mp4"
  redirect-url="https://example.com/token/12345"
  contract-id="0x1234567890"
  token-id="12345"
  owner-id="0x0987654321"
  blockchain="eth"
  item-title="NFT Artwork Title"
  theme="dark"
  >
</io-print-button>
Property
Description
Required

asset-url

URL of the NFT media to be used for the Video Print

✔️

redirect-url

URL for the QR code on the backside of the Video Print. This should be a detail page for the specific token, not a collection or listing page

✔️

contract-id

Address of the smart contract

✔️

token-id

ID of the token

✔️

owner-id

Owner's wallet address

✔️

blockchain

Chain the token is on, if different from the default specified during your onboarding. Common values are "eth", "matic", and "flow". See other accepted blockchains below.

item-title

Title of the NFT, shown at Checkout, in an order confirmation email, and used internally during fulfillment

theme

Used to indicate your page's theme. When "light" the button will render with a dark background, while "dark" will render on a light background.

Last updated