# {Un}pack API Documentation
## Docs
- [Start Here](https://docs.unpack.dev/doc-535253.md):
## API Docs
- Networks [List Networks](https://docs.unpack.dev/api-7504293.md): Gets details for all supported networks
- Access Control List (ACL) [Get Your API Key](https://docs.unpack.dev/api-7519894.md): Retrieve the current API key.
- Accounts (Addresses) [Get Accounts by Tags](https://docs.unpack.dev/api-7504256.md): Gets the account details for a specified network filtered by tags with pagination. Useful for querying account data with specific tags.
- Accounts (Addresses) [List Accounts](https://docs.unpack.dev/api-7504257.md): List all accounts details for a specified network with pagination.
- Accounts (Addresses) [Get Account](https://docs.unpack.dev/api-7504258.md): Gets the account details for a specified network and address. Useful for querying individual account data.
- Simulator [Simulate Transaction](https://docs.unpack.dev/api-7660742.md): This endpoint allows users to simulate the execution of a smart contract transaction on a specified blockchain network. The simulation provides detailed information about gas usage, execution trace, and potential outcomes without broadcasting the transaction to the network. This is useful for testing and validation purposes.
**NOTE**: Endpoint is under alpha preview and as such expect errors. Please do report any error over our official Discord channel.
- Audits [Perform Contract Audit](https://docs.unpack.dev/api-7522708.md): This endpoint performs an audit on a specified contract, returning detailed audit data including safety levels, compiler info, and more.
- Audits [Get Audits by Safety Level](https://docs.unpack.dev/api-7522709.md): This endpoint retrieves audit data for contracts filtered by specified safety levels, including counts of contracts and various analyses.
- Audits [List Audits](https://docs.unpack.dev/api-7522710.md): This endpoint retrieves audit data including counts of contracts, metadata, and various analysis constructs useful for smart contract analysis.
- Audits [Get Audit by Contract](https://docs.unpack.dev/api-7522711.md): This endpoint retrieves audit data for a specific contract, including counts of contracts, metadata, and various analysis constructs.
- Unpack [Unpack ABI](https://docs.unpack.dev/api-7504306.md): Retrieve or unpack the ABI for a specified contract address or bytecode on a specified network.
- Unpack [Unpack Contract](https://docs.unpack.dev/api-7504307.md): Retrieve or unpack the contract details for a specified contract address on a specified network.
- Unpack [Unpack Event by Contract Signature](https://docs.unpack.dev/api-7504308.md): Retrieve and unpack the event for a specified contract address and signature on a specified network.
- Unpack [Unpack Events by Signature](https://docs.unpack.dev/api-7504309.md): Retrieve and unpack the events for a specified signature on a specified network.
- Unpack [Unpack Function by Contract Signature](https://docs.unpack.dev/api-7504310.md): Retrieve and unpack the function for a specified contract address and signature on a specified network.
- Unpack [Unpack Functions by Signature](https://docs.unpack.dev/api-7504311.md): Retrieve and unpack the functions for a specified signature on a specified network.
- Unpack [Unpack Opcodes](https://docs.unpack.dev/api-7504312.md): Retrieve the opcode details for a specified contract address or bytecode on a specified network.
- Unpack [Unpack Transaction By Hash](https://docs.unpack.dev/api-7504313.md): Retrieve and unpack the transaction details for a specified transaction hash on a specified network.
- Abstract Syntax Tree (AST) [Get Contract AST](https://docs.unpack.dev/api-7504259.md): Gets the Abstract Syntax Tree (AST) details for a contract on a specified network by address. Useful for Solidity smart contract AST investigations. The AST provides a detailed structure of the contract's code, which can be useful for various analysis and debugging purposes.
- Abstract Syntax Tree (AST) [Get Contract Constants](https://docs.unpack.dev/api-7504260.md): Gets the constant variables for a contract on a specified network by address. Useful for Solidity smart contract investigations. Constant variables are those that do not change and can provide insight into the contract's configuration and logic.
- Abstract Syntax Tree (AST) [Get Contract Constructors](https://docs.unpack.dev/api-7504261.md): Gets the constructors for a contract on a specified network by address. Useful for Solidity smart contract investigations. Constructors are special functions that are executed once when the contract is deployed.
- Abstract Syntax Tree (AST) [Get Contract Definitions](https://docs.unpack.dev/api-7504262.md): Gets the contract definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Contract definitions describe the main components of the contract.
- Abstract Syntax Tree (AST) [Get Contract Documentation](https://docs.unpack.dev/api-7504263.md): Gets the documentation comments for a contract on a specified network by address. Useful for Solidity smart contract investigations. Documentation comments provide insight into the contract's functionality and design.
- Abstract Syntax Tree (AST) [Get Contract Enums](https://docs.unpack.dev/api-7504264.md): Gets the enums for a contract on a specified network by address. Useful for Solidity smart contract investigations. Enums are user-defined types representing a fixed set of constants.
- Abstract Syntax Tree (AST) [Get Contract Errors](https://docs.unpack.dev/api-7504265.md): Gets the error definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Error definitions provide insight into the contract's error handling mechanisms.
- Abstract Syntax Tree (AST) [Get Contract Events](https://docs.unpack.dev/api-7504266.md): Gets the event definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Events are used to log information to the blockchain and can be listened to by external applications.
- Abstract Syntax Tree (AST) [Get Contract Functions](https://docs.unpack.dev/api-7504267.md): Gets the function definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Functions define the executable code and logic of the contract.
- Abstract Syntax Tree (AST) [Get Contract Imports](https://docs.unpack.dev/api-7504268.md): Gets the import statements for a contract on a specified network by address. Useful for Solidity smart contract investigations. Import statements show the dependencies and libraries the contract relies on.
- Abstract Syntax Tree (AST) [Get Contract Interfaces](https://docs.unpack.dev/api-7504269.md): Gets the interface definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Interfaces define the standard functions that a contract must implement.
- Abstract Syntax Tree (AST) [Get Contract Libraries](https://docs.unpack.dev/api-7504270.md): Gets the library definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Libraries are reusable pieces of code that can be called by other contracts.
- Abstract Syntax Tree (AST) [Get Contract License](https://docs.unpack.dev/api-7504271.md): Gets the license information for a contract on a specified network by address. Useful for understanding the legal usage and restrictions of a Solidity smart contract.
- Abstract Syntax Tree (AST) [Get Contract State Variables](https://docs.unpack.dev/api-7504272.md): Gets the state variable definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. State variables are permanently stored in contract storage.
- Abstract Syntax Tree (AST) [Get Contract Statistics](https://docs.unpack.dev/api-7504273.md): Retrieves detailed statistics for the Abstract Syntax Tree (AST) of a smart contract deployed on a specified network at a given address. Useful for analyzing the structure and components of a Solidity smart contract.
- Abstract Syntax Tree (AST) [Get Contract Structs](https://docs.unpack.dev/api-7504274.md): Gets the struct definitions for a contract on a specified network by address. Useful for Solidity smart contract investigations. Structs are complex data types that group variables.
- Control Flow Graphs (CFG) [List CFGs](https://docs.unpack.dev/api-7504275.md): List all Control Flow Graph (CFG) details for a specified network with pagination. Useful for querying CFG data in bulk.
- Control Flow Graphs (CFG) [Get CFG](https://docs.unpack.dev/api-7504276.md): Gets the Control Flow Graph (CFG) details for a specified network and address. Useful for querying individual CFG data.
- Constructors [List Constructors](https://docs.unpack.dev/api-7504277.md): List all constructor details for a specified network with pagination. Useful for querying constructor data in bulk.
- Constructors [Get Constructors by Contract](https://docs.unpack.dev/api-7504278.md): Gets the constructor details for a specified network and contract address with pagination. Useful for querying constructors for a specific contract.
- Contracts [Get Contracts by Addresses](https://docs.unpack.dev/api-7504279.md): Gets the contract details for a specified network and a list of addresses. Useful for querying multiple contracts at once.
- Contracts [Get Contracts by Block Number](https://docs.unpack.dev/api-7504280.md): Gets the contract details for a specified network and block number with pagination. Useful for querying contracts deployed in a specific block.
- Contracts [Get Contracts by Deployer Address](https://docs.unpack.dev/api-7504281.md): Gets the contract details for a specified network and deployer address with pagination. Useful for querying contracts deployed by a specific address.
- Contracts [Get Proxy Contracts by Addresses](https://docs.unpack.dev/api-7504282.md): Retrieves details of proxy contracts and their implementations for a specified network and a list of addresses. This endpoint is useful for querying multiple proxy contracts and their associated implementation contracts at once.
- Contracts [Get Contracts by Standards](https://docs.unpack.dev/api-7504283.md): Gets the contract details for a specified network and standards with pagination. Useful for querying contracts that adhere to specific standards.
- Contracts [Get Contract by Transaction Hash](https://docs.unpack.dev/api-7504284.md): Gets the contract details for a specified network and transaction hash. Useful for querying contracts deployed in a specific transaction.
- Contracts [List Contracts](https://docs.unpack.dev/api-7504285.md): List all contract details for a specified network with pagination. Useful for querying contract data such as deployer address, source code, abi and different metadata in bulk.
- Metadata [Get Contract Metadata](https://docs.unpack.dev/api-7504292.md): Gets the metadata details for a specified network and contract address. Useful for querying metadata of a specific contract.
- Tokens [Get Token by Contract](https://docs.unpack.dev/api-7504303.md): Gets the token details for a specified network and contract address. Useful for querying a specific token by its contract address.
- Tokens [Get Tokens by Symbol](https://docs.unpack.dev/api-7504304.md): Gets the token details for a specified network and symbol with pagination. Useful for querying tokens with a specific symbol.
- Tokens [List Tokens](https://docs.unpack.dev/api-7504305.md): List all token details for a specified network with pagination. Useful for querying token data in bulk.
- Variables [Get Variables by Name](https://docs.unpack.dev/api-7504314.md): Gets the variable details for a specified network and name with pagination. Useful for querying variables for a specific name.
- Variables [Get Variables by Contract and Name](https://docs.unpack.dev/api-7504315.md): Gets the variable details for a specified network, contract, and name with pagination. Useful for querying variables for a specific contract and name.
- Variables [Get Variables by Contract and Storage Index](https://docs.unpack.dev/api-7504316.md): Gets the variable details for a specified network, contract, and storage index with pagination. Useful for querying variables for a specific contract and storage index.
- Variables [List Variables](https://docs.unpack.dev/api-7504317.md): List all variable details for a specified network with pagination. Useful for querying variable data in bulk.
- Variables [Get Variables by Contract](https://docs.unpack.dev/api-7504318.md): Gets the variable details for a specified network and contract with pagination. Useful for querying variables for a specific contract.
- Functions [Get Functions by Contract and Name](https://docs.unpack.dev/api-7504289.md): Gets the function details for a specified network, contract, and function name with pagination. Useful for querying functions for a specific contract and name.
- Functions [List Functions](https://docs.unpack.dev/api-7504290.md): List all function details for a specified network with pagination. Useful for querying function data in bulk.
- Functions [Get Functions by Contract](https://docs.unpack.dev/api-7504291.md): Gets the function details for a specified network and contract with pagination. Useful for querying functions for a specific contract.
- Events [Get Events by Contract and Name](https://docs.unpack.dev/api-7504287.md): Gets the event details for a specified network, contract, and event name with pagination. Useful for querying events for a specific contract and name.
- Events [List Events](https://docs.unpack.dev/api-7504286.md): List all event details for a specified network with pagination. Useful for querying event data in bulk.
- Events [Get Events by Contract](https://docs.unpack.dev/api-7504288.md): Gets the event details for a specified network and contract with pagination. Useful for querying events for a specific contract.
- Standards [Get Standards by Confidences](https://docs.unpack.dev/api-7504294.md): Gets the standard details for a specified network and confidences with pagination. Useful for querying standards with specific confidences.
- Standards [Get Standards by Contract and Confidences](https://docs.unpack.dev/api-7504295.md): Gets the standard details for a specified network, contract address, and confidences with pagination. Useful for querying standards for a specific contract and confidences.
- Standards [Get Standards by Types and Confidences](https://docs.unpack.dev/api-7504296.md): Gets the standard details for a specified network, types, and confidences with pagination. Useful for querying standards with specific types and confidences.
- Standards [Get Standards by Contract, Types, and Confidences](https://docs.unpack.dev/api-7504297.md): Gets the standard details for a specified network, contract address, types, and confidences with pagination. Useful for querying standards for a specific contract, types, and confidences.
- Standards [Get Standards by Types](https://docs.unpack.dev/api-7504298.md): Gets the standard details for a specified network and types with pagination. Useful for querying standards with specific types.
- Standards [Get Standards by Contract and Types](https://docs.unpack.dev/api-7504299.md): Gets the standard details for a specified network, contract address, and types with pagination. Useful for querying standards for a specific contract and types.
- Standards [List Standards](https://docs.unpack.dev/api-7504300.md): List all standard details for a specified network with pagination. Useful for querying standards in bulk.
- Standards [Get Standards by Contract](https://docs.unpack.dev/api-7504301.md): Gets the standard details for a specified network and contract address with pagination. Useful for querying standards for a specific contract.
- Statistics [Get Global System Status](https://docs.unpack.dev/api-7537463.md): Retrieves operational status of the entire service including health of individual systems.
- Statistics [Get Database Statistics](https://docs.unpack.dev/api-7504302.md): Retrieves statistical data on blockchain-related entities stored within the database, including counts of contracts, metadata, and various analytical constructs used in smart contract development.