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. Transactions

Indexing Transaction

Users can trigger the indexing of transactions on the Magna platform by providing either the transaction ID or transaction hash.

This functionality ensures that transaction details are accurately recorded and indexed on the Magna platform and accessible within the platform for further analysis or processing.

Example request:

curl -X POST <https://app.magna.so/api/external/v1/transactions/indexing> \\
-H 'Content-Type: application/json' \\
-H 'x-magna-api-token: magna_project_api_token' \\
-d '{
"transactionId": "your_transaction_id",
"transactionHash": "your_transaction_hash"
}'
  • magna_project_api_token (required) - replace with your actual Magna API token

  • your_transaction_id (required) - with your transaction id

  • your_transaction_hash (required) - with processed transaction hash

Response example:

{
  "isProcessed": true
}

PreviousTransaction Signing ParametersNextTokens

Last updated 11 months ago

Was this helpful?