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

# ContractGetRecords

## ContractGetRecordsQuery

Get all the records for a smart contract instance, for any function call (or the constructor call) during the last 25 hours, for which a Record was requested.

| 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). |
| `contractID` | [ContractID](/hedera/sdks-and-apis/hedera-api/basic-types/contractid) | The smart contract instance for which the records should be retrieved |

## ContractGetRecordsResponse

Response when the client sends the node ContractGetRecordsQuery

| 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 |
| `contractID` | [ContractID](/hedera/sdks-and-apis/hedera-api/basic-types/contractid) | The smart contract instance that this record is for |
| `records` | [TransactionRecord](/hedera/sdks-and-apis/hedera-api/miscellaneous/transactionrecord) | List of records, each with contractCreateResult or contractCallResult as its body |
