Jump to Content
MoonPay
GuidesAPI ReferenceProduct Changelog
Get StartedMoonPay
Guides
Get Started
GuidesAPI ReferenceProduct Changelog

👩‍🚀 moonbase

  • Advantages of our products
  • Integration examples
  • Sandbox testing guide
  • FAQ

📥 ON-RAMP

  • Overview
  • Architecture
  • Quickstart
  • Integration design guide
  • Integration Methods
    • URL Integration
    • SDK Integration
      • Web SDK
      • React SDK
      • Node.js SDK
      • React Native SDK (Mobile)
      • SDK Ramp Events
      • SDK Event Properties
  • Customization and Configuration
    • On-ramp widget parameters
    • Widget theming
    • URL signing
    • Mobile payments
  • FAQ

💰 OFF-RAMP

  • Overview
  • Architecture
  • Quickstart
  • Integration design guide
  • Integration Methods
    • URL Integration
    • SDK Integration
      • Web SDK
      • React SDK
      • Node.js SDK
      • React Native SDK (Mobile)
      • SDK Ramp Events
      • SDK Event Properties
  • Customization and Configuration
    • Off-ramp widget parameters
    • Widget theming
    • URL signing
  • FAQ

🪙 Virtual Accounts

  • Overview
  • Prerequisites
  • Integration
    • Integration Guide
    • User Journeys
  • API
    • API Reference
  • Coverage
    • Blockchains & Cryptocurrencies
    • Payment Methods
    • Country Coverage

🧾 COMMERCE (formerly Helio)

  • Documentation

⬆️ TOP-UP

  • Overview
  • Quickstart
  • Configure the Top-up user journey
  • Integrations (SDKs)
    • Web
      • Web SDK
      • Node.js SDK
      • React SDK
Powered by 

Contract

Suggest Edits

The Contract class within the HyperMint SDK allows various interactions with your HyperMint contract.

A pre-constructed code snippet can be found within the developer tab on the contract page within the dashboard.

For example:

const { Contract } = HyperMint;

const contract = new Contract({
    contractId: '<<contract id>>',
    enableLogging: true
});

See constructor() for more information.

Updated 7 months ago


What’s Next
  • Constructor