Block and transaction
Block information
Path parameters
blockstringRequired
Block number or Block HASH
Responses
200
successful operation
*/*
404
Block not found
get
GET /block/{block} HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"sn": 1,
"id": "text",
"timestamp": 1,
"transaction": [
{
"id": "text",
"timestamp": 1
}
]
}
Path parameters
transaction_idstringRequired
Transaction ID
Responses
200
successful operation
*/*
404
Transaction not found
get
GET /transaction/{transaction_id} HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"address": "text",
"db_id": "text",
"db_sn": "text",
"id": "text",
"parameters": [
"text"
],
"timestamp": 1,
"token": 1,
"type": "Chaincode Install or Update",
"validationCode": "text",
"values": {
"addinfo": "text",
"balance": [
{
"token": "text",
"balance": "text",
"unlockdate": 1
}
],
"password": "text",
"pending": [
{}
],
"regdate": 1
}
}
Last updated