⚙️
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. Blockchain Smart-Contract

Plaque Price Method

The plaquePrice() is a public method that allows users to get the current TPA price.

function plaquePrice() public view (uint256)

Input & Output

This method takes no input parameters. It returns a uint256 value representing the current TPA price in wei.

Usage

To use this method in your web3 code, you can create a new instance of the StageMeta contract and call the plaquePrice() method like this:

const tpaPriceWei = await stageMetaContract.plaquePrice()
console.log("TPA Price in eth:", utils.formatEther(tpaPriceWei));
PreviousBlockchain Smart-ContractNextCheck mintTranfer Method

Last updated 2 years ago