getBalance

function getBalance(
   uint256 _lockupIndex
)external returns(uint256 balance)

Lokcup ๋œ ํ† ํฐ ์ˆ˜๋ น ๊ฐ€๋Šฅ ์—ฌ๋ถ€ ํ™•์ธ

Parameters

Type
Value
Description

uint256

_lockupIndex

LockupIndex ๊ฐ’

Return Values

Type
Value
Description

uint256

balance

์ฐพ์„ ์ˆ˜ ์žˆ๋Š” ํ† ํฐ ๊ฐœ์ˆ˜

Example

await lockupContract.getBalance(1)
    
// ๊ฒฐ๊ณผ
BigNumber { value: "100000000000000000" }

2023.02.20

Last updated