dtx-lib
v3.35.14
Published
DTx APIs Client Library for Browser
Downloads
47
Readme
dtx-lib-js
auth
const {dtx} = require('dtx-lib-js')
const auth = dtx.auth({
version: 'v2',
http: {
host: 'https://dtx-api-dev.weltcorp.com',
authorization: '<your-jwt-token>'
}
});
const res = await auth.account.login.requestAccountEmailVerificationCode("[email protected]")
.catch((err) => {
console.error(err)
})
console.log(res);