
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@jeansoon/mxw-api
Advanced tools
objectMXW SDK module
Kind: global namespace
Version: 0.1
object
object
object
PromisePromisePromiseobject
stringstringobjectstringobjectstringPromisePromisePromiseobject
PromisePromisePromisePromiseobject
PromisePromiseobject
PromiseobjectEvents
Kind: static namespace of mxw
Set the new transaction handler.
Kind: inner method of events
| Param | Type | Description |
|---|---|---|
| fnc | function | Function that will be called on every new transaction (format: (data) => {}) |
Set the new block handler.
Kind: inner method of events
| Param | Type | Description |
|---|---|---|
| fnc | function | Function that will be called on every new block (format: (data) => {}) |
Removes a certain handler
Kind: inner method of events
| Param | Type | Description |
|---|---|---|
| type | string | Handler type ('tx' |
objectMain
Kind: static namespace of mxw
object
PromisePromisePromisePromiseReturns the balance of the given address.
Kind: inner method of main
Returns: Promise - balance - Wallet balance
| Param | Type | Description |
|---|---|---|
| address | string | Address of the wallet |
PromiseTransfer tokens from one address to another.
Kind: inner method of main
Returns: Promise - tx - Transaction result
Params: number amount - Amount of tokens
| Param | Type | Description |
|---|---|---|
| privateKey | string | Private key of the wallet from which we're transfering tokens |
| address | string | Address of the wallet to which we're transfering tokens |
PromiseSigns a transfer transaction without relaying it.
Kind: inner method of main
Returns: Promise - tx - Transaction signature
Params: number amount - Amount of tokens
| Param | Type | Description |
|---|---|---|
| privateKey | string | Private key of the wallet from which we're transfering tokens |
| address | string | Address of the wallet to which we're transfering tokens |
objectUtilities
Kind: static namespace of mxw
object
stringstringobjectstringobjectstringPromisePromisePromisestringReturns wallet address.
Kind: inner method of util
Returns: string - address - Wallet address
| Param | Type | Description |
|---|---|---|
| privateKey | string | Wallet's private key |
stringReturns wallet address.
Kind: inner method of util
Returns: string - address - Wallet address
| Param | Type | Description |
|---|---|---|
| publicKey | string | Wallet's public key |
objectGenerates a new private/public key pair and a wallet address.
Kind: inner method of util
Returns: object - keyPair - Generated keypair
stringReturns wallet address.
Kind: inner method of util
Returns: string - address - Wallet address
| Param | Type | Description |
|---|---|---|
| byteArray | Buffer | Wallet's public key as a byte array |
objectDecodes a tendermint transaction.
Kind: inner method of util
Returns: object - tx - Decoded transaction
| Param | Type | Description |
|---|---|---|
| encoded | string | Base64 encoded transaction |
stringGet SHA256 hash of a given string.
Kind: inner method of util
Returns: string - hash - Hashed string
| Param | Type | Description |
|---|---|---|
| str | string | Arbitrary string |
PromiseGet a block at given height.
Kind: inner method of util
Returns: Promise - block - Block data
| Param | Type | Description |
|---|---|---|
| height | number | Block height |
PromiseGet a single transaction by hash.
Kind: inner method of util
Returns: Promise - tx - Transaction data
| Param | Type | Description |
|---|---|---|
| hash | string | Transaction hash |
PromiseGet transactions by wallet address.
Kind: inner method of util
Returns: Promise - txs - Transactions
| Param | Type | Description |
|---|---|---|
| address | string | Wallet address |
objectAliasing module
Kind: static namespace of mxw
object
PromisePromisePromisePromisePromiseSet an alias.
Kind: inner method of alias
Returns: Promise - tx - Transaction result
| Param | Type | Description |
|---|---|---|
| privateKey | string | Wallet's private key |
| alias | string | An alias |
PromiseRemove an alias.
Kind: inner method of alias
Returns: Promise - tx - Transaction result
| Param | Type | Description |
|---|---|---|
| privateKey | string | Wallet's private key |
| alias | string | An alias |
PromiseGets alias for a given address
Kind: inner method of alias
Returns: Promise - alias - Alias
| Param | Type | Description |
|---|---|---|
| address | string | Address of a wallet |
PromiseGets the address of an alias
Kind: inner method of alias
Returns: Promise - address - Wallet address
| Param | Type | Description |
|---|---|---|
| alias | string | An alias |
objectKYC module
Kind: static namespace of mxw
object
PromisePromisePromiseAllows users to request whitelisting from the mock KYC service.
Kind: inner method of kyc
Returns: Promise - tx - Transaction result
| Param | Type | Description |
|---|---|---|
| privateKey | string | Private key of the KYC provider |
| whitelistAddress | string | Address that we're whitelisting |
PromiseChecks if the wallet address is whitelisted.
Kind: inner method of kyc
Returns: Promise - whitelist - Boolean
| Param | Type | Description |
|---|---|---|
| address | string | Address of a wallet |
objectFaucet module
Kind: static namespace of mxw
PromiseAllows users to request coins from the faucet if they have less than 100 MXW.
Kind: inner method of faucet
Returns: Promise - tx - Transaction result
| Param | Type | Description |
|---|---|---|
| privateKey | string | Private key of the wallet that's requesting tokens |
| address | string | Address of the wallet that's receiving tokens (optional) |
Set the backend.
Kind: static method of mxw
| Param | Type | Description |
|---|---|---|
| be | string | Name of the backend ('lotion' |
FAQs
Maxonrow blockchain SDK
We found that @jeansoon/mxw-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.