getOnGameBalanceToken

function getOnGameBalanceToken(
   address _tokenContract, 
   string memory _ownerUid
) external view returns(uint256 amount)

token μ†Œμœ  μˆ˜λŸ‰ (on mode)

Parameters

TypeValueDescription

address

_tokenContract

토큰 μ»¨νŠΈλž™νŠΈ μ£Όμ†Œ

string

_ownerUid

μ‚¬μš©μž uid

Return Values

TypeValueDescription

uint256

amount

보유 토큰 μˆ˜λŸ‰

Example

data = await manageTokenRouterContract.getOnGameBalanceToken(tokenContract.address, uid)

// result
BigNumber { value: "1000000000000000000000" }

2023.03.03

Last updated