Skip to main content

Get Contract ABI

Returns all HNS-associated domains that an Account ID owns.

Path Parameters
  • account_id string required

    A Hedera account ID.

  • network string required

    Network to query. Valid parameters are: testnet, mainnet.

Responses

Success

{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/Welcome5Class"
},
{
"type": "null"
}
]
},
"definitions": {
"Welcome5Class": {
"type": "object",
"additionalProperties": false,
"properties": {
"idx": {
"type": "integer"
},
"account_id": {
"$ref": "#/definitions/AccountID"
},
"created_timestamp": {
"type": "string",
"format": "date-time"
},
"token_id": {
"$ref": "#/definitions/TokenID"
},
"serial_number": {
"type": "integer"
},
"delegating_spender": {
"type": "null"
},
"deleted": {
"type": "boolean"
},
"metadata": {
"type": "string"
},
"modified_timestamp": {
"type": "string",
"format": "date-time"
},
"network": {
"$ref": "#/definitions/Network"
},
"full_nft_id": {
"type": "string"
},
"topic_id": {
"$ref": "#/definitions/TopicID"
},
"paymenttransaction_id": {
"type": "string"
},
"topictransaction_id": {
"type": "string"
},
"domain": {
"type": "string"
},
"tld_hash": {
"$ref": "#/definitions/TLDHash"
},
"sld_hash": {
"type": "string"
},
"provider": {
"$ref": "#/definitions/Provider"
},
"contract_id": {
"$ref": "#/definitions/ContractID"
},
"expiration": {
"type": "string",
"format": "date-time"
},
"nft_id": {
"type": "integer"
},
"tld": {
"$ref": "#/definitions/TLD"
},
"payer_account_id": {
"$ref": "#/definitions/PayerAccountID"
},
"running_hash": {
"type": "string"
},
"running_hash_version": {
"type": "integer"
},
"sequence_number": {
"type": "integer"
},
"expiry": {
"type": "integer"
}
},
"required": [
"account_id",
"contract_id",
"created_timestamp",
"delegating_spender",
"deleted",
"domain",
"expiration",
"expiry",
"full_nft_id",
"idx",
"metadata",
"modified_timestamp",
"network",
"nft_id",
"payer_account_id",
"paymenttransaction_id",
"provider",
"running_hash",
"running_hash_version",
"sequence_number",
"serial_number",
"sld_hash",
"tld",
"tld_hash",
"token_id",
"topic_id",
"topictransaction_id"
],
"title": "Welcome5Class"
},
"AccountID": {
"type": "string",
"enum": [
"0.0.422755"
],
"title": "AccountID"
},
"ContractID": {
"type": "string",
"enum": [
"0.0.1238670",
"0.0.1303155",
"0.0.5e8e684b8ccba1195aeaefcfaa2f48f70eb46ea6",
"0.0.1238568",
"0.0.1366304"
],
"title": "ContractID"
},
"Network": {
"type": "string",
"enum": [
"mainnet"
],
"title": "Network"
},
"PayerAccountID": {
"type": "string",
"enum": [
"0.0.1233811"
],
"title": "PayerAccountID"
},
"Provider": {
"type": "string",
"enum": [
"piefi labs"
],
"title": "Provider"
},
"TLD": {
"type": "string",
"enum": [
"cream",
"boo",
"hbar"
],
"title": "TLD"
},
"TLDHash": {
"type": "string",
"enum": [
"f79d75e18e2ee2bd340fb0b605f3f2b4891370207ec8cbec3f9889e72f2ec220",
"58af5e93661b78025033390323fe6d05a89744a5414dc9b2219cc8f2e3844833",
"f861eb72cf942a90b9f6cfa87c4988a5cbeb2d9f48e5365bd88dbf63091584dc"
],
"title": "TLDHash"
},
"TokenID": {
"type": "string",
"enum": [
"0.0.1238605",
"0.0.1303118",
"0.0.1234197"
],
"title": "TokenID"
},
"TopicID": {
"type": "string",
"enum": [
"0.0.1238630",
"0.0.1303127",
"0.0.1234203"
],
"title": "TopicID"
}
}
}
Loading...