Get raw code and abi

post

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

Body
account_nameany ofRequired
stringOptional

String representation of privileged EOSIO name type

Pattern: ^(eosio[\.][a-z1-5]{1,6})([a-j]{1})?$
or
stringOptional

String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5

Pattern: ^([a-z]{1}[a-z1-5]{11})([a-j]{1})?$
or
stringOptional

String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed

Pattern: ^([a-z1-5]{1,12})([a-j]{1})?$
or
stringOptional

String representation of EOSIO name type

Pattern: ^([a-z1-5]{1}[a-z1-5\.]{0,10}[a-z1-5]{1})([a-j]{1})?$
Responses
200
OK
application/json
post
POST /v1/chain/get_raw_code_and_abi HTTP/1.1
Host: eos.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 23

{
  "account_name": "text"
}
200

OK

{
  "account_name": "text",
  "wasm": "text",
  "abi": "text"
}