⚙️
API Docs
  • Welcome!
  • Quick Start
  • Reference
    • API Reference
      • Plaque Lookup API
      • Plaques Prepare API
      • Owner Username API
      • Featured Plaques API
      • Latest contract API
      • Plaques List API
      • Buy Plaque API
      • Stage Wallet Authentication API
      • Email Verification API
      • Request For Private Key API
      • Private Key API
      • Orders Statistics API
      • User Profile API
    • Blockchain Smart-Contract
      • Plaque Price Method
      • Check mintTranfer Method
      • MintTransfer method
      • Token Owners Method
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Latest contract API

The Contract API is used to retrieve the latest deployed version of the Stagemeta contract. This API provides a JSON response containing the contract's address and ABI.

Latest contract API

GET https://api.stagemeta.dev/contracts/latest

{
  "id": 12,
  "createdAt": "2023-01-28T17:36:38.542Z",
  "updatedAt": "2023-01-28T17:36:38.542Z",
  "deletedAt": null,
  "version": "1.1.0",
  "address": "0x83dda28e561f84cffbf8faa74f99ec57ed5dd093",
  "status": "ACTIVE",
  "abiAddress": "https://cdn.stagemeta.world/contracts/1.1.1.json"
}

curl -X 'GET' \ 'https://api.stagemeta.dev/contracts/latest' \ -H 'accept: application/json'
fetch('https://api.stagemeta.dev/contracts/latest', {
  method: 'GET',
  headers: {
    'accept': 'application/json'
  }
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error))
PreviousFeatured Plaques APINextPlaques List API

Last updated 2 years ago