⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
eos
EOS (EOS)

Method: POST get_raw_abi

dropdown

# get_raw_abi example for EOS (EOS)

POST get_raw_abi

Returns an object containing the smart contract abi.

Parameters

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

Request

curl --location --request POST 'https://eos.getblock.io/v1/chain/get_raw_abi' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"account_name": "playuplandme"}'


Response

{
    "abi": "DmVvc2lvOjphYmkvMS4yAD0KQ29sbGVjdGlvbgADAmlkBnVpbnQ2NAt0cmFuc2FjdGlvbgtjaGVja3N1bTI1NgRkYXRhBnN0cmluZxJSZXZlYWxlZENvbGxlY3Rpb24ABQJpZAZ1aW50NjQEbmFtZQZzdHJpbmcEY2l0eQZzdHJpbmcLZGVzY3JpcHRpb24Gc3RyaW5nCWFkZHJlc3NlcwhzdHJpbmdbXQNhMjIAAwJiMwZ1aW50NjQDYTMyB2Zsb2F0NjQDYTMzB2Zsb2F0NjQDYTIzAAYDYTM0BnVpbnQ2NANhMzUEbmFtZQJiNAVhc3NldAJiNQp0aW1lX3BvaW50A2IxMQdmbG9hdDMyA2EzMQh1aW50NjRbXQNhMjUAAgNhNTEEbmFtZQNwNTUIdWludDY0W10CYTMAAQNhNTEEbmFtZQNhMzEAAgNhNDUGdWludDY0A2E0Mgh1aW50NjRbXQNhMzIAAgNhNTQEbmFtZQRwMTE1CHVpbnQ2NFtdAmE0AAUEbWVtbwZzdHJpbmcDYTQ1BnVpbnQ2NANwNDQFYXNzZXQDYTU0BG5hbWUDYTQyCHVpbnQ2NFtdAmE1AAMDYTUxBG5hbWUDYTU1BnVpbnQ2NANhNTMGdWludDMyBmFkZGNvbAACAmlkBn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AAAAAAAACZAm40AAAAAAAAAAKZA240MQAAAAAAAAAGmQNuNDMAAAAAAAAACJkDbjQ0AAAAAAAAAAqZA240NQAAAAAAAABAmQJuNQAAAAAAAABCmQNuNTEAAAAAAAAQQpkEbjUxMQAAAAAAACBCmQRuNTEyAAAAAAAAQEKZBG41MTQAAAAAAABQQpkEbjUxNQAAAAAAAABEmQNuNTIAAAAAAAAARpkDbjUzAAAAAAAAAEiZA241NAAAANAVXbq8qQlwYXlmb3JjcHUAAECVKqtNpboKcmVtb3ZldGVtcAAAAIgURaO2uglyZXZlYWxjb2wAFAAAAAAAAEgwA2k2NAAAA2EyMgAAAAAAAEowA2k2NAAAA2EyMwAAAAAAAIIwA2k2NAAABHR0MTQAAAAAAACGMANpNjQAAAV0dDE1MQAAAAAAAIgwA2k2NAAABHR0MjIAAAAAAACKMANpNjQAAAtwbGFudF9zdGFrZQDwpC4jFSNFA2k2NAAACkNvbGxlY3Rpb24AIkVJRaO2ugNpNjQAABJSZXZlYWxlZENvbGxlY3Rpb24AAAAAAABAyANpNjQAAAN0dDEAAAAAAABCyANpNjQAAAR0dDExAAAAAAAARMgDaTY0AAAEdHQxMgAAAAAAAEbIA2k2NAAABHR0MTMAAAAAAABIyANpNjQAAAR0dDE1AAAAAAAASsgDaTY0AAAEdHQxNQAAAAAAAIDIA2k2NAAAA3R0MgAAAAAAAILIA2k2NAAABHR0MTUAAAAAAACKyANpNjQAAAR0dDI1AAAAAAAAwMgDaTY0AAADdHQzAAAAAAAAAMkDaTY0AAADdHQ0AAAAAAAAQMkDaTY0AAADdHQ1AAAAARR2YXJpYW50X3VpbnQ2NF9hc3NldAIGdWludDY0BWFzc2V0=",
    "abi_hash": "f172ec09e15f00f8de0a20b31d870929d442890752863ba2765160815db20320",
    "account_name": "playuplandme",
    "code_hash": "3b00874d5fcade85a6abbad096cee6d53df9c8b83bb74a9b01adbc6dc03a68b1"
}