토큰

getTokenCount

지난 15일 동안의 일별 생성 목록을 반환합니다.

Parameters

None

Return Value

NameTypeDescription

totalCount

Long

지난 15일 동안의 토큰의 갯수.

list

count of per day data

count of per day data

NameTypeDescription

date

String

날짜. 예) "1116"

count

Long

갯수

Example

{
    "jsonrpc": "2.0",
    "id": "00456",
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": {
            "totalCount": 14,
            "list": [
                {
                    "date": "1116",
                    "count": 0
                },
                ...
                {
                    "date": "1130",
                    "count": 0
                }
            ]
        }
    }                      
}

getTokenList

페이지 단위의 토큰 정보 목록을 반환합니다.

Parameters

NameTypeDescription

pageNumber

Long

가져올 페이지 번호.

1부터 시작

pageSize

Integer

페이지당 가져올 갯수

order

Integer

0 : 내림차순, 1 : 오름차순

Return Value

NameTypeDescription

pageNumber

Long

pageSize

Integer

totalPages

Long

totalElements

Long

list

list of holder info

Example

{
    "jsonrpc": "2.0",
    "id": "00456",
    "result": {
        "pageNumber": 1,
        "pageSize": 10,
        "totalPages": 6,
        "totalElements": 54,
        "list": [
            {
                "contractAddress": "0xad07f52767774df51efa2433c79e90e954db5e7c",
                "tokenType": "ERC20",
                "owner": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "name": "The utility token for Nuri",
                "symbol": "NLP",
                "decimals": 18,
                "officialSite": null,
                "initialSupply": 100000000,
                "maxTotalSupply": 100000000000000000000000000,
                "transfers": 0,
                "txId": "0x8424da14f2ddca133050462f35107e95396cd465a4f9cc4ad6b4b93f7aaff151",
                "blockNumber": 50024,
                "txTime": "2022-06-29T16:21:02"
            },
            ...
        ]
    }                      
}

getTokenHolderCount

토큰 보유자의 수를 반환합니다.

Parameters

NameTypeDescription

contractAddress

String

토큰의 컨트랙주소

Return Value

NameTypeDescription

count

Long

토큰 보유자 수

Example

{
    "jsonrpc": "2.0",
    "id": "00456",
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": {
            "count": 14
        }
    }                      
}

getTokenHolderList

토큰 보유자 목록을 반환합니다.

Parameters

NameTypeDescription

contractAddress

String

토큰의 컨트랙주소

pageNumber

Long

가져올 페이지 번호.

1부터 시작

pageSize

Integer

페이지당 가져올 갯수

order

Integer

0 : 잔액내림차순,

1 : 잔액오름차순

Return Value

NameTypeDescription

pageNumber

Long

pageSize

Integer

totalPages

Long

totalElements

Long

list

list of holder info

Example

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": {
            "pageNumber": 1,
            "pageSize": 10,
            "totalPages": 1,
            "totalElements": 3,
            "list": [
                {
                    "rank": 1,
                    "address": "0xa3966d8780e65381863bc947b0042367540846aa",
                    "balance": "99998990",
                    "percentage": 99.9999
                },
                ...
            ]
        }
    }
}

getInventoryList

NFT 토큰 인벤토리 목록을 반환합니다.

Parameters

NameTypeDescription

contractAddress

String

토큰의 컨트랙주소

pageNumber

Long

가져올 페이지 번호.

1부터 시작.

pageSize

Integer

페이지당 가져올 갯수

order

Integer

0 : 잔액내림차순,

1 : 잔액오름차순

Return Value

NameTypeDescription

pageNumber

Long

pageSize

Integer

totalPages

Long

totalElements

Long

list

list of inventory

Example

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": {
            "pageNumber": 1,
            "pageSize": 10,
            "totalPages": 1,
            "totalElements": 1,
            "list": [
                {
                    "tokenType": "ERC1155",
                    "contractAddress": "0x1d41c314354696beb0038f37fd125ffb6b8419a8",
                    "uri": "Testalfjasdlfjalsdjflasdfsdaf",
                    "tokenId": 1,
                    "balance": "100",
                    "symbol": "NFT1",
                    "address": "0xa3966d8780e65381863bc947b0042367540846aa"
                }
            ]
        }
    }
}

getItemActivityList

토큰 항목의 엑티비티 목록을 반환합니다.

Parameters

NameTypeDescription

contractAddress

String

토큰의 컨트랙주소

tokenId

Long

Token ID

pageNumber

Long

가져올 페이지 번호.

1부터 시작.

pageSize

Integer

페이지당 가져올 갯수

order

Integer

0 : 잔액내림차순,

1 : 잔액오름차순

Return Value

NameTypeDescription

pageNumber

Long

pageSize

Integer

totalPages

Long

totalElements

Long

list

list of item activity

Example

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": {
            "pageNumber": 0,
            "pageSize": 10,
            "totalPages": 1,
            "totalElements": 1,
            "list": [
                {
                    "txId": "0x430ebb97b73194aebe008293f46d4803b1c64387bb9bc11d93cf849d90734a51",
                    "address": "0xa3966d8780e65381863bc947b0042367540846aa",
                    "fromAddress": "0x0000000000000000000000000000000000000000",
                    "toAddress": "0xa3966d8780e65381863bc947b0042367540846aa",
                    "contractAddress": "0x1d41c314354696beb0038f37fd125ffb6b8419a8",
                    "comment": "Test",
                    "txType": "mintToken",
                    "blockNumber": 82138,
                    "txTime": "2022-04-17T18:19:18",
                    "tokenId": 1,
                    "amount": "100",
                    "symbol": "NFT1",
                    "tokenType": "ERC1155",
                    "decimals": 0
                }
            ]
        }
    }
}

getNFTInfo

NFT 토큰 정보 반환합니다

Parameters

NameTypeDescription

contractAddress

String

토큰의 컨트랙주소

tokenId

Long

Token ID

Return Value

NameTypeDescription

tokenName

String

Token name

contractAddress

String

토큰의 컨트랙주소

tokenId

Long

토큰 ID

creator

String

토큰 ID 생성자 주소

uri

String

토큰 ID의 URI

tokenType

String

토큰유형

Example

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": {
            "tokenName": "Test NFT 1",
            "contractAddress": "0x1d41c314354696beb0038f37fd125ffb6b8419a8",
            "tokenId": 1,
            "creator": "0xa3966d8780e65381863bc947b0042367540846aa",
            "uri": "Testalfjasdlfjalsdjflasdfsdaf",
            "tokenType": "ERC1155"
        }
    }
}

Last updated