Era_Api Documentation
version 1
baseUri https://datachains.world:9047
protocols HTTP
API
First Block get
GET: /api/firstblock
Return first block.
First Block get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/firstblock"Last Block get
GET: /api/lastblock
Return last block.
Last Block get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/lastblock"Block by signature get
GET: /api/block/{signature}
Return info adout block.
URI Parameters
signature
| Property | Value |
|---|---|
| required | true |
| type | string |
Block by signature get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/block/{signature}"Block by Height get
GET: /api/blockbyheight/{height}
Return info adout block.
URI Parameters
height
| Property | Value |
|---|---|
| required | true |
| type | string |
Block by Height get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/blockbyheight/{height}"Child Block Signature get
GET: /api/childblocksignature/{signature}
Return Signature of child block
URI Parameters
signature
| Property | Value |
|---|---|
| required | true |
| type | string |
Child Block Signature get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/childblocksignature/{signature}"Child block by signature get
GET: /api/childblock/{signature}
Return info about child block
URI Parameters
signature
| Property | Value |
|---|---|
| required | true |
| type | string |
Child block by signature get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/childblock/{signature}"Blocks from Height by Limit get
GET: /api/blocksfromheight/{height}/{limit}
Returns info about blocks from Height by Limit (end:1 if END is reached)
URI Parameters
height
| Property | Value |
|---|---|
| required | true |
| type | string |
limit
| Property | Value |
|---|---|
| required | true |
| type | string |
Blocks from Height by Limit get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/blocksfromheight/{height}/{limit}"Blocks Signatures from Height by Limit get
GET: /api/blockssignaturesfromheight/{height}/{limit}
Returns block's signatures from Height by Limit (end:1 if END is reached)
URI Parameters
height
| Property | Value |
|---|---|
| required | true |
| type | string |
limit
| Property | Value |
|---|---|
| required | true |
| type | string |
Blocks Signatures from Height by Limit get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/blockssignaturesfromheight/{height}/{limit}"Record Parse from RAW post
POST: /api/recordparse
Query Parameters
raw
| Property | Value |
|---|---|
| required | true |
| type | integer |
Record Parse from RAW post
CURL EXAMPLE
curl -X POST "https://datachains.world:9047/api/recordparse" \
-d @request_body/{raw} get
GET: /api/recordparse/{raw}
URI Parameters
raw
| Property | Value |
|---|---|
| required | true |
| type | string |
/{raw} get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/recordparse/{raw}"Record by signature get
GET: /api/record/{signature}
URI Parameters
signature
| Property | Value |
|---|---|
| required | true |
| type | string |
Record by signature get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/record/{signature}"Record by Height and Sequence get
GET: /api/recordbynumber/{height-sequence}
URI Parameters
height-sequence
| Property | Value |
|---|---|
| required | true |
| type | string |
Record by Height and Sequence get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/recordbynumber/{height-sequence}"Record RAW get
GET: /api/recordraw/{signature}
URI Parameters
signature
| Property | Value |
|---|---|
| required | true |
| type | string |
Record RAW get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/recordraw/{signature}"Record RAW by Height and Sequence get
GET: /api/recordrawbynumber/{height-sequence}
URI Parameters
height-sequence
| Property | Value |
|---|---|
| required | true |
| type | string |
Record RAW by Height and Sequence get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/recordrawbynumber/{height-sequence}"Address Validate get
GET: /api/addressvalidate/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Validate get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addressvalidate/{address}"Address Last Reference get
GET: /api/addresslastreference/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Last Reference get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addresslastreference/{address}"Address Unconfirmed Last Reference get
GET: /api/addressunconfirmedlastreference/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Unconfirmed Last Reference get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addressunconfirmedlastreference/{address}"Address Generating Balance get
GET: /api/addressgeneratingbalance/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Generating Balance get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addressgeneratingbalance/{address}"Address Asset Balance get
GET: /api/addressassetbalance/{address}/{assetid}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
assetid
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Asset Balance get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addressassetbalance/{address}/{assetid}"Address Assets get
GET: /api/addressassets/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Assets get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addressassets/{address}"Address Public Key get
GET: /api/addresspublickey/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Address Public Key get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/addresspublickey/{address}"Asset Height get
GET: /api/assetheight
Asset Height get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/assetheight"Asset get
GET: /api/asset/{key}
URI Parameters
key
| Property | Value |
|---|---|
| required | true |
| type | string |
Asset get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/asset/{key}"Asset Data get
GET: /api/assetdata/{key}
URI Parameters
key
| Property | Value |
|---|---|
| required | true |
| type | string |
Asset Data get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/assetdata/{key}"Assets get
GET: /api/assets
Assets get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/assets"Assets Full get
GET: /api/assetsfull
Assets Full get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/assetsfull"Assets by Name Filter get
GET: /api/assetsfilter/{filter_name_string}
URI Parameters
filter_name_string
| Property | Value |
|---|---|
| required | true |
| type | string |
Assets by Name Filter get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/assetsfilter/{filter_name_string}"Person Height get
GET: /api/personheight
Person Height get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/personheight"Person get
GET: /api/person/{key}
URI Parameters
key
| Property | Value |
|---|---|
| required | true |
| type | string |
Person get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/person/{key}"Person Data get
GET: /api/persondata/{key}
URI Parameters
key
| Property | Value |
|---|---|
| required | true |
| type | string |
Person Data get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/persondata/{key}"Person Key by Address get
GET: /api/personkeybyaddress/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Person Key by Address get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/personkeybyaddress/{address}"Person by Address get
GET: /api/personbyaddress/{address}
URI Parameters
address
| Property | Value |
|---|---|
| required | true |
| type | string |
Person by Address get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/personbyaddress/{address}"Person Key by Public Key get
GET: /api/personkeybypublickey/{publickey}
URI Parameters
publickey
| Property | Value |
|---|---|
| required | true |
| type | string |
Person Key by Public Key get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/personkeybypublickey/{publickey}"Person by Public Key get
GET: /api/personbypublickey/{publickey}
URI Parameters
publickey
| Property | Value |
|---|---|
| required | true |
| type | string |
Person by Public Key get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/personbypublickey/{publickey}"Persons by Name Filter get
GET: /api/personsfilter/{filter_name_string}
URI Parameters
filter_name_string
| Property | Value |
|---|---|
| required | true |
| type | string |
Persons by Name Filter get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/api/personsfilter/{filter_name_string}"Verify Signature post
POST: /api/verifysignature
Verify Signature for JSON {"message": ..., "signature": Base58, "publickey": Base58}
Verify Signature post
CURL EXAMPLE
curl -X POST "https://datachains.world:9047/api/verifysignature" \
-d @request_bodyREQUEST BODY
{
"message": "...",
"signature": "Base58",
"publickey": "Base58"
}LightWallet
Test get
GET: /lightwallet/test
Test get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/lightwallet/test"Parse Test get
GET: /lightwallet/parsetest
Parse Test get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/lightwallet/parsetest"Parse get
GET: /lightwallet/parse/{data}
URI Parameters
data
| Property | Value |
|---|---|
| required | true |
| type | string |
Parse get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/lightwallet/parse/{data}"Get RAW get
GET: /lightwallet/getraw/{type}/{version}/{creator}/{timestamp}/{feePow}/{reference}/
URI Parameters
type
| Property | Value |
|---|---|
| required | true |
| type | string |
version
| Property | Value |
|---|---|
| required | true |
| type | string |
creator
| Property | Value |
|---|---|
| required | true |
| type | string |
timestamp
| Property | Value |
|---|---|
| required | true |
| type | string |
feePow
| Property | Value |
|---|---|
| required | true |
| type | string |
reference
| Property | Value |
|---|---|
| required | true |
| type | string |
Get RAW get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/lightwallet/getraw/{type}/{version}/{creator}/{timestamp}/{feePow}/{reference}/"Broadcast get
GET: /lightwallet/broadcast
Broadcast get
CURL EXAMPLE
curl -X GET "https://datachains.world:9047/lightwallet/broadcast"