Skip to content

Commit cd5338b

Browse files
committed
Update doc
1 parent 1b30a5d commit cd5338b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/apdu.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The general structure of a request and response is as followed:
4343
| 0xE007 | Invalid metadata version |
4444
| 0xE008 | Invalid token proof size |
4545
| 0xE009 | Invalid token metadata |
46+
| 0xE010 | Invalid key type |
4647
| 0xEF00 | Internal error |
4748

4849
## Commands definitions
@@ -88,6 +89,7 @@ This command returns the public key corresponding to the secret key found at the
8889
| Path[2] | byte (4) | Derivation Path Data | ? |
8990
| Path[3] | byte (4) | Derivation Path Data | ? |
9091
| Path[4] | byte (4) | Derivation Path Data | ? |
92+
| Flag | byte (1) | The key type | 0 or 1: 0 indicates the default key type, and 1 indicates the groupless key type |
9193
| Flag | byte (1) | Whether confirmation is needed | If not 0, display address and confirm before returning |
9294

9395
#### Response
@@ -177,6 +179,7 @@ Input data (first transaction data frame):
177179
| Path[2] | byte (4) | Derivation Path Data | ? |
178180
| Path[3] | byte (4) | Derivation Path Data | ? |
179181
| Path[4] | byte (4) | Derivation Path Data | ? |
182+
| Flag | byte (1) | The key type | 0 or 1: 0 indicates the default key type, and 1 indicates the groupless key type |
180183
| Payload | byte (?) | Transaction Payload | ? |
181184

182185
Input data (subsequent transaction data frame):

0 commit comments

Comments
 (0)