UNPKG

dvf-client-js

Version:

<img src="https://avatars1.githubusercontent.com/u/56512535?s=200&v=4" align="right" />

18 lines (14 loc) 305 B
const path = `44'/60'/0'/0'/0` const token = 'ETH' const amount = 0.10 const starkWithdrawalData = await dvf.stark.ledger.createWithdrawalData( path, token, amount ) const withdrawResponse = await dvf.ledger.withdraw( token, amount, starkWithdrawalData ) logExampleResult(withdrawResponse)