πŸ”ŒRe:naissance API

Re:naissance features an easy-to-use API that can be plugged into any dApp and use-case to gate it for royalties paid.

Overview

The checked-nfts API call allows you to retrieve information about NFTs and their royalty status. The API call returns a list of NFTs with relevant details such as mint address, royalties paid status, royalties paid amount, royalties to pay, and status.

Endpoint

POST https://renaissance-api.builderzlabs.workers.dev/api/v1/checked-nfts

Headers

  • "renaissance-api-key": {API_KEY}: Replace {API_KEY} with your unique API key.

Request Body

  • "mints" (required): An array of strings containing the NFT mint addresses.

  • "paginationToken" (optional): A string used for pagination. Include this field if you want to load more data.

Response Object

The response object contains the following fields:

  • checkedNfts: An array of objects with the following fields:

    • "mint": The mint address of the NFT as a string.

    • "royaltiesPaid": A boolean indicating whether royalties have been paid or not. true if royalties have been paid, false otherwise.

    • "royaltiesPaidAmount": A number representing the amount of royalties paid

    • "royaltiesToPay": A number representing the amount of royalties to be paid

    • "status": A string describing the status of the NFT.

    • "redemptionTimestamp": Timestamp when the redemption occoured (only if status = β€œpaid-with-tool”)

  • paginationToken: A string used for pagination. Include this value in your next API call to retrieve more data.

Pagination Example

Last updated