opBNB Enhanced API

📘

Supported on both opBNB mainnet & testnet.

The format of an opBNB Chain endpoint:

https://opbnb-mainnet.nodereal.io/v1/{{apiKey}}

https://opbnb-testnet.nodereal.io/v1/{{apiKey}}

nr_getAccountList

This API method helps you to get the active accounts order by the token balance.

Parameters

  • maxCount- hex encoded value, define once request return data count
{
    "id":1,
    "method":"nr_getAccountList",
    "jsonrpc":"2.0",
    "params":[
        {
            "maxCount":"0x64"
        }
    ]
}
{
    "jsonrpc":"2.0",
    "id":1,
    "result":{
        "pageKey":"ab000000-0000-0000-0000-00000000000r",
        "accountBalance":[
            {
                "Address":"0x4200000000000000000000000000000000000016",
                "Balance":"0x81f7b4a22c0b1ecebf5"
            }
        ]
    }
}

nr_getAccountListCount

This API method helps you to get the amount of active accounts.

Parameters

  • none
{
    "id":1,
    "method":"nr_getAccountListCount",
    "jsonrpc":"2.0",
    "params":[

    ]
}
{"jsonrpc":"2.0","id":1,"result":"0x33511"}

nr_getAssetTransfers

This API method helps you to get the transfers for any address, block, etc.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getAssetTransfers",
    "params":[
        {
            "category":[
                "external",
                "20"
            ],
            "fromBlock":"0xE81916",
            "toBlock":"0xE81917",
            "order":"asc",
            "excludeZeroValue":false,
            "maxCount":"0x5",
            "pageKey":"qg000000-0075-RyKy-efk2-Fx9n32gAu432"
        }
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "pageKey": "qh000000-0X5j-WSqq-mCLq-kPfWRH8B1GPS",
    "transfers": [
      {
        "category": "external",
        "blockNum": "0x6c92dd",
        "from": "0x646eafba97ec6ee7631887cdee468b323dd65d4f",
        "to": "0x8f07f7312f3ede8b0094f09ab1554c8d89f47ddf",
        "value": "0x0",
        "asset": "BNB",
        "hash": "0xf7605ce61c1855348cde8512d752265a8cbbf57e0ac4c8bc259155f8c1592838",
        "blockTimeStamp": 1620089457,
        "gasPrice": 5000000000,
        "gasUsed": 35813,
        "receiptsStatus": 1
      },
      {
        "category": "20",
        "blockNum": "0x3b8322",
        "from": "0x0554a5d083abf2f056ae3f6029e1714b9a655174",
        "to": "0x28451d455f009a30b37bbe74175c9f3460f45cc7",
        "value": "0x00000000000000000000000000000000000000000000000564d702d38f5e0000",
        "asset": "TWT",
        "hash": "0xc16db18719864e6188578d5870e6f30e84d93c52beeb3630ead1a251e460ce4b",
        "contractAddress": "0x4b0f1812e5df2a09796481ff14017e6005508003",
        "decimal": "18",
        "blockTimeStamp": 1610380207
      },
      {
        "category": "721",
        "blockNum": "0xe97966",
        "from": "0x0000000000000000000000000000000000000000",
        "to": "0xa35ea428864f790f76b80d834b7dbe4340fd8d90",
        "value": "0x0",
        "erc721TokenId": "0x000000000000000000000000000000000000000000000000000000000016ed41",
        "asset": "SpaceShip",
        "hash": "0x6ed64468e1ee365e9670ec373eecdae2ff186d3354e2f88824eddd8d2f1bcccd",
        "contractAddress": "0x25828c7d4914694cbb514bb8f88ef94e715e4819",
        "blockTimeStamp": 1644998842
      },
      {
        "category": "1155",
        "blockNum": "0xeed938",
        "from": "0x0000000000000000000000000000000000000000",
        "to": "0x3acd618733de89269496768784d6b07f844ce480",
        "value": "0x0",
        "erc1155Metadata": [
          {
            "tokenId": "51c7d5f32f7dee06107a3d522b6e0902521ba99806e191acd74b349e00000001",
            "value": "0000000000000000000000000000000000000000000000000000000000000001"
          }
        ],
        "asset": "MELOSPRELUDE1",
        "hash": "0xa931aab01613dce9ab17f22caad4efa3fd209785f675c5d81f19b10179d2f631",
        "contractAddress": "0x42616b05cfe1af50e4488c8930d7e7d65bf87ce9",
        "blockTimeStamp": 1646059155
      }
    ]
  }
}

nr_getAssetTransfersCount

This API method helps you to get the transfers count for any address.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getAssetTransfersCount",
    "params":[
        {
            "category":[
                "external",
                "20"
            ],
            "fromBlock":"0xE81916",
            "toBlock":"0xE81917",
            "excludeZeroValue":false
        }
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x4"
}

nr_getContractCreationTransaction

This API method helps you to get the creation transaction for any contract.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getContractCreationTransaction",
    "params":[
        "0xc297020be32dc91bb24ce4cad116eb50e55ec5ae"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "hash": "0x3c49bfbe70e0188142821dfeaba482bce0e44c9953b31415b78b04e836c072dc",
      "blockNumber": 56848,
      "blockHash": "0xf769665c8bf51f0a6678503e1a5e1f2bb494619c3b1fc3cc98eb81f9d6a1ddb8",
      "timestamp": 1598842324,
      "transactionIndex": 0,
      "from": "0xa3fd5cc5ba356433b28209d812ff0cf261881e1b",
      "to": null,
      "gas": 6721975,
      "gasPrice": 20000000000,
      "gasUsed": 225237,
      "cumulativeGasUsed": 225237,
      "contractAddress": "0xc297020be32dc91bb24ce4cad116eb50e55ec5ae",
      "txreceiptStatus": 1,
      "input": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102b7806100606000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac146100955780638da5cb5b146100b3578063fdacd576146100fd575b600080fd5b6100936004803603602081101561006757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061012b565b005b61009d6101f7565b6040518082815260200191505060405180910390f35b6100bb6101fd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101296004803603602081101561011357600080fd5b8101908080359060200190929190505050610222565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101f45760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101da57600080fd5b505af11580156101ee573d6000803e3d6000fd5b50505050505b50565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561027f57806001819055505b5056fea265627a7a723158206e29ec92cab879aa3e985416229ef7528a6b4dca0bd7e02a54561f2d943dd80364736f6c63430005100032",
      "nonce": 0,
      "value": "0x0"
    }
  }
}

nr_getNFTHolderCount

This API method helps you to get the number of holders of an NFT(721/1155) token.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getNFTHolderCount",
    "params":[
        "0x07d971c03553011a48e951a53f48632d37652ba1"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x123"
}

nr_getNFTHolders

This API method helps you to get the owners for a BEP-721/1155 tokenId.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getNFTHolders",
    "params":[
        "0x64aF96778bA83b7d4509123146E2B3b07F7deF52",
        "0x5000004"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": [
    "0x99817ce62abf5b17f58e71071e590cf958e5a1bf",
    "0x5e74094cd416f55179dbd0e45b1a8ed030e396a1"
  ]
}

nr_getNFTHoldersWithBalance

This API method helps you to get the owners with balance for a BEP-721/1155 tokenId.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getNFTHoldersWithBalance",
    "params":[
        "0x64aF96778bA83b7d4509123146E2B3b07F7deF52",
        "0x5000004"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "items": {
      "ownerAddress": "0x123",
      "balance": "0x123"
    }
  }
}

nr_getNFTHoldings

This API method helps you to get the BEP-721/1155 tokens and the amount held by an address.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getNFTHoldings",
    "params":[
        "0x99817ce62abf5b17f58e71071e590cf958e5a1bf",
        "erc721",
        "0x1",
        "0x14"
    ],
    "id":1
}
{
	"jsonrpc":"2.0",
	"id":1,
	"result":{
		"totalCount":"0x1",
		"details":[
			{
				"tokenAddress":"0x5e74094cd416f55179dbd0e45b1a8ed030e396a1",
				"tokenIdNum":"0x12",
				"tokenName":"Pancake Lottery Ticket",
				"tokenSymbol":"PLT"
			},
			{
				"tokenAddress":"0xdf7952b35f24acf7fc0487d01c8d5690a60dba07",
				"tokenIdNum":"0x1",
				"tokenName":"Pancake Bunnies",
				"tokenSymbol":"PB"
			}
		]
	}
}

nr_getNFTTokenCount

This API method helps you to get the number of token ids of an NFT(721/1155) token.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getNFTTokenCount",
    "params":[
        "0x07d971c03553011a48e951a53f48632d37652ba1"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x123"
}

nr_getSummedSupply1155

This API method helps you to sum the totalSupply of every token id in an ERC1155 token.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getSummedSupply1155",
    "params":[
        "0xed8711feff83b446158259981fd97645856e82a5"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x123456"
}

nr_getTokenCount

This API method helps you to get the number of tokens.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTokenCount",
    "params":[
        "ERC721"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x123"
}

nr_getTokenHolderCount

This API method helps you to get the number of token holders of an ERC20 token.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTokenHolderCount",
    "params":[
        "0x2170ed0880ac9a755fd29b2688956bd959f933f8"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x123"
}

nr_getTokenHolders

This API method helps you to get the current token holders and the number of tokens held.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTokenHolders",
    "params":[
        "0xcea59dce6a6d73a24e6d6944cfabc330814c098a",
        "0x14",
        ""
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "pageKey": "100_342",
    "details": [
      {
        "accountAddress": "0x00000000100f9d75535cbf23f82e23db5558e8c1",
        "tokenBalance": "0x0000000000000000000000000000000000000000f"
      }
    ]
  }
}

nr_getTokenHoldings

This API method helps you to get the BEP20 tokens and the amount held by an account.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTokenHoldings",
    "params":[
        "0x0E34aD56379aceC7F09d815729B70c85adC1Ec99",
        "0x1",
        "0x12"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "totalCount": "0x34",
    "details": [
      {
        "tokenAddress": "0xfcb5DF42e06A39E233dc707bb3a80311eFD11576",
        "tokenName": "www.METH.co.in",
        "tokenSymbol": "METH",
        "tokenDecimails": "0x12",
        "tokenBalance": "0x0000000000000000000000000000000000000000f"
      }
    ]
  }
}

nr_getTokenMeta

This API method helps you to get specific token's metadata.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTokenMeta",
    "params":[
        "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
    ],
    "id":0
}
{
  "id": "0",
  "jsonrpc": "2.0",
  "result": {
    "name": "USD Coin",
    "symbol": "USDC",
    "decimails": 18,
    "tokenType": "erc20"
  }
}

nr_getTotalSupply20

This API method helps you to get token's total supply for ERC20 & BEP20.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTotalSupply20",
    "params":[
        "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
        "latest"
    ],
    "id":1
}
{
	"jsonrpc":"2.0",
	"id":1,
	"result":"0x0000000000000000000000000000000000000000061245ba1ae22428223e59d4"
}  

nr_getTotalSupply721

This API method helps you to get the total supply for ERC721/BEP721.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTotalSupply721",
    "params":[
        "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
        "0x895440"
    ],
    "id":0
}
{
  "id": "0",
  "jsonrpc": "2.0",
  "result": "0x000000000000000000000000000000000000000005bf8de73e1a17553e3e59d4"
}

nr_getTransactionByAddress

This API method helps you to get transfers for any fromAddress, toAddress, contractAddress, etc.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTransactionByAddress",
    "params":[
        {
            "category":[
                "external",
                "20"
            ],
            "addressType":"from",
            "address":"0xd7cdba6d6fa60a0aa9518dc0dacd0ad896cc02bd",
            "order":"asc",
            "excludeZeroValue":false,
            "maxCount":"0x5",
            "fromBlock":"0x4",
            "toBlock":"0x615856d7",
            "pageKey":"qg000000-0075-RyKy-efk2-Fx9n32gAu432"
        }
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "pageKey": "qh000000-0X5j-WSqq-mCLq-kPfWRH8B1GPS",
    "transfers": [
      {
        "category": "external",
        "blockNum": "0x6c92dd",
        "from": "0x646eafba97ec6ee7631887cdee468b323dd65d4f",
        "to": "0x8f07f7312f3ede8b0094f09ab1554c8d89f47ddf",
        "value": "0x0",
        "asset": "BNB",
        "hash": "0xf7605ce61c1855348cde8512d752265a8cbbf57e0ac4c8bc259155f8c1592838",
        "blockTimeStamp": 1620089457,
        "gasPrice": 5000000000,
        "gasUsed": 35813,
        "receiptsStatus": 1
      }
    ]
  }
}

nr_getTransactionByAddressCount

This API method helps you to get transfers count for any fromAddress, toAddress, contractAddress, etc.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTransactionByAddressCount",
    "params":[
        {
            "category":[
                "external",
                "20"
            ],
            "addressType":"from",
            "fromBlock":"0x4",
            "toBlock":"0x615856d7",
            "pageKey":"qg000000-0075-RyKy-efk2-Fx9n32gAu432"
        }
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": "0x123"
}

nr_getTransactionDetail

This API method helps you to get information about the transaction.

Please refer to here for details.

{
    "jsonrpc":"2.0",
    "method":"nr_getTransactionDetail",
    "params":[
        "0x07D971C03553011a48E951a53F48632D37652Ba1"
    ],
    "id":1
}
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "hash": "0x194def7bf7f6afe6880f38fc6c8679721135bbabf53ada450fcc8080e4ff2f74",
    "blockHash": "0xefa8d65612cbf1e0a2b49e51bb594e7206ab3e2baa6e20ad209910bffb36b812",
    "blockNumber": 21082531,
    "blockTimeStamp": 1662429025,
    "value": "0",
    "fees": 705875000000000,
    "ethereumSpecific": {
      "receiptsStatus": 1,
      "nonce": 334,
      "gas": 141175,
      "gasUsed": 141175,
      "gasPrice": 5000000000,
      "input": "0x68a1a8c60000000000000000000000000000000000000000000000003782dace9d900000"
    },
    "vin": {
      "address": "0xa431b01ba9cf3dbc1baa11be38c4a341378fdc79",
      "isAddress": false,
      "value": "0"
    },
    "vout": {
      "address": "0xa431b01ba9cf3dbc1baa11be38c4a341378fdc79",
      "isAddress": false,
      "value": "0"
    },
    "tokenTransfers": [
      {
        "category": "20",
        "from": "0xa431b01ba9cf3dbc1baa11be38c4a341378fdc79",
        "to": "0x882a6ca7f03fc489661a18f3b8a2c20e05eabfdc",
        "token": "0xb69974f60eb1499ef06e6dfca23a6fd1f631e40c",
        "tokenName": "NMT",
        "symbol": "NMT",
        "decimal": 18,
        "value": "800000000000000000"
      }
    ]
  }
}

nr_getTokenList

This API method helps you to get the token info list order by the amount of token transfer.

Parameters

  • category- example: List [ "721", "20" ]; ------ 20, 721, 1155;
  • maxCount- hex encoded value, define once request return data count, max value:0x3E8
{
    "id":1,
    "method":"nr_getTokenList",
    "jsonrpc":"2.0",
    "params":[
        {
            "category":"20",
            "maxCount":"0x32"
        }
    ]
}
{
    "jsonrpc":"2.0",
    "id":1,
    "result":{
        "pageKey":"ab000000-0000-0000-0000-00000000000s",
        "tokens":[
            {
                "ID":21,
                "Name":"X00 Token",
                "TokenAddress":"0x2d5a9b83ecbdfeb0444629d1aaa4dc6e0c892fcd"
            },
            {
                "ID":3,
                "Name":"X08 Token",
                "TokenAddress":"0xeab5c76def6a1654e3e21e6e8e8ab7f05c7911db"
            }
        ]
    }
}

nr_getDailyCategoryCount

This API method helps you to get the daily chart about transfer and block info.

Parameters

  • category- example: List [ "external", "20" ]; ------ external, internal; 20, 721, 1155, deposit, withdraw
  • totalDay- days of query, default is 10
{
    "id":1,
    "method":"nr_getDailyCategoryCount",
    "jsonrpc":"2.0",
    "params":[
        {
            "category":"external",
            "totalDay":10
        }
    ]
}
{
    "jsonrpc":"2.0",
    "id":1,
    "result":{
        "updateTime":1691744004,
        "transferDayCount":[
            {
                "timestamp":1691712000,
                "count":219279,
                "block_count":31867,
                "avg_block_time":"1.00",
                "avg_block_size":"3349.96"
            },
            {
                "timestamp":1691625600,
                "count":423804,
                "block_count":86400,
                "avg_block_time":"1.00",
                "avg_block_size":"2850.94"
            },
            {
                "timestamp":1691539200,
                "count":157323,
                "block_count":86400,
                "avg_block_time":"1.00",
                "avg_block_size":"2126.52"
            }
        ]
    }
}

nr_getSearchedTokenMeta

This API method helps you to get the all NFT(721/1155) token info by using token symbol.

Parameters

  • params- the list of token symbol
{
    "id":1,
    "method":"nr_getSearchedTokenMeta",
    "jsonrpc":"2.0",
    "params":[
        "BUSD"
    ]
}
{"jsonrpc":"2.0","id":1,"result":{"tokenMetaInfos":[{"tokenAddress":"0xe9e7cea3dedca5984780bafc599bd69add087d56","tokenName":"BUSD Token","tokenSymbol":"BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x53da1d6c114d02be5db1c8c37a40a15920f007da","tokenName":"BUSD Token","tokenSymbol":"BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x98a5737749490856b401db5dc27f522fc314a4e1","tokenName":"BUSD Token-LP","tokenSymbol":"S*BUSD","tokenDecimal":6,"tokenType":"ERC20"},{"tokenAddress":"0x3a667100753cfb7538208af98cb472f65f10da87","tokenName":"Nomiswap stable LPs","tokenSymbol":"NMX-SLP-USDT-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x95c78222b3d6e262426483d42cfa53685a67ab9d","tokenName":"Venus BUSD","tokenSymbol":"vBUSD","tokenDecimal":8,"tokenType":"ERC20"},{"tokenAddress":"0x7c9e73d4c71dae564d41f78d56439bb4ba87592f","tokenName":"Interest Bearing BUSD","tokenSymbol":"ibBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x89d763e8532d256a3e3e60c1c218ac71e71cf664","tokenName":"Radiant interest bearing BUSD","tokenSymbol":"rBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x6321b57b6fdc14924be480c54e93294617e672ab","tokenName":"StableV1 AMM - USDT/BUSD","tokenSymbol":"sAMM-USDT/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x2896b0d3fb19b79fcb7b7ede832deb6c1621664c","tokenName":"VolatileV1 AMM - XCAD/BUSD","tokenSymbol":"vAMM-XCAD/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xca25f030a103bcd0a6360ffe0f98d95f3cc6a7ec","tokenName":"Nomiswap stable LPs","tokenSymbol":"NMX-SLP-USDC-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xe54de6cf9872fea4b99a0e9243df0089829b90f8","tokenName":"xBUSD","tokenSymbol":"$xBUSD","tokenDecimal":9,"tokenType":"ERC20"},{"tokenAddress":"0x483653bcf3a10d9a1c334ce16a19471a614f4385","tokenName":"VolatileV1 AMM - WBNB/BUSD","tokenSymbol":"vAMM-WBNB/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x7e61c053527a7af0c700ad9d2c8207e386273222","tokenName":"StableV1 AMM - USDC/BUSD","tokenSymbol":"sAMM-USDC/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xf81b6b8aaad4c37f6f2e8aa9988f28ea8e82bb49","tokenName":"VolatileV1 AMM - DAO/BUSD","tokenSymbol":"vAMM-DAO/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x3c552e8ac4473222e3d794adecfa432eace85929","tokenName":"VolatileV1 AMM - IDIA/BUSD","tokenSymbol":"vAMM-IDIA/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x93b32a8dfe10e9196403dd111974e325219aec24","tokenName":"StableV1 AMM - HAY/BUSD","tokenSymbol":"sAMM-HAY/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x7fcfe6b06c1f6aad14884ba24a7f315c1c0c2cef","tokenName":"StableV1 AMM - FRAX/BUSD","tokenSymbol":"sAMM-FRAX/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x8d3308e14a48f0681cea94d7c6995ec73b3973f1","tokenName":"Radiant variable debt bearing BUSD","tokenSymbol":"variableDebtBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x8033d5b454ee4758e4bd1d37a49009c1a81d8b10","tokenName":"Allbridge LP","tokenSymbol":"LP-BUSD","tokenDecimal":3,"tokenType":"ERC20"},{"tokenAddress":"0xc3dac2049616326e7d596ce52062789d96373b55","tokenName":"KyberDMM LP USDT-BUSD","tokenSymbol":"DMM-LP USDT-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xaed19dab3cd68e4267aec7b2479b1ed2144ad77f","tokenName":"Valas BUSD","tokenSymbol":"valBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xeb58a4d07990ff50b9f8289701cbddf9052570b5","tokenName":"VolatileV1 AMM - MATIC/BUSD","tokenSymbol":"vAMM-MATIC/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xfd3b7305693956994fc0cc973f4dd046fc3500ac","tokenName":"KyberSwap LP CGPT-BUSD","tokenSymbol":"KS-LP CGPT-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x40d1b69cce55ff4b98d143b7d0b53b424acc6e73","tokenName":"KERMIT BUSD","tokenSymbol":"KermitBusd","tokenDecimal":9,"tokenType":"ERC20"},{"tokenAddress":"0xf319947ece3823b790dd87b0a509396fe325745a","tokenName":"Wombat Binance USD Asset","tokenSymbol":"LP-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x0096b6b49d13b347033438c4a699df3afd9d2f96","tokenName":"Ola BUSD Token","tokenSymbol":"oBUSD","tokenDecimal":8,"tokenType":"ERC20"},{"tokenAddress":"0xe459556595a224d7f12b45e93138f4a1265ac618","tokenName":"StableV1 AMM - MAI/BUSD","tokenSymbol":"sAMM-MAI/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x2e92abcf2816b7b1b9628caa8d840f5bb60c6bb2","tokenName":"Tadpole BUSD Token","tokenSymbol":"tadBUSD","tokenDecimal":8,"tokenType":"ERC20"},{"tokenAddress":"0x3f38ba29acc107e6f0b059a17c9bab0598d0f249","tokenName":"Interest Bearing BUSD","tokenSymbol":"ibBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xbf8ffcfde0792c9f720cdbfbf2ad1be6e08e8d12","tokenName":"KyberDMM LP STRM-BUSD","tokenSymbol":"DMM-LP STRM-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x1f64b53970612c730594c83fbb1e638ec58cb842","tokenName":"USDFI.com Stable AMM - USDT/BUSD","tokenSymbol":"sAMM-USDT/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x9171bf7c050ac8b4cf7835e51f7b4841dfb2ccd0","tokenName":"beltBUSD","tokenSymbol":"beltBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xb39d1e503465fc1a9863f4ce10c0a7afea7bbc8f","tokenName":"BUSD","tokenSymbol":"BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x522361c3aa0d81d1726fa7d40aa14505d0e097c9","tokenName":"WBNB/BUSD Value LP","tokenSymbol":"WBNBBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x91804838f0271d532230488e55f8186f8d39423d","tokenName":"Impossible Swap LPs: WBNB/BUSD","tokenSymbol":"IF-LP: WBNB/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x7ff1aec17ea060bbcb7df6b8723f6ea7fc905e8f","tokenName":"Wombat Binance USD Asset","tokenSymbol":"LP-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x67e51f1de32318f3a27265287ed766839a62cf13","tokenName":"VolatileV1 AMM - PSTAKE/BUSD","tokenSymbol":"vAMM-PSTAKE/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x721f0607e3b3ad025c3f996ef412a62ae461b15f","tokenName":"VolatileV1 AMM - PRIMAL/BUSD","tokenSymbol":"vAMM-PRIMAL/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xa57ff643d8d346c17116ac64c1b70808cd231225","tokenName":"Impossible Swap LPs: IDIA/BUSD","tokenSymbol":"IF-LP: IDIA/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x881b608ec7e15cd5bb4da9db6ae9c477b4f67731","tokenName":"VolatileV1 AMM - WBNB/BUSD","tokenSymbol":"vAMM-WBNB/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x3a853210ef83a75ef4a7c406f22b9f861cdf3c94","tokenName":"KyberDMM LP BABBC-BUSD","tokenSymbol":"DMM-LP BABBC-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x3de1fe0039ec99773dbee5608823fecdefb8d9d0","tokenName":"Xend BUSD Token","tokenSymbol":"xvBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x930891020402469d7bd32df3401fded3b893cef0","tokenName":"Ellipsis.finance Crypto Pool: dEPX-BUSD","tokenSymbol":"epsDEPX-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xeea9bd88ddda3d259248fc85f16b2cd3e6b29799","tokenName":"WBNB/BUSD","tokenSymbol":"WBNB/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x341b518596919b65780675501839f89ef3d28f5c","tokenName":"Impossible Swap LPs: HIGH/BUSD","tokenSymbol":"IF-LP: HIGH/BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x5c192278bb23f4a9a3b262514473117fb7e635ef","tokenName":"Infinity (WBNB-BUSD)","tokenSymbol":"♾️WBNB-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x4bcc780908492e916083b2e7f5481277e9750125","tokenName":"1inch Liquidity Pool (CHI-BUSD)","tokenSymbol":"1LP-CHI-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x0c1aa02396b9738e654bb24ab7edb86fa24b7a28","tokenName":"WBNB/BUSD BLP","tokenSymbol":"WBNBBUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0xcf434949c242c2d32514ba971947bd3700efb015","tokenName":"Wombat Binance USD Asset","tokenSymbol":"LP-BUSD","tokenDecimal":18,"tokenType":"ERC20"},{"tokenAddress":"0x3b6ce56d954186e60af5651edc20e6036f53e634","tokenName":"Impossible Swap LPs: WIRTUAL/BUSD","tokenSymbol":"IF-LP: WIRTUAL/BUSD","tokenDecimal":18,"tokenType":"ERC20"}]}}

nr_getTransferByTokenId

This API method helps you to get information about the token transfer by using token id.

Parameters

  • tokenIds- the list of token id, string list
  • maxCount- hex encoded value, define once request return data count
  • address- token address, string
{
    "id":1,
    "method":"nr_getTransferByTokenId",
    "jsonrpc":"2.0",
    "params":[
        {
            "tokenIds":[
                "0x1"
            ],
            "maxCount":"0x64",
            "address":"0x98387108842a7CfC7bA23E080030351f6ea68ac0"
        }
    ]
}
{
    "jsonrpc":"2.0",
    "id":1,
    "result":{
        "pageKey":"qj000003-3Lik-wAf2-p4bo-22w4MiEpDutc",
        "transfers":[
            {
                "category":"1155",
                "blockNum":"0xac6052",
                "from":"0x0000000000000000000000000000000000000000",
                "to":"0x212e0955dda4b206adbe9d49e7c4c599c1d80f4a",
                "value":"0x0",
                "erc1155Metadata":[
                    {
                        "tokenId":"0x0000000000000000000000000000000000000000000000000000000000000001",
                        "value":"0x00000000000000000000000000000000000000000000000000000000000003e8"
                    }
                ],
                "asset":"MEC",
                "hash":"0xd2ae4794d3c5faab79c2e8dc0001f79f3f9be70a75bc2fe495f0401f21bb9151",
                "contractAddress":"0x98387108842a7cfc7ba23e080030351f6ea68ac0",
                "decimal":"0",
                "blockTimeStamp":1632798913
            }
        ]
    }
}

nr_getTransferCountByTokenId

This API method helps you to get amount of the token transfer by using token id.

Parameters

  • tokenIds- the list of token id, string list
  • address- token address, string
{
    "id":1,
    "method":"nr_getTransferCountByTokenId",
    "jsonrpc":"2.0",
    "params":[
        {
            "tokenIds":[
                "0x1"
            ],
            "address":"0x98387108842a7CfC7bA23E080030351f6ea68ac0"
        }
    ]
}
{"jsonrpc":"2.0","id":1,"result":4644633}

nr_getUniqueAccountsCountByBlockRange

This API method helps you to get the count of active accounts that interacted with certain addresses by block range.

Parameters

  • from_block- block number, hexadecimal string (supported block range is 100,000)
  • to_block- block number, hexadecimal string (supported block range is 100,000)
  • addresses - a list of addresses, which will restrict it to unique addresses interacting with a set of addresses provided by this parameter. (limit to <= 20 addresses)
{
    "id": 1,
    "method": "nr_getUniqueAccountCountByBlockRange",
    "jsonrpc": "2.0",
    "params": [
    {
      "fromBlock": "0x98ca4b",
      "toBlock": "0x98ca4b",
      "addresses": [
        "0x4200000000000000000000000000000000000007",
        "0x4200000000000000000000000000000000000015",
        "0x4200000000000000000000000000000000000010"
      ]
    }
  ]
}
{
    "jsonrpc":"2.0",
    "id":1,
    "result": “0x4”
}