Get Contract Version at a Specific Block

get

/v1/contracts/{address}/at/{blockNum}

Returns the full metadata for a registered contract at a particular address applicable at the given block number, if it is available in the contract registry.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Returns the requested contract version.
Body ()
Root Schema : VersionRecord
Type: object
Metadata for a specific version of a deployed contract.
Show Source
Nested Schema : abi
Type: array
Contract ABI entries associated with this version.
Show Source
Nested Schema : AsOf
Type: object
Chain reference that identifies a contract version snapshot.
Show Source
Nested Schema : storageLayouts
Type: array
Storage layout variants associated with this version.
Show Source
Nested Schema : items
Type: object
Nested Schema : StorageLayoutVariantRef
Type: object
Storage layout variant associated with a contract version.
Show Source
Examples

404 Response

Contract version not found.
Back to Top