Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

GetTokensByWallet

Get tokens by wallet address.

Parameters

walletAddress|string - Which wallet you want to get from.

limit|int - The limit count of transactions.

nextBefore|string - The transaction offset.

action|Action<WalletTokenResponse> - The callback function of this method is used to receive the results.

Returns

response class - CommonResponse<WalletTokenResponse>

Code Example


string walletAddress = "target wallet address";
int limit = 1;
string nextBefore = "next before";
MWSDK.Solana.Wallet.GetTokensByWallet(walletAddress,limit,nextBefore,(res) => {
CommonResponse<WalletTokenResponse> resObj = res;
long code = resObj.code;
string message = resObj.message;
WalletTokenResponse tokens = resObj.data;
//todo...
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog