Skip to main content

get_abi

Retrieves the ABI for a contract based on its account name

Request Body
account_name Name REQUIRED

Possible values: Value must match regular expression ^[a-z]{1}[a-z1-5.]{1,10}[a-z1-5]{1}$

String representation of basic Inery name type, must be between 3 and 12 characters and contain only a-z and 1-5 and dot(.), but not at the end of the string.

Responses
200

OK

Schema
version string REQUIRED
types object[] REQUIRED
new_type_name CppSignature REQUIRED

Possible values: Value must match regular expression ^([a-z1-9]{1}[a-z1-9_]{0,30}[a-z1-9]{1})$

C++ variable signature

type Type REQUIRED

Possible values: [uint8, uint16, uint32, uint64, uint128, float32, float64, float128, bytes, name, string, time_point, time_point_sec, symbol_code, symbol, asset, checksum160, checksum256, checksum521, public_key, private_key, signature, account_name, action_name]

Native and Inery types

structs object[] REQUIRED
name CppSignature REQUIRED

Possible values: Value must match regular expression ^([a-z1-9]{1}[a-z1-9_]{0,30}[a-z1-9]{1})$

C++ variable signature

base string REQUIRED
fields object[] REQUIRED
name CppSignature REQUIRED

Possible values: Value must match regular expression ^([a-z1-9]{1}[a-z1-9_]{0,30}[a-z1-9]{1})$

C++ variable signature

type Type REQUIRED

Possible values: [uint8, uint16, uint32, uint64, uint128, float32, float64, float128, bytes, name, string, time_point, time_point_sec, symbol_code, symbol, asset, checksum160, checksum256, checksum521, public_key, private_key, signature, account_name, action_name]

Native and Inery types

actions object[] REQUIRED
name Name REQUIRED

Possible values: Value must match regular expression ^[a-z]{1}[a-z1-5.]{1,10}[a-z1-5]{1}$

String representation of basic Inery name type, must be between 3 and 12 characters and contain only a-z and 1-5 and dot(.), but not at the end of the string.

type Name REQUIRED

Possible values: Value must match regular expression ^[a-z]{1}[a-z1-5.]{1,10}[a-z1-5]{1}$

String representation of basic Inery name type, must be between 3 and 12 characters and contain only a-z and 1-5 and dot(.), but not at the end of the string.

ricardian_contract string REQUIRED
tables object[] REQUIRED
name Name REQUIRED

Possible values: Value must match regular expression ^[a-z]{1}[a-z1-5.]{1,10}[a-z1-5]{1}$

String representation of basic Inery name type, must be between 3 and 12 characters and contain only a-z and 1-5 and dot(.), but not at the end of the string.

index_type IndexType REQUIRED

Possible values: [i64]

key_names CppSignature[]

Possible values: Value must match regular expression ^([a-z1-9]{1}[a-z1-9_]{0,30}[a-z1-9]{1})$

key_types KeyType[]

Possible values: [uint64, double]

type CppSignature

Possible values: Value must match regular expression ^([a-z1-9]{1}[a-z1-9_]{0,30}[a-z1-9]{1})$

C++ variable signature

abi_extensions Extension[] REQUIRED
error_messages string[] REQUIRED
ricardian_clauses string[] REQUIRED
variants string[] REQUIRED