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}

Retrieves a contract interface with a given contract_address and contract name.

Status codeDescription
200Contract interface
Terminal
curl -X GET "https://api.mainnet.hiro.so/v2/contracts/interface/SP2C2YFP12AJZB4MABJBAJ55XECVS7E4PMMZ89YZR.arkadiko-token"

GET request to get contract interface

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