> ## Documentation Index
> Fetch the complete documentation index at: https://hedera-0c6e0218-docs--429.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GetBySolidityID

## GetBySolidityIDQuery

Get the IDs in the format used by transactions, given the ID in the format used by Solidity. If the Solidity ID is for a smart contract instance, then both the ContractID and associated AccountID will be returned.

| Field        | Type                                                                      | Description                                                                                                                                         |
| ------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `header`     | [QueryHeader](/hedera/sdks-and-apis/hedera-api/miscellaneous/queryheader) | Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither). |
| `solidityID` | string                                                                    | The ID in the format used by Solidity                                                                                                               |

## GetBySolidityIDResponse

Response when the client sends the node GetBySolidityIDQuery

| Field        | Type                                                                            | Description                                                                                                      |
| ------------ | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `header`     | [ResponseHeader](/hedera/sdks-and-apis/hedera-api/miscellaneous/responseheader) | Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither |
| `accountID`  | [AccountID](/hedera/sdks-and-apis/hedera-api/basic-types/accountid)             | The Account ID for the cryptocurrency account                                                                    |
| `fileID`     | [FileID](/hedera/sdks-and-apis/hedera-api/basic-types/fileid)                   | The file Id for the file                                                                                         |
| `contractID` | [ContractID](/hedera/sdks-and-apis/hedera-api/basic-types/contractid)           | A smart contract ID for the instance (if this is included, then the associated accountID will also be included)  |
