external
contract

GET /contracts/{pubkey}/code

Changed on

Get contract code by pubkey

Request

  • Base URL
    /v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v2/contracts/{pubkey}/code
  • Auth
    none declared

Path parameters

pubkeystring required

The pubkey of the contract

Response

Contract code

bytecodestring required

Base64Check encoded tagged byte array

Changes