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
Copy file name to clipboardExpand all lines: modules/express/src/typedRoutes/api/v2/canonicalAddress.ts
+6-34Lines changed: 6 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ import { BitgoExpressError } from '../../schemas/error';
6
6
* Request parameters for canonical address conversion
7
7
*/
8
8
exportconstCanonicalAddressRequestParams={
9
-
/** Coin identifier - must be ltc, bch, bsv or their testnet equivalents (tltc, tbch, tbsv) */
9
+
/** A cryptocurrency or token ticker symbol. */
10
10
coin: t.string,
11
11
}asconst;
12
12
13
13
/**
14
14
* Request body for canonical address conversion
15
15
*/
16
16
exportconstCanonicalAddressRequestBody={
17
-
/** Address to canonicalize - can be in any supported format (base58, cashaddr for BCH only, etc.) */
17
+
/** Address to canonicalize */
18
18
address: t.string,
19
19
/** Desired address format: 'base58' (supported by BCH, BSV, LTC) or 'cashaddr' (supported by BCH only). Defaults to 'base58'. LTC ignores this parameter. */
0 commit comments