Skip to main content

Get contract interface

Retrieves a contract interface with a given contract_address and contract name

Path Parameters
contract_address string REQUIRED

Stacks address

Example: SP6P4EJF0VG8V0RB3TQQKJBHDQKEF6NVRD1KZE3C

contract_name string REQUIRED

Contract name

Query Parameters
tip string

The Stacks chain tip to query from

Responses
200

Contract interface

Schema OPTIONAL
functions object[]

List of defined methods

variables object[]

List of defined variables

maps object[]

List of defined data-maps

fungible_tokens object[]

List of fungible tokens in the contract

non_fungible_tokens object[]

List of non-fungible tokens in the contract