Ortelius API
This API allows clients to interact with Ortelius, the Avalanche indexer.

Ortelius API

Format

This API uses GET HTTP requests using URL query parameters and returns JSON data.

Versioning

Starting with version 2, the API paths will be prefixed by a version tag, e.g. http://localhost:8080/v2.
The current version of the API is version 2. The Legacy API documentation has information about using the v1 API.

Data Types

In addition to integers, strings, and booleans, the following data types are used throughout the API:
Name
Description
Examples
id
A CB58 encoded object identifier, such as a chain, transaction, or asset ID
2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
address
A bech-32 encoded address (used on the X-Chain and P-Chain)
fuji1wycv8n7d2fg9aq6unp23pnj4q0arv03ysya8jw
datetime
A Unix timestamp as an integer or an RFC3339 formatted string
1599696000, 2020-09-10T00:00:00Z
caddress
A hex encoded address (used on the C-Chain)
0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
chash
A hex encoded hash
0xe5b935988317e8552e769ad92b6a2fd01ac8f0f90d8ffa4377e50fcb8d970077

List Parameters

All endpoints for listing resources accept the following parameters:
Name
Type
Description
Default
Max
limit
int
The maximum number of items to return
5000
5000
query
string
An ID prefix to filter items by
None
None
startTime
datetime
Limits to items created on or after a given time
0
Now
endTime
datetime
Limits to items created on or before a given time
Now
Now

Available Endpoints

Overview

The root of the API gives an overview of the constants for the active Avalanche network being indexed.
Params
None
Example Call
1
curl "http://localhost:8080/v2"
Copied!
Example Response
1
{
2
"network_id": 1,
3
"chains": {
4
"11111111111111111111111111111111LpoYY": {
5
"chainID": "11111111111111111111111111111111LpoYY",
6
"chainAlias": "p",
7
"vm": "pvm",
8
"avaxAssetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
9
"networkID": 1
10
},
11
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM": {
12
"chainID": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
13
"chainAlias": "x",
14
"vm": "avm",
15
"avaxAssetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
16
"networkID": 1
17
}
18
}
19
}
Copied!
Find an address or a transaction by its ID.
Params
Name
Type
Description
Default
Max
query
string
An ID prefix to filter items by
None
None
Example Call
1
curl "http://localhost:8080/v2/search?query=2jEugPDFN89KXLEXtf5"
Copied!
Example Response
1
{
2
"count": 1,
3
"results": [
4
{
5
"type": "transaction",
6
"data": {
7
"id": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX",
8
"chainID": "11111111111111111111111111111111LpoYY",
9
"type": "add_validator",
10
"inputs": [
11
{
12
"output": {
13
"id": "G2Jq9fj6atW1jvJDTXJKHSkMhRWdrsFuafPpR98DK3izZdfqT",
14
"transactionID": "11111111111111111111111111111111LpoYY",
15
"outputIndex": 14025,
16
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
17
"outputType": 7,
18
"amount": "2000000000000",
19
"locktime": 0,
20
"threshold": 1,
21
"addresses": [
22
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3"
23
],
24
"timestamp": "2020-09-10T00:00:00Z",
25
"redeemingTransactionID": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX"
26
},
27
"credentials": [
28
{
29
"address": "avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3",
30
"public_key": "AgSmTeCLGsNhKvSbRIi01jswlr2fV+C/tv3v86Ty4eDQ",
31
"signature": "Ms5KquahoTfLGeIl5s6iP5r1fj15lm5MmrMahu8X7L0m5UTyRBRmcXnniURFaJP6X8dCL9f46t8zYawXscdgkQE="
32
}
33
]
34
}
35
],
36
"outputs": [
37
{
38
"id": "U7M4jk3y7KGWPmSoeS4WhBX6qNHGtkDtQ5dSzYiaw4rmZ92yE",
39
"transactionID": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX",
40
"outputIndex": 0,
41
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
42
"outputType": 7,
43
"amount": "2000000000000",
44
"locktime": 0,
45
"threshold": 1,
46
"addresses": [
47
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3"
48
],
49
"timestamp": "2020-10-10T07:09:44Z",
50
"redeemingTransactionID": ""
51
}
52
],
53
"memo": "AAAAAA==",
54
"inputTotals": {
55
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "2000000000000"
56
},
57
"outputTotals": {
58
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "2000000000000"
59
},
60
"reusedAddressTotals": null,
61
"timestamp": "2020-10-10T07:09:44Z",
62
"txFee": 0,
63
"genesis": false
64
},
65
"score": 0
66
}
67
]
68
}
Copied!

Aggregate

Calculate aggregate transaction data over a time frame.
Params
Name
Type
Description
Default
Max
chainID
id
A chain ID to filter results by. May be supplied multiple times.
None
None
assetID
id
An asset ID to filter results by.
None
None
intervalSize
string
Values 'minute', 'hour', 'day', 'week', 'month', 'year'
None
None
Example Call
1
curl "http://localhost:8080/v2/aggregates?startTime=2020-09-21T00:00:00Z&endTime=2020-10-21T00:00:00Z"
Copied!
Example Response
1
{
2
"startTime": "2020-09-21T00:00:00Z",
3
"endTime": "2020-10-21T00:00:00Z",
4
"aggregates": {
5
"startTime": "2020-09-21T00:00:00Z",
6
"endTime": "2020-10-21T00:00:00Z",
7
"transactionVolume": "1652211194850792239",
8
"transactionCount": 135966,
9
"addressCount": 19567,
10
"outputCount": 283221,
11
"assetCount": 180
12
}
13
}
Copied!

TxFee Aggregate

AVAX Aggregate txfee
Example Call
1
curl "http://localhost:8080/v2/txfeeAggregates?startTime=2020-09-21T00:00:00Z&endTime=2020-10-21T00:00:00Z"
Copied!
Example Response
1
{
2
"aggregates": {
3
"startTime": "2020-09-21T00:00:00Z",
4
"endTime": "2020-10-21T00:00:00Z",
5
"txfee": "134818000000"
6
},
7
"startTime": "2020-09-21T00:00:00Z",
8
"endTime": "2020-10-21T00:00:00Z"
9
}
Copied!

Address Chain

Responds with the chains an address appears on.
Params
Name
Type
Description
Default
Max
address
address
A address to filter results by. May be supplied multiple times.
None
None
Example Call
1
curl "http://localhost:8080/v2/addressChains?address=X-fujiABC"
Copied!
Example Response
1
{
2
"addressChains": {
3
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3": [
4
"11111111111111111111111111111111LpoYY"
5
],
6
"avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u": [
7
"11111111111111111111111111111111LpoYY",
8
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
9
]
10
}
11
}
Copied!

List Transactions

Find transactions that have been accepted.
Params
Name
Type
Description
Default
Max
chainID
id
A chain ID to filter results by. May be supplied multiple times.
None
None
assetID
id
An asset ID to filter results by.
None
None
address
address
An address to filter results by. May be supplied multiple times.
None
None
sort
string
A method to sort results by. May be timestamp-asc or timestamp-desc.
timestamp-asc
N/A
Example Call
1
curl "http://localhost:8080/v2/transactions?chainID=11111111111111111111111111111111LpoYY"
Copied!
Example Response
1
{
2
"startTime": "0001-01-01T00:00:00Z",
3
"endTime": "2020-11-16T04:18:07Z",
4
"transactions": [
5
{
6
"id": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX",
7
"chainID": "11111111111111111111111111111111LpoYY",
8
"type": "add_validator",
9
"inputs": [
10
{
11
"output": {
12
"id": "G2Jq9fj6atW1jvJDTXJKHSkMhRWdrsFuafPpR98DK3izZdfqT",
13
"transactionID": "11111111111111111111111111111111LpoYY",
14
"outputIndex": 14025,
15
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
16
"outputType": 7,
17
"amount": "2000000000000",
18
"locktime": 0,
19
"threshold": 1,
20
"addresses": [
21
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3"
22
],
23
"timestamp": "2020-09-10T00:00:00Z",
24
"redeemingTransactionID": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX"
25
},
26
"credentials": [
27
{
28
"address": "avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3",
29
"public_key": "AgSmTeCLGsNhKvSbRIi01jswlr2fV+C/tv3v86Ty4eDQ",
30
"signature": "Ms5KquahoTfLGeIl5s6iP5r1fj15lm5MmrMahu8X7L0m5UTyRBRmcXnniURFaJP6X8dCL9f46t8zYawXscdgkQE="
31
}
32
]
33
}
34
],
35
"outputs": [
36
{
37
"id": "U7M4jk3y7KGWPmSoeS4WhBX6qNHGtkDtQ5dSzYiaw4rmZ92yE",
38
"transactionID": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX",
39
"outputIndex": 0,
40
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
41
"outputType": 7,
42
"amount": "2000000000000",
43
"locktime": 0,
44
"threshold": 1,
45
"addresses": [
46
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3"
47
],
48
"timestamp": "2020-10-10T07:09:44Z",
49
"redeemingTransactionID": ""
50
}
51
],
52
"memo": "AAAAAA==",
53
"inputTotals": {
54
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "2000000000000"
55
},
56
"outputTotals": {
57
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "2000000000000"
58
},
59
"reusedAddressTotals": null,
60
"timestamp": "2020-10-10T07:09:44Z",
61
"txFee": 0,
62
"genesis": false
63
}
64
]
65
}
Copied!

Get Transaction

Find a single transaction by its ID.
Example Call
1
curl "http://localhost:8080/v2/transactions/2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX"
Copied!
Example Response
1
{
2
"id": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX",
3
"chainID": "11111111111111111111111111111111LpoYY",
4
"type": "add_validator",
5
"inputs": [
6
{
7
"output": {
8
"id": "G2Jq9fj6atW1jvJDTXJKHSkMhRWdrsFuafPpR98DK3izZdfqT",
9
"transactionID": "11111111111111111111111111111111LpoYY",
10
"outputIndex": 14025,
11
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
12
"outputType": 7,
13
"amount": "2000000000000",
14
"locktime": 0,
15
"threshold": 1,
16
"addresses": [
17
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3"
18
],
19
"timestamp": "2020-09-10T00:00:00Z",
20
"redeemingTransactionID": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX"
21
},
22
"credentials": [
23
{
24
"address": "avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3",
25
"public_key": "AgSmTeCLGsNhKvSbRIi01jswlr2fV+C/tv3v86Ty4eDQ",
26
"signature": "Ms5KquahoTfLGeIl5s6iP5r1fj15lm5MmrMahu8X7L0m5UTyRBRmcXnniURFaJP6X8dCL9f46t8zYawXscdgkQE="
27
}
28
]
29
}
30
],
31
"outputs": [
32
{
33
"id": "U7M4jk3y7KGWPmSoeS4WhBX6qNHGtkDtQ5dSzYiaw4rmZ92yE",
34
"transactionID": "2jEugPDFN89KXLEXtf5oKp5spsJawTht2zP4kKJjkQwwRsDdLX",
35
"outputIndex": 0,
36
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
37
"outputType": 7,
38
"amount": "2000000000000",
39
"locktime": 0,
40
"threshold": 1,
41
"addresses": [
42
"avax14q43wu6wp8fs745dt6y5s0a02vx57ypq4xc5s3"
43
],
44
"timestamp": "2020-10-10T07:09:44Z",
45
"redeemingTransactionID": ""
46
}
47
],
48
"memo": "AAAAAA==",
49
"inputTotals": {
50
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "2000000000000"
51
},
52
"outputTotals": {
53
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": "2000000000000"
54
},
55
"reusedAddressTotals": null,
56
"timestamp": "2020-10-10T07:09:44Z",
57
"txFee": 0,
58
"genesis": false
59
}
Copied!

List Addresses

Find addresses that have been referenced in accepted transactions.
Params
Name
Type
Description
Default
Max
chainID
id
A chain ID to filter results by. May be supplied multiple times.
None
None
address
address
An address to filter results by. May be supplied multiple times.
None
None
Example Call
1
curl "http://localhost:8080/v2/addresses?address=X-avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u"
Copied!
Example Response
1
{
2
"addresses": [
3
{
4
"address": "avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u",
5
"publicKey": null,
6
"assets": {
7
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": {
8
"id": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
9
"transactionCount": 2,
10
"utxoCount": 17,
11
"balance": "39561999999996",
12
"totalReceived": "39561999999996",
13
"totalSent": "0"
14
}
15
}
16
}
17
]
18
}
Copied!

Get Address

Find a single address by its ID.
Example Call
1
curl "http://localhost:8080/v2/addresses/avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u"
Copied!
Example Response
1
{
2
"address": "avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u",
3
"publicKey": null,
4
"assets": {
5
"FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z": {
6
"id": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
7
"transactionCount": 2,
8
"utxoCount": 17,
9
"balance": "39561999999996",
10
"totalReceived": "39561999999996",
11
"totalSent": "0"
12
}
13
}
14
}
Copied!

List Assets

Find assets that have been created on the X-chain.
Example Call
1
curl "http://localhost:8080/v2/assets"
Copied!
Example Response
1
{
2
"assets": [
3
{
4
"id": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
5
"chainID": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
6
"name": "Avalanche",
7
"symbol": "AVAX",
8
"alias": "AVAX",
9
"currentSupply": "24509771588234718",
10
"timestamp": "2020-09-10T00:00:00Z",
11
"denomination": 9,
12
"variableCap": 0,
13
"nft": 1
14
}
15
]
16
}
Copied!

Get Asset

Find a single asset by its ID.
Example Call
1
curl "http://localhost:8080/v2/assets/FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z"
Copied!
Example Response
1
{
2
"id": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
3
"chainID": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4
"name": "Avalanche",
5
"symbol": "AVAX",
6
"alias": "AVAX",
7
"currentSupply": "24509771588234718",
8
"timestamp": "2020-09-10T00:00:00Z",
9
"denomination": 9,
10
"variableCap": 0,
11
"nft": 1
12
}
Copied!

List Outputs

Find outputs that have been created by an accepted transaction.
Params
Name
Type
Description
Default
Max
chainID
id
A chain ID to filter results by. May be supplied multiple times.
None
None
address
address
An address to filter results by. May be supplied multiple times.
None
None
spent
bool
If set, results will be filtered by whether they're spent (true) or unspent (false)
None
N/A
Example Call
1
curl "http://localhost:8080/v2/outputs?address=X-avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u&spent=false"
Copied!
Example Response
1
{
2
"outputs": [
3
{
4
"id": "114RMPhYM7do7cDX7KWSqFeLkbUXFrLKcqPL4GMdjTvemPzvc",
5
"transactionID": "dhU8aMRrtMWvBWSh41aTxUbwArYootNUBcL3N3UJXVPL8H9ip",
6
"outputIndex": 4,
7
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
8
"outputType": 7,
9
"amount": "2327176470588",
10
"locktime": 0,
11
"threshold": 1,
12
"addresses": [
13
"avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u"
14
],
15
"timestamp": "2020-09-10T00:00:00Z",
16
"redeemingTransactionID": ""
17
}
18
]
19
}
Copied!

Get Output

Find a single output by its ID.
Example Call
1
curl "http://localhost:8080/v2/outputs/114RMPhYM7do7cDX7KWSqFeLkbUXFrLKcqPL4GMdjTvemPzvc"
Copied!
Example Response
1
{
2
"id": "114RMPhYM7do7cDX7KWSqFeLkbUXFrLKcqPL4GMdjTvemPzvc",
3
"transactionID": "dhU8aMRrtMWvBWSh41aTxUbwArYootNUBcL3N3UJXVPL8H9ip",
4
"outputIndex": 4,
5
"assetID": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
6
"outputType": 7,
7
"amount": "2327176470588",
8
"locktime": 0,
9
"threshold": 1,
10
"addresses": [
11
"avax1y8cyrzn2kg4udccs5d625gkac7a99pe452cy5u"
12
],
13
"timestamp": "2020-09-10T00:00:00Z",
14
"redeemingTransactionID": ""
15
}
Copied!

Get a C-Chain Block

Find a single block by its number.
Example Call
1
curl "http://localhost:8080/v2/ctxdata/10"
Copied!
Example Response
1
{
2
"blockNumber": "10",
3
"header": {
4
"parentHash": "0xbd9c3e357b29f403a2b5ba455960e17f595f82eb84e5e9a1c7f7bdaf4784d0e6",
5
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
6
"miner": "0x0100000000000000000000000000000000000000",
7
"stateRoot": "0x22e2b78756f092431f28ccc906cacc1a1c58d9b341b87fa86ba3af4141517f3d",
8
"transactionsRoot": "0x237cc8fb9965f0f7477bd6c06583aecb0b17af8cc8915d6990894c00762f0e4a",
9
"receiptsRoot": "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2",
10
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
11
"difficulty": "0x1",
12
"number": "0xa",
13
"gasLimit": "0x5e70b15",
14
"gasUsed": "0x5208",
15
"timestamp": "0x5f6dfb2a",
16
"extraData": "0xd683010916846765746886676f312e3133856c696e75786573c7769a0f720e36aef6bd06a29f56131b901d1e57392d2663e67fce32e7c4",
17
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
18
"nonce": "0x0000000000000000",
19
"extDataHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
20
"hash": "0x0af6d14cf36b0d52e0b49747460859804fcd7a6f8518fe374fba05c96c27d35a"
21
},
22
"uncles": null,
23
"txs": null,
24
"version": 0,
25
"received_at": "0001-01-01T00:00:00Z",
26
"blockExtraData": "",
27
"transactions": [
28
{
29
"nonce": "0x2",
30
"gasPrice": "0x6d6e2edc00",
31
"gas": "0x5208",
32
"to": "0x0c498d075ae2236cfd13800abc61caf04b8fad63",
33
"value": "0x38d7ea4c68000",
34
"input": "0x",
35
"v": "0x150f8",
36
"r": "0x30cb390fdc1ef12b2f6e2b1bc604d0ddc6996fe601b351908f762ec589ce53b6",
37
"s": "0x5529ac942dd2e5e970475cd6392291271f02ad0d5c48fdff68daea856c752e84",
38
"hash": "0xe91eeb7aca41cb41b6d32ffd841eee3a297ab9318e7467961ed43b5e0ee3e58e"
39
}
40
],
41
"logs": [
42
{
43
"address": "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
44
"topics": [
45
"0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65",
46
"0x000000000000000000000000e54ca86531e17ef3616d22ca28b0d458b6c89106"
47
],
48
"data": "0x000000000000000000000000000000000000000000000000128fc29c60e5e255",
49
"blockNumber": "0x12bf12",
50
"transactionHash": "0xf5d3dfbdf9722db34907b65b22dca5715bb2eac4f02f4b4992ffe2c06f3a88d2",
51
"transactionIndex": "0x1",
52
"blockHash": "0xaf0f4d2c60544fe24d0393ec0160f31ba4bad8532af64ad37960719e34bc6c4c",
53
"logIndex": "0x9",
54
"removed": false
55
}
56
]
57
}
Copied!

List C-Chain Transactions

Find accepted C-Chain transactions.
Params
Name
Type
Description
Default
Max
toAddress
caddress
address
None
None
fromAddress
caddress
address
None
None
address
caddress
address (to or from)
None
None
hash
chash
transaction hash
None
None
blockStart
number
Starting block number inclusive
None
N/A
blockEnd
number
Ending block number exclusive
None
N/A
Example Call
1
curl "http://localhost:8080/v2/ctransactions?toAddress=0x34ec164fd085ae43906eab6dffd1eae0a0855a2a&blockStart=797380&blockEnd=797381"
Copied!
Example Response
1
{
2
"Transactions": [
3
{
4
"block": "797380",
5
"hash": "0x00000217bc17e7e3187efae9248523f4fe2bc90e029e3ba13ddd8ff69607c705",
6
"createdAt": "2021-03-28T07:42:30.471607Z",
7
"nonce": 0,
8
"gasPrice": "225000000000",
9
"gasLimit": 21000,
10
"blockGasUsed": 63000,
11
"blockGasLimit": 8000000,
12
"blockNonce": 0,
13
"blockHash": "0x51b403a5c193d922ecb0b027fb036d37167360dbc1e45ec8958393b290c5e2c0",
14
"recipient": "0x34ec164fd085ae43906eab6dffd1eae0a0855a2a",
15
"value": "597980000000000000",
16
"toAddr": "0x34ec164fd085ae43906eab6dffd1eae0a0855a2a",
17
"fromAddr": "0xb7b01ad34bc162a5d46d68aefebf713a8c084531",
18
"v": "86263",
19
"r"