FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST get_abi
Retrieves the ABI for a contract based on its account name
account_name
- string
Required
Must be one of:
- NamePrivileged - String representation of privileged EOSIO name type
- NameBasic - String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
- NameBid - String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
- NameCatchAll - String representation of EOSIO name type
curl --location --request POST 'https://eos.getblock.io/v1/chain/get_abi' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"account_name": "playuplandme"}'
{ "abi": { "abi_extensions": [], "action_results": [], "actions": [ { "name": "payforcpu", "ricardian_contract": "", "type": "payforcpu" }, { "name": "removetemp", "ricardian_contract": "", "type": "removetemp" }, ], "error_messages": [], "kv_tables": {}, "ricardian_clauses": [], "structs": [ { "base": "", "fields": [ { "name": "p151", "type": "uint64" }, { "name": "p152", "type": "name" }, { "name": "p153", "type": "asset" } ], "name": "unstakeSparksFromPlant" } ], "tables": [ { "index_type": "i64", "key_names": [], "key_types": [], "name": "collections", "type": "Collection" }, { "index_type": "i64", "key_names": [], "key_types": [], "name": "revealedcol", "type": "RevealedCollection" } ], "types": [], "variants": [ { "name": "variant_uint64_asset", "types": [ "uint64", "asset" ] } ], "version": "eosio::abi/1.2" }, "account_name": "playuplandme" }