getOnGameBalanceToken

OnMode된 Balance 토큰 체크

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

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