跳到主要内容

Coin Information

This endpoint allows you to fetch detailed information about a specific coin (transaction) using its unique identifier.

Endpoint

GET https://api.spacescan.io/coin/info/{coin_id}

Parameters

ParameterTypeDescription
coin_idstringThe unique identifier of the coin (transaction)
Free API

Use api.spacescan.io for free tier access. See our API Plans for rate limits and features.

Pro API

Use pro-api.spacescan.io with your API key in the x-api-key header. See our API Plans for details.

curl -X GET "https://pro-api.spacescan.io/coin/info/{coin_id}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Example

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringThe status of the API request
coinobjectDetailed information about the requested coin
coin.coin_namestringThe unique identifier of the coin
coin.coinbasebooleanIndicates if this is a coinbase transaction
coin.confirmed_blockstringThe block number where this coin was confirmed
coin.spent_blockstringThe block number where this coin was spent (if applicable)
coin.amountstringThe amount of the coin in XCH
coin.amount_mojostringThe amount of the coin in mojo (smallest unit)
coin.confirmed_timestringThe timestamp when the coin was confirmed
coin.senderobjectInformation about the sender of the coin
coin.receiverobjectInformation about the receiver of the coin
coin.typestringThe type of the coin (e.g., "STND" for standard)
coin.timestampnumberUnix timestamp of the transaction

Error Responses

HTTP Status CodeMeaning
400Bad Request -- Your request is invalid.
404Not Found -- The specified coin could not be found.
429Too Many Requests -- You're requesting too many coins! Slow down!
500Internal Server Error -- We had a problem with our server. Try again later.
503Service Unavailable -- We're temporarily offline for maintenance. Please try again later.