👨
Unrivaled User Profile
With BlockVision's unique FT & NFT APIs across multiple public chains, developers and dApps are able to get a complete user profile of any given wallet.
Account position is fundamental information for all SocialFi, wallet management, DeFi and NFT aggregation platforms. With BlockVision's unique FT & NFT APIs across multiple public chains, it is now much easier to get a detailed picture of a certain wallet’s asset position on various DeFi, NFT or GameFi projects, across multiple chains. Furthermore, BlockVision’s powerful technology enables our user profile composition to not only stop at its current position but go far back into the wallet position & event history. It helps developers dig deeper into the valuable data and provide a better user experience.
For example, with BlockVision's original APIs focused on GameFi projects, developers are able to query the GameFi item portfolio of a certain wallet and the metadata across a number of games. Plus, developers can check the interaction history of a wallet with given smart contracts and consult the transaction history of a given game item and its price change, as well as many more amazing usages.
Thanks to the accumulation of data, it's extraordinarily helpful and convenient for projects to create a Web 3.0 social platform where we can show wallet’s portfolio and rankings in NFT, GameFi and DeFi positions, at the same time see which game or DeFi projects our friends are currently interacting with, what game items like skins, artwork, music or collectibles they have and even show off your own collections.

BlockVision's erc20_accountPositions and nft_accountPositions as well as similar APIs on other public chains, allows users to view all items across various DeFi and NFT projects held by a wallet and the corresponding balance.
Apart from the current portfolio, users can specify a blockNumber to view the historical positions so as to provide more detailed information for next level user experience.
var data = JSON.stringify({
"id": 1,
"jsonrpc": "2.0",
"method": "nft_accountPositions",
"params": {
"accountAddress": "0x922073B39f375D85817253ac194D03d990A8b493",
"blockNumber": 0,
"pageSize": 100,
"pageIndex": 0
}
});
var config = {
method: 'post',
url: 'https://apis.blockvision.org/v1/<api key>',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});

Further more, users can query meta information of token held by the wallet through account_ftPortfolio or account_nftPortfolio .
This feature allows users to quickly access information about the token held by the wallet, eliminating the need to look up the relevant token information by contract address.
curl https://api.blockvision.org/v1/<api key> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 0,
"method": "account_ftPortfolio",
"params": {
"accountAddress": "0x8Bc47bE1e3ABBaBa182069C89d08a61FA6C2B292",
"pageIndex": 1,
"pageSize": 20
}
}'

After obtaining the position records in a wallet, users can query the specific NFT position information through the nft_accountTokenIds as well as similar APIs on other public chains.
Metadata is very important for a game item which includes key information like the image of the character and various attributes. BlockVision will be able to return the URI information corresponding to a given Token ID of ERC721 or ERC1155.
var data = JSON.stringify({
"id": 1,
"jsonrpc": "2.0",
"method": "nft_accountTokenIDs",
"params": {
"contractAddress": "0x999e88075692bCeE3dBC07e7E64cD32f39A1D3ab",
"accountAddress": "0xeeA43B892D4593E7C44530dB1f75b0519Db0BD50",
"blockNumber": 0,
"pageSize": 5,
"pageIndex": 0
}
});
var config = {
method: 'post',
url: 'https://apis.blockvision.org/v1/<api key>',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});

BlockVision's nft_transfer enable users to analyze game item. BlockVision's erc20_transfer and nft_transfer, as well as similar APIs on other public chains, enable users to analyze asset transactions with different parameters, including fromAddress, toAddress, fromBlockNumber, toBlockNumber, and contractAddress, to achieve different purposes.
For example, users are able to easily track all buying and selling actions of a certain game character during a certain period by providing these five parameters: fromAddress, toAddress, fromBlockNumber, toBlockNumber, and contractAddress.
If the user wants to know the full interaction history of a wallet with a certain item of a GameFi project, they only need to specify three parameters: fromAddress, toAddress, and contractAddress.
Meanwhile, if an analyst wants to learn about who is the most active trader of a certain item during a certain period of time, he can do so by providing three parameters: fromBlockNumber, toBlockNumber, and contractAddress. Similarly, by setting fromAddress, fromBlockNumber, and toBlockNumber for nft_transfer, users are able to find out all selling activities of all ERC1155 NFTs across various GameFi projects done by a given wallet during a certain period of time. Likewise, by setting toAddress, fromBlockNumber, and toBlockNumber for nft_transfer.
var data = JSON.stringify({
"id": 1,
"jsonrpc": "2.0",
"method": "nft_transfers",
"params": {
"blockNumber": 0,
"accountAddress": "0xb5d85CBf7cB3EE0D56b3bB207D5Fc4B82f43F511",
"contractAddress": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"pageSize": 3,
"pageIndex": 1
}
});
var config = {
method: 'post',
url: 'https://apis.blockvision.org/v1/<api key>',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
Copy link
On this page
Account Positions
Account Portfolio
NFT Token IDs
Transfers