UNPKG
@concrete-xyz/sdk
Version:
latest (0.3.0)
test (0.1.10-t0)
0.3.0
0.2.2
0.2.1
0.2.0
0.1.10
0.1.10-t0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Concrete SDK for interacting with vault contracts
@concrete-xyz/sdk
/
recipes
/
05.apy.mjs
8 lines
(4 loc)
•
193 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{ getVault }
from
"../dist/sdk/index.mjs"
;
const
vault =
getVault
(
"0xE2d8267D285a7ae1eDf48498fF044241d04e9608"
,
"Arbitrum"
)
const
data =
await
vault.
getApyDetails
()
console
.
log
(data)