Contract
APIs to obtain contract related details
1. Get contract list
url:/v2/contracts?page_size=10&page_number=1,
method:GET,
successResponse:{
"code":0,
"msg":"SUCCESS",
"result":{
"records":[
{
"contract_hash": "16edbe366d...99424c94aeef02",
"name": "name",
"logo":"",
"description": "is a decentralized, tru.....",
"creator": "AFmseVrdL9f9oyCzZefL9tG6UbvhPbdYzM",
"create_time":1516946305,
"update_time":1516948340,
"contact_info":"{\"website\":\"www.test.cn\", \"github\":\"github.com\"}",
"ont_sum": "2123",
"ong_sum": "1233123123.002",
"address_count": 122,
"tx_count": 30,
"token_sum":{\"Ht\":\"124\"}",
"category":"oep",
"type":"oep4",
"dapp_name":""
}
],
"total":12
}
}2. Get contract detail by contract_hash
Response Parameter
Type
Description
3. Get contract transaction list by contracthash
HyperDragon OEP5 Contract
4. Get contract transaction list by contracthash
Hyperdragon OEP5 Contract
Last updated