diff --git a/packages/whale-api-client/src/api/address.ts b/packages/whale-api-client/src/api/address.ts index 427e23c2..0cc6ec96 100644 --- a/packages/whale-api-client/src/api/address.ts +++ b/packages/whale-api-client/src/api/address.ts @@ -58,8 +58,8 @@ export class Address { * List all tokens balance belonging to an address. * * @param {string} address bech32/legacy/b58 formatted address - * @param {number} size to query - * @param {number} next token for next slice of AddressToken + * @param {number} [size=30] to query + * @param {number} [next] token for next slice of AddressToken * @return {Promise>} */ async listToken (address: string, size: number = 30, next?: string): Promise> { @@ -70,8 +70,8 @@ export class Address { * List all vaults belonging to an address. * * @param {string} address bech32/legacy/b58 formatted address - * @param {number} size of vaults to query - * @param {string} next set of vaults + * @param {number} [size=30] of vaults to query + * @param {string} [next] set of vaults * @return {Promise>} */ async listVault (address: string, size: number = 30, next?: string): Promise> { @@ -82,8 +82,8 @@ export class Address { * List all transaction activity belonging to an address. * * @param {string} address bech32/legacy/b58 formatted address - * @param {number} size to query - * @param {number} next token for next slice of AddressActivity + * @param {number} [size=30] to query + * @param {number} [next] token for next slice of AddressActivity * @return {Promise>} */ async listTransaction (address: string, size: number = 30, next?: string): Promise> { @@ -94,8 +94,8 @@ export class Address { * List all unspent belonging to an address. * * @param {string} address bech32/legacy/b58 formatted address - * @param {number} size to query - * @param {number} next token for next slice of AddressUnspent + * @param {number} [size=30] to query + * @param {number} [next] token for next slice of AddressUnspent * @return {Promise>} */ async listTransactionUnspent (address: string, size: number = 30, next?: string): Promise> { @@ -107,8 +107,8 @@ export class Address { * * @param {string} address to list future swap * @param {number} height to set range of future swap - * @param {string} size to query - * @param {string} next token for next slice of FutureSwap + * @param {string} [size=30] to query + * @param {string} [next] token for next slice of FutureSwap * @return {Promise>} */ async listFutureSwap (address: string, height: number, size: number = 30, next?: string): Promise> {