Get Transaction by ID
Retrieve detailed information about specific stablecoin transactions using their unique transaction ID
📄 Endpoint
- Base URL: https://api.stablecraft.io/v1
- Replace :id with the unique ID of the transaction you want to retrieve.
🔐 Authentication
Include your API key as a Bearer token in the request header:
📥 Sample Request
Or using JavaScript:
📤 Sample Response
Field Description
- id: Unique identifier for the transaction
- status: Current transaction status (pending, confirmed, or failed)
- asset: Stablecoin used in the transaction
- amount: Amount transferred
- from_wallet_id: ID of the wallet that sent the transaction
- to_address: Blockchain address receiving the funds
- created_at: When the transaction was initiated
- confirmed_at: When the transaction was confirmed on-chain (if confirmed)
- transaction_hash: Blockchain hash of the transaction (for explorers)
⚠️ Notes
- Based on network conditions, transaction statuses can change from pending to confirmed or failed.
- You can use the transaction_hash to look up the transaction on a blockchain explorer like Etherscan.
- If the transaction ID does not exist, the API returns a 404 Not Found error.