Get contract interface

Retrieves a list of functions, variables, maps, fungible tokens and non-fungible tokens for a given smart contract.


GET
/v2/contracts/interface/{contract_address}/{contract_name}

Get contract interface

Get contract interface using a contract_address and contract name

Status codeDescription
200Contract interface
Terminal
$
curl -X GET "http://localhost:20443/v2/contracts/interface/%7Bcontract_address%7D/%7Bcontract_name%7D"

GET request to get contract interface

{
"functions": [
{}
],
"variables": [
{}
],
"maps": [
{}
],
"fungible_tokens": [
{}
],
"non_fungible_tokens": [
{}
]
}