mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-15 10:05:48 +00:00
24 lines
480 B
Plaintext
24 lines
480 B
Plaintext
## generateXAddress
|
|
|
|
`generateXAddress(options?: object): {address: string, secret: string}`
|
|
|
|
Generate a new XRP Ledger address and corresponding secret.
|
|
|
|
### Parameters
|
|
|
|
<%- renderSchema('input/generate-x-address.json') %>
|
|
|
|
### Return Value
|
|
|
|
This method returns an object with the following structure:
|
|
|
|
<%- renderSchema('output/generate-x-address.json') %>
|
|
|
|
### Example
|
|
|
|
```javascript
|
|
return api.generateXAddress();
|
|
```
|
|
|
|
<%- renderFixture('responses/generate-x-address.json') %>
|