NAV navbar
logo

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

limit

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

limit

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typeinteger

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

PropertyValue
requiredtrue
typestring

/{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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

assetid

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

Asset get

CURL EXAMPLE

curl -X GET "https://datachains.world:9047/api/asset/{key}"


Asset Data get

GET: /api/assetdata/{key}


URI Parameters

key

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

Person get

CURL EXAMPLE

curl -X GET "https://datachains.world:9047/api/person/{key}"


Person Data get

GET: /api/persondata/{key}


URI Parameters

key

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

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_body

REQUEST 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

PropertyValue
requiredtrue
typestring

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

PropertyValue
requiredtrue
typestring

version

PropertyValue
requiredtrue
typestring

creator

PropertyValue
requiredtrue
typestring

timestamp

PropertyValue
requiredtrue
typestring

feePow

PropertyValue
requiredtrue
typestring

reference

PropertyValue
requiredtrue
typestring

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"