@oumla/sdk 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ async function getProfiles() {
|
|
|
57
57
|
// Example: Generate an address (V2 API)
|
|
58
58
|
async function generateAddress() {
|
|
59
59
|
try {
|
|
60
|
-
const address = await client.addresses.
|
|
60
|
+
const address = await client.addresses.generateAddressV2({
|
|
61
61
|
reference: 'profile-reference',
|
|
62
62
|
network: 'ETH',
|
|
63
63
|
clientShare: 'your-client-share',
|
|
@@ -100,7 +100,7 @@ Generate and manage blockchain addresses with the enhanced V2 API
|
|
|
100
100
|
const addresses = await client.addresses.getProfileAddresses('profile-reference');
|
|
101
101
|
|
|
102
102
|
// Generate a new address (V2)
|
|
103
|
-
const address = await client.addresses.
|
|
103
|
+
const address = await client.addresses.generateAddressV2({
|
|
104
104
|
reference: 'profile-reference',
|
|
105
105
|
network: 'ETH', // Supports: BTC, tBTC, ETH, tETH
|
|
106
106
|
clientShare: 'your-client-share',
|