Skip to content

Commit

Permalink
docs(connect-explorer): mention address can be used in getAccountInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan authored and mroz22 committed Oct 9, 2024
1 parent 39b97c8 commit 722a2b2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const UsingPathSchema = Type.Object({

export const UsingPubkeySchema = Type.Object({
descriptor: Type.String({
description: 'public key of account',
description: 'public key or address of account',
}),
coin: Type.String({
description:
Expand Down Expand Up @@ -106,7 +106,7 @@ export const GetAccountInfoSchema = Type.Intersect([
export const paramDescriptions = {
path: 'minimum length is `3`. [read more](/details/path)',
coin: 'determines network definition specified in [coins.json](https://github.com/trezor/trezor-suite/blob/develop/packages/connect-common/files/coins.json) file. Coin `shortcut`, `name` or `label` can be used.',
descriptor: 'public key of account',
descriptor: 'public key or address of account',
page: 'transaction history page index, subject of `details: txs`',
pageSize: 'transaction history page size, subject of `details: txs`',
from: 'transaction history from block filter, subject of `details: txs`',
Expand Down Expand Up @@ -136,7 +136,7 @@ const result = await TrezorConnect.getAccountInfo(params);

<ParamsTable schema={UsingPathSchema} />

#### Using public key
#### Using public key or address

<ParamsTable schema={UsingPubkeySchema} />

Expand Down

0 comments on commit 722a2b2

Please sign in to comment.