Token and NFT
Retrieve Account Information
This feature is available only after a successful login. It returns the account information for wallets used in the app.
Request
Parameter
userId
String
O
walletId
String
O
Response
Success Response
walletId
String
The user's wallet ID.
accounts
Account(Object) []
List of retrieved accounts (Account
)
Account
accountId
StringUnique identifier for the account
accountTokenId
String (Optional)Unique identifier for the token account. Returned only if it is a token account.
address
StringAccount address
addressPath
StringAccount address path
label
StringAccount label
balance
StringAccount balance
coinId
Integer (Optional)Identifier for the coin information of the account. Returned only for native coins.
name
StringName of the coin information of the account
network
StringNetwork name of the account
symbol
StringSymbol of the account
decimals
IntegerDecimal value of the coin in the account
contract
String (Optional)Contract address of the token account. Returned only for token accounts.
iconUrl
StringURL for the account's icon image
ids
StringIdentifier to retrieve the coin information of the account
Example
Refresh Account Balance
Refreshes the balance of the account. If the refresh is triggered by the user in the front-end service, it is recommended to implement UI/UX to prevent repeated requests within 1 minute.
Request
Parameter
accountId
String
O
Response
Success Response
balance
String
Account balance
decimals
Integer
Decimal value of the account
symbol
String
Symbol of the account
tokens
TokenBalance(Object) []
List of balances for the account's tokens (TokenBalance
)
TokenBalance
balance
StringToken account balance
decimals
IntegerDecimal value of the token account
symbol
StringSymbol of the token account
contract
StringContract address of the token account
Example
Retrieve NFT Information
This function is available only after a successful login. It returns the NFT information of the wallet used in the app.
Request
Parameter
userId
String
O
walletId
String
O
Response
Success Response
nfts
NFT(Object) []
Retrieved NFT list (NFT
)
NFT
id
StringUnique identifier of the NFT
accountId
StringUnique identifier of the account holding the NFT
name
StringNFT name
description
StringNFT description
externalLink
StringNFT external link
imageUrl
StringNFT image URL
quantity
IntegerNumber of NFTs
contentType
IntegerType of NFT content
1
: image2
: video
contract
ObjectInformation about the NFT contract (
NFTContract
)
Example
NFTContract
address
StringNFT Contract address
scheme
IntegerNFT Contract Scheme
1
: ERC7212
: ERC1155
description
StringNFT Contract 설명
network
StringNetwork
externalLink
StringNFT contract external link
imageUrl
StringNFT contract image URL
Refresh NFT Information
Refreshes the NFT information. If the refresh is triggered by a user's request in the front-end service, it is recommended to design the UI/UX to prevent repeated requests within 1 minute.
Request
Parameter
userId
String
O
walletId
String
O
Response
The response is identical to that of Retrieve NFT Information.
Last updated