Block information
Last updated 2 years ago
Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.
Last block number
GET /block/ HTTP/1.1 Host: rest.metacoin.network:20923 Accept: */*
successful operation
text
Block number or Block HASH
GET /block/{block} HTTP/1.1 Host: rest.metacoin.network:20923 Accept: */*
{ "sn": 1, "id": "text", "timestamp": 1, "transaction": [ { "id": "text", "timestamp": 1 } ] }
Transaction ID
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 } }