You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const result =awaitsdk.ledger.v2.addMetadataOnTransaction({
436
-
requestBody: {
437
-
"admin": "true",
438
-
},
439
-
dryRun: true,
440
-
id: 1234n,
441
-
ledger: "ledger001",
442
-
});
442
+
const result =awaitsdk.ledger.getInfo();
443
443
444
444
console.log(result);
445
445
} catch (error) {
@@ -481,15 +481,15 @@ run();
481
481
482
482
483
483
**Inherit from [`SDKBaseError`](./src/sdk/models/errors/sdkbaseerror.ts)**:
484
-
*[`V3ErrorResponse`](./src/sdk/models/errors/v3errorresponse.ts): Error. Applicable to 46 of 219 methods.*
485
-
*[`PaymentsErrorResponse`](./src/sdk/models/errors/paymentserrorresponse.ts): Error. Applicable to 45 of 219 methods.*
486
-
*[`V2ErrorResponse`](./src/sdk/models/errors/v2errorresponse.ts): Error. Applicable to 26 of 219 methods.*
487
-
*[`ErrorResponse`](./src/sdk/models/errors/errorresponse.ts): Applicable to 19 of 219 methods.*
488
-
*[`V2Error`](./src/sdk/models/errors/v2error.ts): General error. Applicable to 18 of 219 methods.*
489
-
*[`ErrorT`](./src/sdk/models/errors/errort.ts): General error. Applicable to 17 of 219 methods.*
490
-
*[`WalletsErrorResponse`](./src/sdk/models/errors/walletserrorresponse.ts): Applicable to 15 of 219 methods.*
491
-
*[`ReconciliationErrorResponse`](./src/sdk/models/errors/reconciliationerrorresponse.ts): Error response. Applicable to 8 of 219 methods.*
492
-
*[`WebhooksErrorResponse`](./src/sdk/models/errors/webhookserrorresponse.ts): Error. Applicable to 8 of 219 methods.*
484
+
*[`V3ErrorResponse`](./src/sdk/models/errors/v3errorresponse.ts): Error. Applicable to 46 of 230 methods.*
485
+
*[`PaymentsErrorResponse`](./src/sdk/models/errors/paymentserrorresponse.ts): Error. Applicable to 45 of 230 methods.*
486
+
*[`V2ErrorResponse`](./src/sdk/models/errors/v2errorresponse.ts): Error. Applicable to 37 of 230 methods.*
487
+
*[`ErrorResponse`](./src/sdk/models/errors/errorresponse.ts): Applicable to 19 of 230 methods.*
488
+
*[`V2Error`](./src/sdk/models/errors/v2error.ts): General error. Applicable to 18 of 230 methods.*
489
+
*[`ErrorT`](./src/sdk/models/errors/errort.ts): General error. Applicable to 17 of 230 methods.*
490
+
*[`WalletsErrorResponse`](./src/sdk/models/errors/walletserrorresponse.ts): Applicable to 15 of 230 methods.*
491
+
*[`ReconciliationErrorResponse`](./src/sdk/models/errors/reconciliationerrorresponse.ts): Error response. Applicable to 8 of 230 methods.*
492
+
*[`WebhooksErrorResponse`](./src/sdk/models/errors/webhookserrorresponse.ts): Error. Applicable to 8 of 230 methods.*
493
493
*[`ResponseValidationError`](./src/sdk/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
494
494
495
495
</details>
@@ -511,10 +511,10 @@ You can override the default server globally by passing a server index to the `s
511
511
512
512
If the selected server has variables, you may override its default values through the additional parameters made available in the SDK constructor:
|`environment`|`environment: models.ServerEnvironment`| - `"eu.sandbox"`<br/>- `"sandbox"`<br/>- `"eu-west-1"`<br/>- `"us-east-1"`|`"eu.sandbox"`| The environment name. Defaults to the production environment. |
517
-
|`organization`|`organization: string`| string |`"orgID-stackID"`| The organization name. Defaults to a generic organization. |
|`environment`|`environment: models.ServerEnvironment`| - `"sandbox"`<br/>- `"eu-west-1"`<br/>- `"us-east-1"`|`"sandbox"`| The environment name. Defaults to the production environment. |
517
+
|`organization`|`organization: string`| string |`"orgID-stackID"`| The organization name. Defaults to a generic organization. |
518
518
519
519
#### Example
520
520
@@ -548,7 +548,7 @@ The default server can also be overridden globally by passing a URL to the `serv
0 commit comments