getWalletTokenHistory

Get all ERC20 tokens (with balances, including zero-value balances) the given wallet address has ever held (supports snapshotting at a specific block number)

Retrieve a comprehensive record of all ERC20 tokens ever held by the provided wallet address, including zero-value balances. This functionality supports snapshotting at a specific block number, enabling you to access historical token data. Notably, the response is thoughtfully structured to present balances in a reverse chronological order, with the most recent transfer events displayed first, offering a clear historical perspective.Balances in the response are returned in reverse chronological order of the transfer event that updated them (most recent first).

How to use getWalletTokenHistory method ?

Below, you'll find an in-depth guide that provides a comprehensive explanation of how to utilize the getWalletTokenHistory method effectively using Blast Builder API.

Parameters

FieldTypeDescription

walletAddress *

string

The address of the wallet

blockNumber

string

Indicate the block height

pageSize

integer

Number of records to be retrieved on one page

pageKey

string

Key used to get the next page of results. Must be set to the value of nextPageKey returned in the previous response

Returns

In this section, you will find a comprehensive list of parameters returned as part of the response. These parameters provide essential information about ERC20 token hostorical balances, transactions, and associated details, enabling you to effectively work with the data retrieved from the API.

Returns array of historical Token Balance objects.

This API is paginated, response items are ordered descending by:

  • blockNumber

  • transferIndex

FieldTypeDescription

walletAddress

string

The address of the wallet

count

integer

The number of allowances

nextPageKey

string

Key used to get the next page of results. Must be set to the value of nextPageKey returned in the previous response

historicalBalances

array

The array of Token Balance objects

contractAddress

string

The token contract address

contractDecimals

string

Token decimals specified in the contract

contractName

string

The name of the token

contractSymbols

string

The symbol of the token

balance

string

Token balance on the specified wallet

firstTransfer

string

Details of the transfer which updated the wallet balance for this token for the first time

fromAddress

string

Address from which the transfer originated

toAddress

array

Destination address for the transfer (multiple allowed)

value

string

Token amount

blockHash

string

The hash of the block

blockNumber

integer

The block height

blockTimestamp

string

The timestamp of the block

transactionHash

string

The hash of the transaction

transactionIndex

integer

The index of the transaction

logIndex

integer

The index of the log

lastTransfer

string

Details of the latest transfer which updated the wallet balance for this token

Example Request and Result for getWalletTokenHistory

In this section, we provide an illustrative example of a request made using the 'getWalletTokenHistory' API method, along with a detailed breakdown of the resulting data. This example serves as a practical reference to demonstrate how to retrieve token history information, helping you understand and utilize the API effectively.

The example in this section uses a non-existing project id.

Make sure you replace it with your Starknet endpoint when issuing the Builder API calls.

Don't have a project id? Here's a straightforward guide on how to obtain one!

GET https://eth-mainnet.blastapi.io/<project-id>/builder/getWalletTokenHistory?

Query Parameters

NameTypeDescription

walletAddress*

String

0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee

{
    "walletAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
    "count": 16,
    "historicalBalances": [
        {
            "contractAddress": "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
            "contractDecimals": "18",
            "contractName": "Ether",
            "contractSymbol": "ETH",
            "balance": "22278595196979973",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "17000000000000000",
                "blockHash": "0x03bbb8a3fb9a61211e27bdf4305f63181e5d9d1d597a1794c55ea60b7eaa65b9",
                "blockNumber": 41662,
                "blockTimestamp": "2023-04-19T03:24:53.000Z",
                "transactionHash": "0x01bb0c77d13676c4d32a1aeb1a875da312f0d7b0cdbf858f7b907a0eac682d47"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x01176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8",
                "value": "209289408863958",
                "blockHash": "0x0644fde4cefb49f3ef572fb8267588cfbabb4f9396f6e5ea34dea49a2edd16df",
                "blockNumber": 511580,
                "blockTimestamp": "2024-01-20T08:38:40.000Z",
                "transactionHash": "0x07ffe05d7293ab6c265e047b9b26702e75ee8cbdd8f7e030ba87735bb31d9960"
            }
        },
        {
            "contractAddress": "0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8",
            "contractDecimals": "6",
            "contractName": "USD Coin",
            "contractSymbol": "USDC",
            "balance": "1000000",
            "firstTransfer": {
                "fromAddress": "0x010884171baf1914edc28d7afb619b40a4051cfae78a094a55d230f19e944a28",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "999352",
                "blockHash": "0x00dc6bc3fd5f65a2f70bef850106071819c5c40866f515b4715d2b6f9537c866",
                "blockNumber": 41674,
                "blockTimestamp": "2023-04-19T03:46:53.000Z",
                "transactionHash": "0x0432dcd56ee16eacfd5e1459c0ac8d6b5d9f0f56b591b5da4b0bae453878e5b7"
            },
            "lastTransfer": {
                "fromAddress": "0x04d0390b777b424e43839cd1e744799f3de6c176c7e32c1812a41dbd9c19db6a",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "1000000",
                "blockHash": "0x0644fde4cefb49f3ef572fb8267588cfbabb4f9396f6e5ea34dea49a2edd16df",
                "blockNumber": 511580,
                "blockTimestamp": "2024-01-20T08:38:40.000Z",
                "transactionHash": "0x07ffe05d7293ab6c265e047b9b26702e75ee8cbdd8f7e030ba87735bb31d9960"
            }
        },
        {
            "contractAddress": "0x055c3868c743e92c470701799388cb3fb1d922dcec271150d10462c6948e3cf4",
            "contractDecimals": "18",
            "contractName": "STRAK",
            "contractSymbol": "STRAK",
            "balance": "173906988421224650540976",
            "firstTransfer": {
                "fromAddress": "0x038c02022ec31c3a523870a9130bb5d4c50ca7021f8d0b0e333554908b9ce8df",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "643023793123884723531059",
                "blockHash": "0x05ddb1b3c0c112992844b4515de9ffdfe18b4fa6ef15ae9584d9ae134f67f657",
                "blockNumber": 465719,
                "blockTimestamp": "2023-12-11T15:07:32.000Z",
                "transactionHash": "0x027ae1cc865302826f4e7326be3c5040a4e30192bbd921a11f2f9131021a75ea"
            },
            "lastTransfer": {
                "fromAddress": "0x038c02022ec31c3a523870a9130bb5d4c50ca7021f8d0b0e333554908b9ce8df",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "173906988421224650540976",
                "blockHash": "0x00d3137abc9d161332cc04f9ea87b2d9962c7bf36ae25377549db6eb682b503d",
                "blockNumber": 469598,
                "blockTimestamp": "2023-12-14T13:32:48.000Z",
                "transactionHash": "0x01bf3c1d986e8e1114d4076eff7206bb9f0c54040a710311d59c5af628e80d5b"
            }
        },
        {
            "contractAddress": "0x04ee423b1f89f1ac011d6f2f05c1eb35d61594b801122771cce7747718aa416f",
            "contractDecimals": "18",
            "contractName": "BabyCario",
            "contractSymbol": "cro",
            "balance": "55702109907292317779934",
            "firstTransfer": {
                "fromAddress": "0x07102f945472a1298c851d73f961a017b2a09f08af649036015476231a3fd701",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "55702109907292317779934",
                "blockHash": "0x03af9541b762f993340c4afbe2f6b201feb6f001c8daafa3666673eaa34d0fda",
                "blockNumber": 465870,
                "blockTimestamp": "2023-12-11T17:06:34.000Z",
                "transactionHash": "0x01ec0564297b0acfa2903d60b779e870f3973d89dadde0dab40ba5ca114cddbc"
            },
            "lastTransfer": {
                "fromAddress": "0x07102f945472a1298c851d73f961a017b2a09f08af649036015476231a3fd701",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "55702109907292317779934",
                "blockHash": "0x03af9541b762f993340c4afbe2f6b201feb6f001c8daafa3666673eaa34d0fda",
                "blockNumber": 465870,
                "blockTimestamp": "2023-12-11T17:06:34.000Z",
                "transactionHash": "0x01ec0564297b0acfa2903d60b779e870f3973d89dadde0dab40ba5ca114cddbc"
            }
        },
        {
            "contractAddress": "0x0049288ea7d42c4411621e2ef9fdab182f66003b2f2e46845e2d7b75dbd8e6d8",
            "contractDecimals": "18",
            "contractName": "erbi",
            "contractSymbol": "erb ",
            "balance": "100000000000000000010",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "100000000000000000000",
                "blockHash": "0x007edb46505010c454aa1331fd1b21923256fef31e874ce53cc5b65644ab7b36",
                "blockNumber": 401185,
                "blockTimestamp": "2023-11-16T09:13:38.000Z",
                "transactionHash": "0x0611c506aceffd0bf7968aaa1da826c05aa242691a30b349967c16cc623d09d4"
            },
            "lastTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "10",
                "blockHash": "0x062c3577000d7cbdad5fb31aaf98403cfb9063609c7fc8ae1f33cc2c50e52808",
                "blockNumber": 401188,
                "blockTimestamp": "2023-11-16T09:14:45.000Z",
                "transactionHash": "0x0440e19150661e5c31f37175b941e4531b9d60c9c3c1ec164dbf60066d4b4a14"
            }
        },
        {
            "contractAddress": "0x00da114221cb83fa859dbdb4c44beeaa0bb37c7537ad5ae66fe5e0efd20e6eb3",
            "contractDecimals": "18",
            "contractName": "Dai Stablecoin",
            "contractSymbol": "DAI",
            "balance": "0",
            "firstTransfer": {
                "fromAddress": "0x0032ebb8e68553620b97b308684babf606d9556d5c0a652450c32e85f40d000d",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "2535866007655712594",
                "blockHash": "0x016b684c57b431df80f02ed59b6e59c715b0de2d4d8df5c1f3ada551959bf20b",
                "blockNumber": 108266,
                "blockTimestamp": "2023-07-15T11:16:15.000Z",
                "transactionHash": "0x0182e6682b296737f3f082f6124a642680de69b64475477839f1708789bb2f47"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x017e9e62c04b50800d7c59454754fe31a2193c9c3c6c92c093f2ab0faadf8c87",
                "value": "8960947414658633041",
                "blockHash": "0x02c473a524ac4d518a03d0bc362957d77fac57728a8376b6c1cc0d17b6e7c49d",
                "blockNumber": 393508,
                "blockTimestamp": "2023-11-12T09:10:42.000Z",
                "transactionHash": "0x009555357c621749f660ddf72a75281caae67c87525479b1c71db880a4f9520b"
            }
        },
        {
            "contractAddress": "0x014e644c20bd5f9888033d2093c8ba3334caa0c7d15ed142962a9bebf36cc7e0",
            "contractDecimals": "18",
            "contractName": "MYSWAP tETH/ETH",
            "contractSymbol": "MYLP",
            "balance": "0",
            "firstTransfer": {
                "fromAddress": "0x05abfa46fe9bf3323dfe801da51174729c2b3dd060b80575b29c015245899d74",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "4860020509669747",
                "blockHash": "0x0636606a052657e2c49c8b2839141af0172eca358718cfddd793efa51664fbf3",
                "blockNumber": 153846,
                "blockTimestamp": "2023-08-13T22:31:43.000Z",
                "transactionHash": "0x044ce60856a5c9049ef50022a99d352bd5b690b3cabc01b5900e82d857306a8b"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x05abfa46fe9bf3323dfe801da51174729c2b3dd060b80575b29c015245899d74",
                "value": "4860020509669747",
                "blockHash": "0x06eb6e400e3a71daa80f2d21fe1c34d1f0cda37fd840ab465e9de06c0e009c94",
                "blockNumber": 156023,
                "blockTimestamp": "2023-08-15T08:17:35.000Z",
                "transactionHash": "0x0310c4e4e4f8df06d86b9e2fee9a0f6f1e98d4531a935ca13ad05e434e5979f5"
            }
        },
        {
            "contractAddress": "0x022b05f9396d2c48183f6deaf138a57522bcc8b35b67dee919f76403d1783136",
            "contractDecimals": "12",
            "contractName": "MYSWAP ETH/USDC",
            "contractSymbol": "MYLP",
            "balance": "0",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "86575848076",
                "blockHash": "0x0475b7a4a2638444ef0cb8a92a6a1606fb98ddb9d865c34dce848780f9ca70db",
                "blockNumber": 142771,
                "blockTimestamp": "2023-08-05T18:58:50.000Z",
                "transactionHash": "0x059e750643fe2390b44b792143fcf944338e50710cb8967b0e12522212bc605f"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "value": "86575848076",
                "blockHash": "0x05cc9166fc294d8f8b5fbb75767fd845dd9a1e4b4b2914821681254cf958e560",
                "blockNumber": 146341,
                "blockTimestamp": "2023-08-08T16:35:16.000Z",
                "transactionHash": "0x06857abddb4b3290538557ecf34199679e3e014798ce0230c597565d1e184aa0"
            }
        },
        {
            "contractAddress": "0x002f8deaebb9da2cb53771b9e2c6d67265d11a4e745ebd74a726b8859c9337b9",
            "contractDecimals": "18",
            "contractName": "Nostra IB Ethereum",
            "contractSymbol": "iETH",
            "balance": "0",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "3097997049284750",
                "blockHash": "0x025aef3761b7bec25517b9330c6d3ad8f71749a13c5c274e1a0a7944227b51ac",
                "blockNumber": 139154,
                "blockTimestamp": "2023-08-02T20:21:50.000Z",
                "transactionHash": "0x049c9d1dcc0b1dddd52485074d043bdc6a50d9891000d482eede39ab8c11892a"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "value": "3097997049284750",
                "blockHash": "0x0441312f7238de14a5a3c8eed7243225f1d7f85c9991fe960555b173c4765095",
                "blockNumber": 142769,
                "blockTimestamp": "2023-08-05T18:54:43.000Z",
                "transactionHash": "0x016b3f0a1f436e70acfa387f43e7118b1d5dd990e0598b087e47e3c5a5aa3f35"
            }
        },
        {
            "contractAddress": "0x01b5bd713e72fdc5d63ffd83762f81297f6175a5e0a4771cdadbc1dd5fe72cb1",
            "contractDecimals": "18",
            "contractName": "zkLend Interest-Bearing ETH",
            "contractSymbol": "zETH",
            "balance": "-36903934041",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "3000000000000000",
                "blockHash": "0x04863a0fc5835d00e7a7d4df7834e4baecb3ad8870a1dbfdccd697ef6a3b35c8",
                "blockNumber": 135756,
                "blockTimestamp": "2023-07-30T17:08:38.000Z",
                "transactionHash": "0x023d2e1e8b11804528bd589f70a65117c25907aa86e377d560dc263f8eeedf5e"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "value": "3797507877543289",
                "blockHash": "0x04bfb41f5d82e86f229feb36326132e3b4ba27dfdf87a6e5b749eb075ed3f517",
                "blockNumber": 139424,
                "blockTimestamp": "2023-08-03T04:23:48.000Z",
                "transactionHash": "0x06170817b9ed3a4b50984e94c5e497e3f0889d046babd8cedf6a99102bd2fd68"
            }
        },
        {
            "contractAddress": "0x062fa7afe1ca2992f8d8015385a279f49fad36299754fb1e9866f4f052289376",
            "contractDecimals": "18",
            "contractName": "zkLend Interest-Bearing DAI",
            "contractSymbol": "zDAI",
            "balance": "200297837934995289",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "200297837934995289",
                "blockHash": "0x05bfc684a4d1c5bc8b93c3c4dfddf774257bcb848874abe859998f3327ef99ec",
                "blockNumber": 108274,
                "blockTimestamp": "2023-07-15T11:21:41.000Z",
                "transactionHash": "0x00c23e44479638b935d4fa4f7552bc84f6e6b9b6b855eb8401ce814025dcb541"
            },
            "lastTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "200297837934995289",
                "blockHash": "0x05bfc684a4d1c5bc8b93c3c4dfddf774257bcb848874abe859998f3327ef99ec",
                "blockNumber": 108274,
                "blockTimestamp": "2023-07-15T11:21:41.000Z",
                "transactionHash": "0x00c23e44479638b935d4fa4f7552bc84f6e6b9b6b855eb8401ce814025dcb541"
            }
        },
        {
            "contractAddress": "0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8",
            "contractDecimals": "6",
            "contractName": "Tether USD",
            "contractSymbol": "USDT",
            "balance": "0",
            "firstTransfer": {
                "fromAddress": "0x05900cfa2b50d53b097cb305d54e249e31f24f881885aae5639b0cd6af4ed298",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "500000",
                "blockHash": "0x0565bbe4159872892186da5a24b08ff0f436720fa3dac1a51fae0cf01d81a6e8",
                "blockNumber": 43829,
                "blockTimestamp": "2023-04-23T16:03:43.000Z",
                "transactionHash": "0x03c84b54f0a47e6fe6f208bfb2b95ff58a2df3e4220b94363bc3464fec8ee38f"
            },
            "lastTransfer": {
                "fromAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "toAddress": "0x01b23ed400b210766111ba5b1e63e33922c6ba0c45e6ad56ce112e5f4c578e62",
                "value": "17962111",
                "blockHash": "0x03f656b7b9b03fbd6986f4d5a360b5a6d3692a0ccc0195a7be097c6781ddc1da",
                "blockNumber": 102687,
                "blockTimestamp": "2023-07-11T21:07:25.000Z",
                "transactionHash": "0x051987b7dfc1a02b0d723dafefa22092399ad8746ec5c06c643e11c1a059683b"
            }
        },
        {
            "contractAddress": "0x041a708cf109737a50baa6cbeb9adf0bf8d97112dc6cc80c7a458cbad35328b0",
            "contractDecimals": "18",
            "contractName": "10kSwap Pair Token",
            "contractSymbol": "LPT",
            "balance": "467930",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "467930",
                "blockHash": "0x02eded67f2c49db26b5d08a214fc40d948cef3134b1ab0333126e23b8704850e",
                "blockNumber": 43831,
                "blockTimestamp": "2023-04-23T16:08:36.000Z",
                "transactionHash": "0x01677de29804e74c7e1a16995bf980611b048e0ed7c715ad2f2d7776b12aa601"
            },
            "lastTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "467930",
                "blockHash": "0x02eded67f2c49db26b5d08a214fc40d948cef3134b1ab0333126e23b8704850e",
                "blockNumber": 43831,
                "blockTimestamp": "2023-04-23T16:08:36.000Z",
                "transactionHash": "0x01677de29804e74c7e1a16995bf980611b048e0ed7c715ad2f2d7776b12aa601"
            }
        },
        {
            "contractAddress": "0x04d0390b777b424e43839cd1e744799f3de6c176c7e32c1812a41dbd9c19db6a",
            "contractDecimals": "18",
            "contractName": "JediSwap Pair",
            "contractSymbol": "JEDI-P",
            "balance": "8665600008",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "8665600008",
                "blockHash": "0x052a3c833c192a446bb7a507d62279fba5bfdb5b3befee81e257ce644baacb63",
                "blockNumber": 41719,
                "blockTimestamp": "2023-04-19T05:33:14.000Z",
                "transactionHash": "0x049b4c262cdcd7fe0ba5c9127dcf528a6990839d2d89601513e45f4c7ad426a3"
            },
            "lastTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "8665600008",
                "blockHash": "0x052a3c833c192a446bb7a507d62279fba5bfdb5b3befee81e257ce644baacb63",
                "blockNumber": 41719,
                "blockTimestamp": "2023-04-19T05:33:14.000Z",
                "transactionHash": "0x049b4c262cdcd7fe0ba5c9127dcf528a6990839d2d89601513e45f4c7ad426a3"
            }
        },
        {
            "contractAddress": "0x06a05844a03bb9e744479e3298f54705a35966ab04140d3d8dd797c1f6dc49d0",
            "contractDecimals": "0",
            "contractName": "Game of Life Token",
            "contractSymbol": "GOL",
            "balance": "1",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "1",
                "blockHash": "0x050e95f00b00f32a6219daf4a6a04ea4f61f495a0765fc9b0e7cd61eab1efad6",
                "blockNumber": 41713,
                "blockTimestamp": "2023-04-19T05:15:39.000Z",
                "transactionHash": "0x02fee0c60549c3c4631a9f61d41774b6c5490eda11353534369accb0d1fbc2f4"
            },
            "lastTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "1",
                "blockHash": "0x050e95f00b00f32a6219daf4a6a04ea4f61f495a0765fc9b0e7cd61eab1efad6",
                "blockNumber": 41713,
                "blockTimestamp": "2023-04-19T05:15:39.000Z",
                "transactionHash": "0x02fee0c60549c3c4631a9f61d41774b6c5490eda11353534369accb0d1fbc2f4"
            }
        },
        {
            "contractAddress": "0x000023c72abdf49dffc85ae3ede714f2168ad384cc67d08524732acea90df325",
            "contractDecimals": "18",
            "contractName": "10kSwap Pair Token",
            "contractSymbol": "LPT",
            "balance": "8400331028",
            "firstTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "8400331028",
                "blockHash": "0x01fbc374740a89d0d006effcba899e54d5f63640dadb3dd6a23b449c567afc02",
                "blockNumber": 41683,
                "blockTimestamp": "2023-04-19T04:05:44.000Z",
                "transactionHash": "0x03c556f3f99f7e323e04dc03182025cc51ecea4d3dafac2c953c4e0055b30897"
            },
            "lastTransfer": {
                "fromAddress": "0x0000000000000000000000000000000000000000000000000000000000000000",
                "toAddress": "0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee",
                "value": "8400331028",
                "blockHash": "0x01fbc374740a89d0d006effcba899e54d5f63640dadb3dd6a23b449c567afc02",
                "blockNumber": 41683,
                "blockTimestamp": "2023-04-19T04:05:44.000Z",
                "transactionHash": "0x03c556f3f99f7e323e04dc03182025cc51ecea4d3dafac2c953c4e0055b30897"
            }
        }
    ]
}

Curl request example

curl --location 'https://starknet-mainnet.blastapi.io/<project-id>/builder/getWalletTokenHistory?walletAddress=0x069e5becf53bed3a73c3ebaaeb3deee49fd9fc1da31f9be3b3e34d761cd630ee'

Last updated