Skip to content
Alchemy Logo

starknet_getCompiledCasm

POST
/{apiKey}

Get the Cairo assembly (CASM) compiled contract class for the given class hash

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"required

The Sierra class hash whose compiled CASM will be returned

Responses

200

The compiled contract class in CASM format

Was this page helpful?