Get abi

post

Retrieves the ABI for a contract based on its 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_abi HTTP/1.1
Host: eos.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 23

{
  "account_name": "text"
}
200

OK

{
  "version": "text",
  "types": [
    {
      "new_type_name": "text",
      "type": "uint8"
    }
  ],
  "structs": [
    {
      "name": "text",
      "base": "text",
      "fields": [
        {
          "name": "text",
          "type": "uint8"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "text",
      "type": "text",
      "ricardian_contract": "text"
    }
  ],
  "tables": [
    {
      "name": "text",
      "index_type": "i64",
      "key_names": [
        "text"
      ],
      "key_types": [
        "uint64"
      ],
      "type": "text"
    }
  ],
  "abi_extensions": [
    [
      1
    ]
  ],
  "error_messages": [
    "text"
  ],
  "ricardian_clauses": [
    "text"
  ],
  "variants": [
    "text"
  ]
}

Revision created

GitBook: No commit message