Path Parameters
- contract_addressstringREQUIRED
Stacks address.
- contract_namestringREQUIRED
Contract name.
Query Parameters
- tipstring
The Stacks chain tip to query from.
Returns
- object
GET request to retrieve the interface of a contract
- functionsarray
List of defined methods in the contract interface
- namestring
The name of the method
- accessstring
The access level of the method (e.g., 'public', 'private')
- argsarray
Array containing details of the method's arguments
- namestring
The name of the argument
- typestring
The data type of the argument
- responseobject
The response object containing details of the method's return value
- variablesarray
List of defined variables in the response object
- namestring
The name of the variable
- typestring
The data type of the variable
- accessstring
The access level of the variable (e.g., 'public', 'private')
- mapsarray
List of defined data-maps in the response object
- namestring
The name of the data-map
- keystring
The key type of the data-map
- valueobject
The value object containing details of the data-map's value
- tuplearray
Array containing details of the data-map's tuple
- namestring
The name of the tuple
- typestring
The data type of the tuple
- fungible_tokensarray
List of fungible tokens defined in the response object
- namestring
The name of the fungible token
- typestring
The data type of the fungible token
- non_fungible_tokensarray
List of non-fungible tokens defined in the response object
- namestring
The name of the non-fungible token
- typestring
The data type of the non-fungible token