### GET /governance/action Source: https://docs.cardanoscan.io/#description/introduction Retrieves information about a specific governance action. ```APIDOC ## GET /governance/action ### Description Get information about a specific governance action. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/action ### Query Parameters - **actionId** (string) - Required - The ID of the governance action. ### Request Example ```json { "example": "GET /api/v1/governance/action?actionId=..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains governance action details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "actionId": "...", "type": "TreasuryWithdrawal", "deposit": "1000", "submittedTxHash": "..." } } } ``` ``` -------------------------------- ### GET /asset Source: https://docs.cardanoscan.io/#description/introduction Retrieves details about a specific Cardano asset. ```APIDOC ## GET /asset ### Description Get details of a specific Cardano asset. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/asset ### Query Parameters - **assetId** (string) - Required - The unique identifier of the asset (policyId + assetName). ### Request Example ```json { "example": "GET /api/v1/asset?assetId=..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains asset details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "assetId": "...", "policyId": "...", "assetName": "...", "fingerprint": "...", "metadata": { "name": "My Token", "description": "A sample token", "icon": "ipfs://..." } } } } ``` ``` -------------------------------- ### GET /pool/list Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of all stake pools. ```APIDOC ## GET /pool/list ### Description Get a list of all stake pools. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/pool/list ### Response #### Success Response (200) - **data** (array) - A list of stake pool objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "poolId": "pool1...", "ticker": "MYPOOL" }, { "poolId": "pool2...", "ticker": "ANOTHER" } ] } } ``` ``` -------------------------------- ### GET /asset/metadata Source: https://docs.cardanoscan.io/#description/introduction Retrieves metadata for a specific asset. ```APIDOC ## GET /asset/metadata ### Description Get metadata for a specific asset. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/asset/metadata ### Query Parameters - **assetId** (string) - Required - The unique identifier of the asset. ### Request Example ```json { "example": "GET /api/v1/asset/metadata?assetId=..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains asset metadata. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "name": "My Token", "description": "A sample token", "icon": "ipfs://...", "policyId": "...", "assetName": "..." } } } ``` ``` -------------------------------- ### GET /pool Source: https://docs.cardanoscan.io/#description/introduction Retrieves details about a specific stake pool. ```APIDOC ## GET /pool ### Description Get details of a specific stake pool. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/pool ### Query Parameters - **poolId** (string) - Required - The ID of the stake pool. ### Request Example ```json { "example": "GET /api/v1/pool?poolId=pool1..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains pool details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "poolId": "pool1...", "ticker": "MYPOOL", "owners": ["stake1..."], "margin": "0.05", "pledge": "1000000000000" } } } ``` ``` -------------------------------- ### GET /transaction Source: https://docs.cardanoscan.io/#description/introduction Retrieves details about a specific transaction. ```APIDOC ## GET /transaction ### Description Get details of a specific transaction. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/transaction ### Query Parameters - **txHash** (string) - Required - The hash of the transaction. ### Request Example ```json { "example": "GET /api/v1/transaction?txHash=..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains transaction details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "hash": "...", "blockHeight": 1234567, "inputs": [...], "outputs": [...], "fee": "12345", "time": "2023-10-27T10:30:00Z" } } } ``` ``` -------------------------------- ### GET /network/state Source: https://docs.cardanoscan.io/#description/introduction Retrieves the current state of the Cardano network. ```APIDOC ## GET /network/state ### Description Get the current state of the Cardano network. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/network/state ### Response #### Success Response (200) - **data** (object) - Contains network state information. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "syncProgress": 0.99, "bestBlock": { "height": 1234567, "hash": "0x..." }, "protocolMagic": 764824073 } } } ``` ``` -------------------------------- ### GET /rewardAccount Source: https://docs.cardanoscan.io/#description/introduction Retrieves information about a reward account. ```APIDOC ## GET /rewardAccount ### Description Get information about a specific reward account. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/rewardAccount ### Query Parameters - **stakeAddress** (string) - Required - The reward account stake address. ### Request Example ```json { "example": "GET /api/v1/rewardAccount?stakeAddress=stake1..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains reward account details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "stakeAddress": "stake1...", "balance": "1000000000", "delegatedPool": "pool1..." } } } ``` ``` -------------------------------- ### GET /transaction/list Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of recent transactions. ```APIDOC ## GET /transaction/list ### Description Get a list of recent transactions. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/transaction/list ### Query Parameters - **limit** (integer) - Optional - Maximum number of transactions to return. - **offset** (integer) - Optional - Number of transactions to skip. ### Request Example ```json { "example": "GET /api/v1/transaction/list?limit=10" } ``` ### Response #### Success Response (200) - **data** (array) - A list of transaction objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "hash": "...", "blockHeight": 1234567, "fee": "12345", "time": "2023-10-27T10:30:00Z" } ] } } ``` ``` -------------------------------- ### GET /asset/list/byAddress Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of assets held by a specific address. ```APIDOC ## GET /asset/list/byAddress ### Description Get a list of assets held by a specific Cardano address. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/asset/list/byAddress ### Query Parameters - **address** (string) - Required - The Cardano address. ### Request Example ```json { "example": "GET /api/v1/asset/list/byAddress?address=addr1q..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of asset objects held by the address. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "assetId": "...", "quantity": "100" } ] } } ``` ``` -------------------------------- ### GET /stats/dailyTxFee Source: https://docs.cardanoscan.io/#description/introduction Retrieves daily transaction fee statistics for the Cardano network. ```APIDOC ## GET /stats/dailyTxFee ### Description Get daily transaction fee statistics for the Cardano network. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/stats/dailyTxFee ### Response #### Success Response (200) - **data** (array) - A list of daily transaction fee objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "date": "2023-10-26", "totalFee": "1000000000" } ] } } ``` ``` -------------------------------- ### GET /pool/stats Source: https://docs.cardanoscan.io/#description/introduction Retrieves statistics for stake pools. ```APIDOC ## GET /pool/stats ### Description Get statistics for stake pools. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/pool/stats ### Response #### Success Response (200) - **data** (object) - Contains pool statistics. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "totalPools": 3000, "activeStake": "100000000000000000", "delegators": 1000000 } } } ``` ``` -------------------------------- ### GET /governance/dRep/list Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of all Decentralized Representatives (DRep). ```APIDOC ## GET /governance/dRep/list ### Description Get a list of all Decentralized Representatives (DRep). ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/dRep/list ### Response #### Success Response (200) - **data** (array) - A list of DRep objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "dRepId": "drep1...", "name": "Example DRep" } ] } } ``` ``` -------------------------------- ### GET /address/balance Source: https://docs.cardanoscan.io/#description/introduction Retrieves the balance of a given Cardano address. ```APIDOC ## GET /address/balance ### Description Get the balance of a specific Cardano address. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/address/balance ### Query Parameters - **address** (string) - Required - The Cardano address to query. ### Request Example ```json { "example": "GET /api/v1/address/balance?address=addr1q..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains the address balance information. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "address": "addr1q...", "balance": { "lovelace": "5000000", "assets": [ { "policyId": "...", "assetId": "...", "quantity": "100" } ] } } } } ``` ``` -------------------------------- ### GET /network/protocolParams Source: https://docs.cardanoscan.io/#description/introduction Retrieves the current protocol parameters of the Cardano network. ```APIDOC ## GET /network/protocolParams ### Description Get the current protocol parameters of the Cardano network. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/network/protocolParams ### Response #### Success Response (200) - **data** (object) - Contains protocol parameters. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "minFeeA": 44, "minFeeB": 155381, "keyDeposit": 2000000, "poolDeposit": 500000000 } } } ``` ``` -------------------------------- ### GET /pool/list/expired Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of stake pools that have expired. ```APIDOC ## GET /pool/list/expired ### Description Get a list of stake pools that have expired. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/pool/list/expired ### Response #### Success Response (200) - **data** (array) - A list of expired stake pool objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "poolId": "pool1...", "ticker": "OLDPOOL", "retiredEpoch": 10 } ] } } ``` ``` -------------------------------- ### GET /transaction/summary Source: https://docs.cardanoscan.io/#description/introduction Retrieves a summary of a transaction, including inputs, outputs, and fees. ```APIDOC ## GET /transaction/summary ### Description Get a summary of a transaction. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/transaction/summary ### Query Parameters - **txHash** (string) - Required - The hash of the transaction. ### Request Example ```json { "example": "GET /api/v1/transaction/summary?txHash=..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains transaction summary details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "hash": "...", "inputs": [...], "outputs": [...], "fee": "12345" } } } ``` ``` -------------------------------- ### GET /utxo/list Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of Unspent Transaction Outputs (UTXOs) for a given address. ```APIDOC ## GET /utxo/list ### Description Get a list of Unspent Transaction Outputs (UTXOs) for a given address. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/utxo/list ### Query Parameters - **address** (string) - Required - The Cardano address. ### Request Example ```json { "example": "GET /api/v1/utxo/list?address=addr1q..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of UTXO objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "txHash": "...", "outputIndex": 0, "amount": "1000000", "assets": [] } ] } } ``` ``` -------------------------------- ### GET /pool/list/expiring Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of stake pools that are expiring soon. ```APIDOC ## GET /pool/list/expiring ### Description Get a list of stake pools that are expiring soon. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/pool/list/expiring ### Response #### Success Response (200) - **data** (array) - A list of expiring stake pool objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "poolId": "pool1...", "ticker": "MYPOOL", "retiringEpoch": 15 } ] } } ``` ``` -------------------------------- ### GET /block/latest Source: https://docs.cardanoscan.io/#description/introduction Retrieves details of the latest block on the Cardano blockchain. ```APIDOC ## GET /block/latest ### Description Get the latest block details. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/block/latest ### Response #### Success Response (200) - **data** (object) - Contains the latest block details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "hash": "0xabc...", "height": 1234567, "time": "2023-10-27T10:30:00Z", "epoch": 12, "slot": 600000, "transactions_count": 200 } } } ``` ``` -------------------------------- ### GET /governance/committee Source: https://docs.cardanoscan.io/#description/introduction Retrieves information about the Constitutional Committee (CC). ```APIDOC ## GET /governance/committee ### Description Get information about the Constitutional Committee (CC). ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/committee ### Response #### Success Response (200) - **data** (object) - Contains committee information. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "epoch": 10, "memberCount": 15 } } } ``` ``` -------------------------------- ### GET /governance/dRep Source: https://docs.cardanoscan.io/#description/introduction Retrieves details about a specific Decentralized Representative (DRep). ```APIDOC ## GET /governance/dRep ### Description Get details of a specific Decentralized Representative (DRep). ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/dRep ### Query Parameters - **dRepId** (string) - Required - The ID of the DRep. ### Request Example ```json { "example": "GET /api/v1/governance/dRep?dRepId=drep1..." } ``` ### Response #### Success Response (200) - **data** (object) - Contains DRep details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "dRepId": "drep1...", "name": "Example DRep", "metadataUrl": "ipfs://..." } } } ``` ``` -------------------------------- ### GET /asset/list/byPolicyId Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of assets belonging to a specific policy ID. ```APIDOC ## GET /asset/list/byPolicyId ### Description Get a list of assets associated with a given policy ID. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/asset/list/byPolicyId ### Query Parameters - **policyId** (string) - Required - The policy ID of the assets. ### Request Example ```json { "example": "GET /api/v1/asset/list/byPolicyId?policyId=..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of asset objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "assetId": "...", "assetName": "..." } ] } } ``` ``` -------------------------------- ### GET /votes/byAction Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of governance votes for a specific action. ```APIDOC ## GET /votes/byAction ### Description Get a list of governance votes for a specific action. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/votes/byAction ### Query Parameters - **actionId** (string) - Required - The ID of the governance action. ### Request Example ```json { "example": "GET /api/v1/votes/byAction?actionId=..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of vote objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "voterAddress": "stake1...", "vote": "No", "txHash": "..." } ] } } ``` ``` -------------------------------- ### GET /governance/ccMember Source: https://docs.cardanoscan.io/#description/introduction Retrieves information about Constitutional Committee (CC) members. ```APIDOC ## GET /governance/ccMember ### Description Get information about Constitutional Committee (CC) members. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/ccMember ### Response #### Success Response (200) - **data** (array) - A list of CC members. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "address": "stake1...", "epoch": 10 } ] } } ``` ``` -------------------------------- ### GET /governance/ccHot Source: https://docs.cardanoscan.io/#description/introduction Retrieves information about Constitutional Committee (CC) hot members. ```APIDOC ## GET /governance/ccHot ### Description Get information about Constitutional Committee (CC) hot members. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/ccHot ### Response #### Success Response (200) - **data** (array) - A list of CC hot members. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "address": "stake1...", "epoch": 10 } ] } } ``` ``` -------------------------------- ### GET /governance/committee/members Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of members of the Constitutional Committee (CC). ```APIDOC ## GET /governance/committee/members ### Description Get a list of members of the Constitutional Committee (CC). ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/governance/committee/members ### Response #### Success Response (200) - **data** (array) - A list of committee member addresses. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ "stake1...", "stake2..." ] } } ``` ``` -------------------------------- ### Get Block Details using Curl Source: https://docs.cardanoscan.io/#description/introduction Use this snippet to retrieve block details from the Cardanoscan API. Ensure you have the necessary API key for authentication. ```shell curl -X GET "https://api.cardanoscan.io/api/v1/block?blockHash=VALUE" -H "accept: application/json" -H "apiKey: YOUR_API_KEY" ``` -------------------------------- ### GET /rewardAccount/addresses Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of payment addresses associated with a reward account. ```APIDOC ## GET /rewardAccount/addresses ### Description Get a list of payment addresses linked to a reward account. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/rewardAccount/addresses ### Query Parameters - **stakeAddress** (string) - Required - The reward account stake address. ### Request Example ```json { "example": "GET /api/v1/rewardAccount/addresses?stakeAddress=stake1..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of payment addresses. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ "addr1q...", "addr1p..." ] } } ``` ``` -------------------------------- ### GET /asset/holders/byAssetId Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of addresses holding a specific asset, identified by its asset ID. ```APIDOC ## GET /asset/holders/byAssetId ### Description Get a list of addresses holding a specific asset, identified by its asset ID. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/asset/holders/byAssetId ### Query Parameters - **assetId** (string) - Required - The unique identifier of the asset. ### Request Example ```json { "example": "GET /api/v1/asset/holders/byAssetId?assetId=..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of address-asset quantity objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "address": "addr1q...", "quantity": "100" } ] } } ``` ``` -------------------------------- ### GET /votes/byVoter Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of governance votes cast by a specific voter. ```APIDOC ## GET /votes/byVoter ### Description Get a list of governance votes cast by a specific voter. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/votes/byVoter ### Query Parameters - **voterAddress** (string) - Required - The address of the voter. ### Request Example ```json { "example": "GET /api/v1/votes/byVoter?voterAddress=stake1..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of vote objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "actionId": "...", "vote": "Yes", "txHash": "..." } ] } } ``` ``` -------------------------------- ### GET /asset/holders/byPolicyId Source: https://docs.cardanoscan.io/#description/introduction Retrieves a list of addresses holding a specific asset, filtered by policy ID. ```APIDOC ## GET /asset/holders/byPolicyId ### Description Get a list of addresses holding assets associated with a policy ID. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/asset/holders/byPolicyId ### Query Parameters - **policyId** (string) - Required - The policy ID of the assets. ### Request Example ```json { "example": "GET /api/v1/asset/holders/byPolicyId?policyId=..." } ``` ### Response #### Success Response (200) - **data** (array) - A list of address-asset quantity objects. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": [ { "address": "addr1q...", "quantity": "50" } ] } } ``` ``` -------------------------------- ### GET /block Source: https://docs.cardanoscan.io/#description/introduction Retrieves details about a specific block on the Cardano blockchain. You can filter by block hash, block height, absolute slot, epoch, or slot. ```APIDOC ## GET /block ### Description Get block details. ### Method GET ### Endpoint https://api.cardanoscan.io/api/v1/block ### Query Parameters - **blockHash** (string) - Optional - Hash of the block. - **blockHeight** (integer) - Optional - Height of the block. - **absoluteSlot** (integer) - Optional - Absolute slot number. - **epoch** (integer) - Optional - Epoch number. - **slot** (integer) - Optional - Slot number within the epoch. ### Request Example ```json { "example": "GET /api/v1/block?blockHeight=1000000" } ``` ### Response #### Success Response (200) - **data** (object) - Contains block details. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "hash": "0x...", "height": 1000000, "time": "2023-01-01T12:00:00Z", "epoch": 10, "slot": 500000, "transactions_count": 150 } } } ``` ``` -------------------------------- ### POST /transaction/submit Source: https://docs.cardanoscan.io/#description/introduction Submits a signed transaction to the Cardano network. ```APIDOC ## POST /transaction/submit ### Description Submit a signed transaction to the Cardano network. ### Method POST ### Endpoint https://api.cardanoscan.io/api/v1/transaction/submit ### Request Body - **signedTx** (string) - Required - The signed transaction in CBOR format. ### Request Example ```json { "example": { "signedTx": "0x..." } } ``` ### Response #### Success Response (200) - **data** (object) - Contains the transaction hash. - **status** (string) - Indicates the status of the request. #### Response Example ```json { "example": { "status": "success", "data": { "txHash": "..." } } } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.