---
title: "POST /get_raw_code_and_abi"
method: POST
path: "/get_raw_code_and_abi"
---

# POST /get_raw_code_and_abi

`POST /get_raw_code_and_abi`

Retrieves raw code and ABI for a contract based on account name

## Request body

- object
  - `account_name` union, required
    - string — String representation of privileged EOSIO name type
    - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
    - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
    - string — String representation of EOSIO name type

## Response `200`

OK

- object
  - `account_name` union
    - string — String representation of privileged EOSIO name type
    - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
    - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
    - string — String representation of EOSIO name type
  - `wasm` string — base64 encoded wasm
  - `abi` string — base64 encoded ABI

---

[API](https://skmtc.net/worldwide-asset-exchange/apis/chain-api.md) · [All operations](https://skmtc.net/worldwide-asset-exchange/apis/chain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldwide-asset-exchange/chain-api/versions/5bfa22186461/schema)
