Utility

Utility endpoints

Refresh CarbonRegistry.com's onchain transaction indexers

Callable by any access token regardless of permissions. Calling this endpoint refreshes the CarbonRegistry.com's indexing services so they can more quickly generate transaction receipts and retirement certificates. Especially useful for onchain retirements that happen off the CarbonRegistry.com platform when users want the retirement certificate to be generated more quickly.

Refresh CarbonRegistry.com's onchain transaction indexers

post

Pings our indexers. Could be used to speed up CarbonRegistry.com's indexing of onchain data.

Responses
200Success
application/json
post
POST /carbonRegistry/onchain/indexer/refresh HTTP/1.1
Host: api.carbonregistry.com
Accept: */*
200Success
{
  "transactionId": "text",
  "success": true
}

curl -X 'POST' \
  'https://api.carbonregistry.com/carbonRegistry/onchain/indexer/refresh' \
  -H 'accept: application/json' \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"\
  -H 'x-icr-api-version: 2023-06-16'

Last updated