Magna API Documentation
  • Introduction
  • Authentication
  • Allocations
    • Allocation List
    • Allocation by ID
    • Claim Allocation Tokens
    • Schedule
  • Transactions
    • Transaction Signing Parameters
    • Indexing Transaction
  • Tokens
    • Tokens List
    • Token Summary
  • Nodes
  • Use Cases
  • Security Considerations
  • Webhooks
    • Getting Started
    • Register Webhooks
    • Security
    • Payload Schemas
    • FAQs
  • Claim Portal API
    • Allocations
    • Parameters
  • Protocol Hooks
Powered by GitBook
On this page

Was this helpful?

  1. Tokens

Token Summary

Users can retrieve a comprehensive summary of token-related metrics from the Magna platform, including total supply, total received tokens, total allocation amount, total allocation count, and funded amount. This summary provides valuable insights into the token ecosystem and facilitates informed decision-making regarding token management and distribution.

Example request:

curl -X GET <https://app.magna.so/api/external/v1/tokens/{your_token_id}/summary> \\
-H 'Content-Type: application/json' \\
-H 'x-magna-api-token: magna_project_api_token'
  • magna_project_api_token (required) - replace with your actual Magna API token

  • your_token_id (required) - with your token id

Response example:

{
  "isProcessed": true,
  "result": {
    "totalSupply": "18446694073.709552",
    "totalReceived": "4.453278",
    "totalAllocationAmount": "20",
    "totalAllocationCount": 2,
    "funded": "9.999996"
  }
}
PreviousTokens ListNextNodes

Last updated 11 months ago

Was this helpful?