Returns the contract code (Wasm binary) deployed to the account.

post/EXPERIMENTAL_view_code

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

idstring

JSON-RPC request id. Auto-populated; can be any string.

jsonrpc'2.0'

JSON-RPC protocol version. Always 2.0.

method'EXPERIMENTAL_view_code' required

Response

OR

Changes

    • breaking

      added subschema #2 subschema #3 subschema #4 to the /// response property oneOf list for the response status

    • info

      removed subschema #2 subschema #3 subschema #4 from the /// response property oneOf list for the response status

    • breaking

      added subschema #2 to the response body oneOf list for the response status

    • info

      removed from the response body oneOf list for the response status