Transfer

getTransferInfo

Returns a transfer data of transaction id. When batch operation is performed, multiple transfer data can be returned for one transaction id.

Parameters

Return Value

Transfer data list.

Example

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "resultCode": "200",
        "resultMessage": "Success",
        "resultData": [
            {
                "txId": "0x4d91f616dde69ec331cb06d48dd3ce94ff59cb460f96ad45d1738ba432a3436d",
                "address": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "fromAddress": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "toAddress": "0xb8865949075e7f6cf4a89cd241c404522494d6e5",
                "contractAddress": "0xad07f52767774df51efa2433c79e90e954db5e7c",
                "comment": "jelly spend reward",
                "txType": "transferToken",
                "blockNumber": 347246,
                "txTime": "2022-07-06T13:28:26",
                "tokenId": 0,
                "amount": "12",
                "symbol": "NLP",
                "tokenType": "ERC20",
                "decimals": 18 
            }
        ]
    }
}

getTransferList

Returns the transfer information list in units of pages.

Parameters

Return Value

Example

{
    "jsonrpc": "2.0",
    "id": "00456",
    "result": {
        "pageNumber": 1,
        "pageSize": 10,
        "totalPages": 6,
        "totalElements": 54,
        "list": [
            {
                "txId": "0x4d91f616dde69ec331cb06d48dd3ce94ff59cb460f96ad45d1738ba432a3436d",
                "address": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "fromAddress": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "toAddress": "0xb8865949075e7f6cf4a89cd241c404522494d6e5",
                "contractAddress": "0xad07f52767774df51efa2433c79e90e954db5e7c",
                "comment": "jelly spend reward",
                "txType": "transferToken",
                "blockNumber": 347246,
                "txTime": "2022-07-06T13:28:26",
                "tokenId": 0,
                "amount": "12",
                "symbol": "NLP",
                "tokenType": "ERC20",
                "decimals": 18          
                },
            ...
        ]
    }                      
}

getTransferListWithParam

Returns the transfer information list in units of pages with search parameter.

Parameters

Return Value

Example

{
    "jsonrpc": "2.0",
    "id": "00456",
    "result": {
        "pageNumber": 1,
        "pageSize": 10,
        "totalPages": 6,
        "totalElements": 54,
        "list": [
            {
                "txId": "0x4d91f616dde69ec331cb06d48dd3ce94ff59cb460f96ad45d1738ba432a3436d",
                "address": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "fromAddress": "0x0fc8e69d918c075478b7986d1a437a94627e3103",
                "toAddress": "0xb8865949075e7f6cf4a89cd241c404522494d6e5",
                "contractAddress": "0xad07f52767774df51efa2433c79e90e954db5e7c",
                "comment": "jelly spend reward",
                "txType": "transferToken",
                "blockNumber": 347246,
                "txTime": "2022-07-06T13:28:26",
                "tokenId": 0,
                "amount": "12",
                "symbol": "NLP",
                "tokenType": "ERC20",
                "decimals": 18          
                },
            ...
        ]
    }                      
}

Last updated