Skip to main content

Get Contract ABI

Returns an HNS smart contract ABI

Path Parameters
  • abi_type string required

    Contract type to return. Valid parameters are: tld_node, sld_node.

Responses

Success

{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": [
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"anonymous": {
"type": "boolean"
},
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"anonymous",
"inputs",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"anonymous": {
"type": "boolean"
},
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"anonymous",
"inputs",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"anonymous": {
"type": "boolean"
},
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"anonymous",
"inputs",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"anonymous": {
"type": "boolean"
},
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"indexed": {
"type": "boolean"
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"indexed",
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"anonymous",
"inputs",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {}
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {}
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"components": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"components": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"components",
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"components": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"components",
"internalType",
"name",
"type"
]
}
]
},
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"components",
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {}
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {}
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {}
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
},
{
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"name": {
"type": "string"
},
"outputs": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
},
{
"type": "object",
"properties": {
"internalType": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"internalType",
"name",
"type"
]
}
]
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"inputs",
"name",
"outputs",
"stateMutability",
"type"
]
}
]
}
Loading...