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
}

Last updated

Was this helpful?