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

Retrieves a contract interface with a given contract_address and contract name

Status codeDescription
200Contract interface
/v2/contracts/interface/{contract_address}/{contract_name}
curl -X GET "https://api.hiro.so/v2/contracts/interface/%7Bcontract_address%7D/%7Bcontract_name%7D"

GET request to get contract interface

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