HTML Embed
Last updated
Last updated
All Mintplex projects come with the ability to embed an HTML button that makes minting simple and concise. It works anywhere you can paste arbitrary HTML values (Squarespace, Webflow, etc).
Currently only ERC-721A contracts are supported by this endpoint.
GET
https://us-central1-nft-rampp.cloudfunctions.net/api/integration/embed-button/:contractAddress/:network/html
Will return HTML embed that will render any buttons relevant to mint (mint with fiat/ERC-20) for users to be able to mint on contract. This embed handles any and all relevant logic around minting. If embedding in iframe please ensure browser extensions have a context within that window or MetaMask/wallets will not be available.
Name | Type | Description |
---|---|---|
:contractAddress*
String
Contract address of the contract in question. MUST be a mintplex contract
:network*
String
Chain that contract address is on eg. ethereum, goerli, polygon, mumbai, optimism, goerliOptimism, arbitrum, goerliArbitrum, avalanche, testnetAvalanche, binance, testnetBinance