Skip to main content

Core Concepts

The Meria Staking API is a unified gateway for interacting with staking protocols across multiple blockchains. It abstracts the complexity of onchain operations, making it easy for developers and platforms to offer staking, rewards, and account management features to their users.

What Does the API Do?

  • Multi-Chain Staking: Stake, unstake, and manage assets on various supported blockchains (e.g., Ethereum, Solana, Polygon, Cosmos, Near, etc.) through a single, consistent API.
  • Transaction Lifecycle Management: Forge, sign, and broadcast transactions for staking, unstaking, claiming rewards, and more, without handling protocol-specific details.
  • Account & API Key Management: Securely register accounts, generate API keys, and control access to your staking operations.
  • Reward Tracking (coming soon): Retrieve up-to-date information about staking positions, rewards, and historical snapshots.
  • Unified Security: All endpoints are protected by API keys, ensuring secure and auditable access.

Why Use the Meria Staking API?

Integrating staking and onchain features directly with each blockchain is complex and time-consuming. The Onchain Portal API solves this by:

  • Providing standardized endpoints for all supported protocols.
  • Handling protocol upgrades and edge cases internally.
  • Reducing the need for deep blockchain expertise.
  • Enabling rapid integration and faster time-to-market for your staking products.

How Does It Work?

  1. Account Creation: Register and activate your account to receive a master API key.
  2. API Key Management: Create secondary API keys for different environments or use cases.
  3. Transaction Forging: Use the API to generate unsigned transactions for staking, unstaking, or claiming rewards.
  4. Signing: Sign transactions client-side with your wallet or key management solution.
  5. Broadcasting: Submit signed transactions back to the API for broadcasting to the blockchain.
  6. Tracking: Monitor transaction status, staking positions, and rewards via dedicated endpoints.

Example Use Cases

  • Integrate staking into your wallet or exchange with minimal effort.
  • Automate reward claiming and restaking for your users.
  • Provide real-time staking analytics and reporting.
  • Support multiple blockchains without maintaining separate integrations.

Key Benefits

  • One API, Many Chains: No need to learn each protocol’s quirks.
  • Security First: API key authentication and best practices.
  • Scalable: Suitable for both startups and enterprise platforms.
  • Always Up-to-Date: Continuous support for new protocols and features.