2025-06-21 23:30:33 +03:00

6946 lines
213 KiB
JSON

{
"nested": {
"BinanceGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"BinanceAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"BinanceGetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
}
}
},
"BinancePublicKey": {
"fields": {
"public_key": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"BinanceSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"msg_count": {
"rule": "required",
"type": "uint32",
"id": 2
},
"account_number": {
"rule": "required",
"type": "sint64",
"id": 3
},
"chain_id": {
"type": "string",
"id": 4
},
"memo": {
"type": "string",
"id": 5
},
"sequence": {
"rule": "required",
"type": "sint64",
"id": 6
},
"source": {
"rule": "required",
"type": "sint64",
"id": 7
},
"chunkify": {
"type": "bool",
"id": 8
}
}
},
"BinanceTxRequest": {
"fields": {}
},
"BinanceTransferMsg": {
"fields": {
"inputs": {
"rule": "repeated",
"type": "BinanceInputOutput",
"id": 1
},
"outputs": {
"rule": "repeated",
"type": "BinanceInputOutput",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
},
"nested": {
"BinanceInputOutput": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
},
"coins": {
"rule": "repeated",
"type": "BinanceCoin",
"id": 2
}
}
},
"BinanceCoin": {
"fields": {
"amount": {
"rule": "required",
"type": "sint64",
"id": 1
},
"denom": {
"rule": "required",
"type": "string",
"id": 2
}
}
}
}
},
"BinanceOrderMsg": {
"fields": {
"id": {
"type": "string",
"id": 1
},
"ordertype": {
"rule": "required",
"type": "BinanceOrderType",
"id": 2
},
"price": {
"rule": "required",
"type": "sint64",
"id": 3
},
"quantity": {
"rule": "required",
"type": "sint64",
"id": 4
},
"sender": {
"type": "string",
"id": 5
},
"side": {
"rule": "required",
"type": "BinanceOrderSide",
"id": 6
},
"symbol": {
"type": "string",
"id": 7
},
"timeinforce": {
"rule": "required",
"type": "BinanceTimeInForce",
"id": 8
}
},
"nested": {
"BinanceOrderType": {
"values": {
"OT_UNKNOWN": 0,
"MARKET": 1,
"LIMIT": 2,
"OT_RESERVED": 3
}
},
"BinanceOrderSide": {
"values": {
"SIDE_UNKNOWN": 0,
"BUY": 1,
"SELL": 2
}
},
"BinanceTimeInForce": {
"values": {
"TIF_UNKNOWN": 0,
"GTE": 1,
"TIF_RESERVED": 2,
"IOC": 3
}
}
}
},
"BinanceCancelMsg": {
"fields": {
"refid": {
"type": "string",
"id": 1
},
"sender": {
"type": "string",
"id": 2
},
"symbol": {
"type": "string",
"id": 3
}
}
},
"BinanceSignedTx": {
"fields": {
"signature": {
"rule": "required",
"type": "bytes",
"id": 1
},
"public_key": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"InputScriptType": {
"values": {
"SPENDADDRESS": 0,
"SPENDMULTISIG": 1,
"EXTERNAL": 2,
"SPENDWITNESS": 3,
"SPENDP2SHWITNESS": 4,
"SPENDTAPROOT": 5
}
},
"OutputScriptType": {
"values": {
"PAYTOADDRESS": 0,
"PAYTOSCRIPTHASH": 1,
"PAYTOMULTISIG": 2,
"PAYTOOPRETURN": 3,
"PAYTOWITNESS": 4,
"PAYTOP2SHWITNESS": 5,
"PAYTOTAPROOT": 6
}
},
"DecredStakingSpendType": {
"values": {
"SSGen": 0,
"SSRTX": 1
}
},
"AmountUnit": {
"values": {
"BITCOIN": 0,
"MILLIBITCOIN": 1,
"MICROBITCOIN": 2,
"SATOSHI": 3
}
},
"MultisigPubkeysOrder": {
"values": {
"PRESERVED": 0,
"LEXICOGRAPHIC": 1
}
},
"MultisigRedeemScriptType": {
"fields": {
"pubkeys": {
"rule": "repeated",
"type": "HDNodePathType",
"id": 1
},
"signatures": {
"rule": "repeated",
"type": "bytes",
"id": 2
},
"m": {
"rule": "required",
"type": "uint32",
"id": 3
},
"nodes": {
"rule": "repeated",
"type": "HDNodeType",
"id": 4
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 5,
"options": {
"packed": false
}
},
"pubkeys_order": {
"type": "MultisigPubkeysOrder",
"id": 6,
"options": {
"default": "PRESERVED"
}
}
},
"nested": {
"HDNodePathType": {
"fields": {
"node": {
"rule": "required",
"type": "HDNodeType",
"id": 1
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
}
}
}
}
},
"GetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"ecdsa_curve_name": {
"type": "string",
"id": 2
},
"show_display": {
"type": "bool",
"id": 3
},
"coin_name": {
"type": "string",
"id": 4,
"options": {
"default": "Bitcoin"
}
},
"script_type": {
"type": "InputScriptType",
"id": 5,
"options": {
"default": "SPENDADDRESS"
}
},
"ignore_xpub_magic": {
"type": "bool",
"id": 6
}
}
},
"PublicKey": {
"fields": {
"node": {
"rule": "required",
"type": "HDNodeType",
"id": 1
},
"xpub": {
"rule": "required",
"type": "string",
"id": 2
},
"root_fingerprint": {
"type": "uint32",
"id": 3
},
"descriptor": {
"type": "string",
"id": 4
}
}
},
"GetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"coin_name": {
"type": "string",
"id": 2,
"options": {
"default": "Bitcoin"
}
},
"show_display": {
"type": "bool",
"id": 3
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 4
},
"script_type": {
"type": "InputScriptType",
"id": 5,
"options": {
"default": "SPENDADDRESS"
}
},
"ignore_xpub_magic": {
"type": "bool",
"id": 6
},
"chunkify": {
"type": "bool",
"id": 7
}
}
},
"Address": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
},
"mac": {
"type": "bytes",
"id": 2
}
}
},
"GetOwnershipId": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"coin_name": {
"type": "string",
"id": 2,
"options": {
"default": "Bitcoin"
}
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 3
},
"script_type": {
"type": "InputScriptType",
"id": 4,
"options": {
"default": "SPENDADDRESS"
}
}
}
},
"OwnershipId": {
"fields": {
"ownership_id": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"SignMessage": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"message": {
"rule": "required",
"type": "bytes",
"id": 2
},
"coin_name": {
"type": "string",
"id": 3,
"options": {
"default": "Bitcoin"
}
},
"script_type": {
"type": "InputScriptType",
"id": 4,
"options": {
"default": "SPENDADDRESS"
}
},
"no_script_type": {
"type": "bool",
"id": 5
},
"chunkify": {
"type": "bool",
"id": 6
}
}
},
"MessageSignature": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"VerifyMessage": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
},
"message": {
"rule": "required",
"type": "bytes",
"id": 3
},
"coin_name": {
"type": "string",
"id": 4,
"options": {
"default": "Bitcoin"
}
},
"chunkify": {
"type": "bool",
"id": 5
}
}
},
"SignTx": {
"fields": {
"outputs_count": {
"rule": "required",
"type": "uint32",
"id": 1
},
"inputs_count": {
"rule": "required",
"type": "uint32",
"id": 2
},
"coin_name": {
"type": "string",
"id": 3,
"options": {
"default": "Bitcoin"
}
},
"version": {
"type": "uint32",
"id": 4,
"options": {
"default": 1
}
},
"lock_time": {
"type": "uint32",
"id": 5,
"options": {
"default": 0
}
},
"expiry": {
"type": "uint32",
"id": 6
},
"overwintered": {
"type": "bool",
"id": 7
},
"version_group_id": {
"type": "uint32",
"id": 8
},
"timestamp": {
"type": "uint32",
"id": 9
},
"branch_id": {
"type": "uint32",
"id": 10
},
"amount_unit": {
"type": "AmountUnit",
"id": 11,
"options": {
"default": "BITCOIN"
}
},
"decred_staking_ticket": {
"type": "bool",
"id": 12,
"options": {
"default": false
}
},
"serialize": {
"type": "bool",
"id": 13,
"options": {
"default": true
}
},
"coinjoin_request": {
"type": "CoinJoinRequest",
"id": 14
},
"chunkify": {
"type": "bool",
"id": 15
}
},
"nested": {
"CoinJoinRequest": {
"fields": {
"fee_rate": {
"rule": "required",
"type": "uint32",
"id": 1
},
"no_fee_threshold": {
"rule": "required",
"type": "uint64",
"id": 2
},
"min_registrable_amount": {
"rule": "required",
"type": "uint64",
"id": 3
},
"mask_public_key": {
"type": "bytes",
"id": 4
},
"signature": {
"type": "bytes",
"id": 5
}
}
}
}
},
"TxRequest": {
"fields": {
"request_type": {
"type": "RequestType",
"id": 1
},
"details": {
"type": "TxRequestDetailsType",
"id": 2
},
"serialized": {
"type": "TxRequestSerializedType",
"id": 3
}
},
"nested": {
"RequestType": {
"values": {
"TXINPUT": 0,
"TXOUTPUT": 1,
"TXMETA": 2,
"TXFINISHED": 3,
"TXEXTRADATA": 4,
"TXORIGINPUT": 5,
"TXORIGOUTPUT": 6,
"TXPAYMENTREQ": 7
}
},
"TxRequestDetailsType": {
"fields": {
"request_index": {
"type": "uint32",
"id": 1
},
"tx_hash": {
"type": "bytes",
"id": 2
},
"extra_data_len": {
"type": "uint32",
"id": 3
},
"extra_data_offset": {
"type": "uint32",
"id": 4
}
}
},
"TxRequestSerializedType": {
"fields": {
"signature_index": {
"type": "uint32",
"id": 1
},
"signature": {
"type": "bytes",
"id": 2
},
"serialized_tx": {
"type": "bytes",
"id": 3
}
}
}
}
},
"TxAck": {
"fields": {
"tx": {
"type": "TransactionType",
"id": 1
}
},
"nested": {
"TransactionType": {
"fields": {
"version": {
"type": "uint32",
"id": 1
},
"inputs": {
"rule": "repeated",
"type": "TxInputType",
"id": 2
},
"bin_outputs": {
"rule": "repeated",
"type": "TxOutputBinType",
"id": 3
},
"lock_time": {
"type": "uint32",
"id": 4
},
"outputs": {
"rule": "repeated",
"type": "TxOutputType",
"id": 5
},
"inputs_cnt": {
"type": "uint32",
"id": 6
},
"outputs_cnt": {
"type": "uint32",
"id": 7
},
"extra_data": {
"type": "bytes",
"id": 8
},
"extra_data_len": {
"type": "uint32",
"id": 9
},
"expiry": {
"type": "uint32",
"id": 10
},
"overwintered": {
"type": "bool",
"id": 11
},
"version_group_id": {
"type": "uint32",
"id": 12
},
"timestamp": {
"type": "uint32",
"id": 13
},
"branch_id": {
"type": "uint32",
"id": 14
}
},
"nested": {
"TxInputType": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"prev_hash": {
"rule": "required",
"type": "bytes",
"id": 2
},
"prev_index": {
"rule": "required",
"type": "uint32",
"id": 3
},
"script_sig": {
"type": "bytes",
"id": 4
},
"sequence": {
"type": "uint32",
"id": 5,
"options": {
"default": 4294967295
}
},
"script_type": {
"type": "InputScriptType",
"id": 6,
"options": {
"default": "SPENDADDRESS"
}
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 7
},
"amount": {
"type": "uint64",
"id": 8
},
"decred_tree": {
"type": "uint32",
"id": 9
},
"witness": {
"type": "bytes",
"id": 13
},
"ownership_proof": {
"type": "bytes",
"id": 14
},
"commitment_data": {
"type": "bytes",
"id": 15
},
"orig_hash": {
"type": "bytes",
"id": 16
},
"orig_index": {
"type": "uint32",
"id": 17
},
"decred_staking_spend": {
"type": "DecredStakingSpendType",
"id": 18
},
"script_pubkey": {
"type": "bytes",
"id": 19
},
"coinjoin_flags": {
"type": "uint32",
"id": 20,
"options": {
"default": 0
}
}
}
},
"TxOutputBinType": {
"fields": {
"amount": {
"rule": "required",
"type": "uint64",
"id": 1
},
"script_pubkey": {
"rule": "required",
"type": "bytes",
"id": 2
},
"decred_script_version": {
"type": "uint32",
"id": 3
}
}
},
"TxOutputType": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 3
},
"script_type": {
"type": "OutputScriptType",
"id": 4,
"options": {
"default": "PAYTOADDRESS"
}
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 5
},
"op_return_data": {
"type": "bytes",
"id": 6
},
"orig_hash": {
"type": "bytes",
"id": 10
},
"orig_index": {
"type": "uint32",
"id": 11
},
"payment_req_index": {
"type": "uint32",
"id": 12
}
}
}
}
}
}
},
"TxInput": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"prev_hash": {
"rule": "required",
"type": "bytes",
"id": 2
},
"prev_index": {
"rule": "required",
"type": "uint32",
"id": 3
},
"script_sig": {
"type": "bytes",
"id": 4
},
"sequence": {
"type": "uint32",
"id": 5,
"options": {
"default": 4294967295
}
},
"script_type": {
"type": "InputScriptType",
"id": 6,
"options": {
"default": "SPENDADDRESS"
}
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 7
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 8
},
"decred_tree": {
"type": "uint32",
"id": 9
},
"witness": {
"type": "bytes",
"id": 13
},
"ownership_proof": {
"type": "bytes",
"id": 14
},
"commitment_data": {
"type": "bytes",
"id": 15
},
"orig_hash": {
"type": "bytes",
"id": 16
},
"orig_index": {
"type": "uint32",
"id": 17
},
"decred_staking_spend": {
"type": "DecredStakingSpendType",
"id": 18
},
"script_pubkey": {
"type": "bytes",
"id": 19
},
"coinjoin_flags": {
"type": "uint32",
"id": 20,
"options": {
"default": 0
}
}
}
},
"TxOutput": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 3
},
"script_type": {
"type": "OutputScriptType",
"id": 4,
"options": {
"default": "PAYTOADDRESS"
}
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 5
},
"op_return_data": {
"type": "bytes",
"id": 6
},
"orig_hash": {
"type": "bytes",
"id": 10
},
"orig_index": {
"type": "uint32",
"id": 11
},
"payment_req_index": {
"type": "uint32",
"id": 12
}
}
},
"PrevTx": {
"fields": {
"version": {
"rule": "required",
"type": "uint32",
"id": 1
},
"lock_time": {
"rule": "required",
"type": "uint32",
"id": 4
},
"inputs_count": {
"rule": "required",
"type": "uint32",
"id": 6
},
"outputs_count": {
"rule": "required",
"type": "uint32",
"id": 7
},
"extra_data_len": {
"type": "uint32",
"id": 9,
"options": {
"default": 0
}
},
"expiry": {
"type": "uint32",
"id": 10
},
"version_group_id": {
"type": "uint32",
"id": 12
},
"timestamp": {
"type": "uint32",
"id": 13
},
"branch_id": {
"type": "uint32",
"id": 14
}
}
},
"PrevInput": {
"fields": {
"prev_hash": {
"rule": "required",
"type": "bytes",
"id": 2
},
"prev_index": {
"rule": "required",
"type": "uint32",
"id": 3
},
"script_sig": {
"rule": "required",
"type": "bytes",
"id": 4
},
"sequence": {
"rule": "required",
"type": "uint32",
"id": 5
},
"decred_tree": {
"type": "uint32",
"id": 9
}
}
},
"PrevOutput": {
"fields": {
"amount": {
"rule": "required",
"type": "uint64",
"id": 1
},
"script_pubkey": {
"rule": "required",
"type": "bytes",
"id": 2
},
"decred_script_version": {
"type": "uint32",
"id": 3
}
}
},
"TxAckPaymentRequest": {
"fields": {
"nonce": {
"type": "bytes",
"id": 1
},
"recipient_name": {
"rule": "required",
"type": "string",
"id": 2
},
"memos": {
"rule": "repeated",
"type": "PaymentRequestMemo",
"id": 3
},
"amount": {
"type": "uint64",
"id": 4
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 5
}
},
"nested": {
"PaymentRequestMemo": {
"fields": {
"text_memo": {
"type": "TextMemo",
"id": 1
},
"refund_memo": {
"type": "RefundMemo",
"id": 2
},
"coin_purchase_memo": {
"type": "CoinPurchaseMemo",
"id": 3
}
}
},
"TextMemo": {
"fields": {
"text": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"RefundMemo": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
},
"mac": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"CoinPurchaseMemo": {
"fields": {
"coin_type": {
"rule": "required",
"type": "uint32",
"id": 1
},
"amount": {
"rule": "required",
"type": "string",
"id": 2
},
"address": {
"rule": "required",
"type": "string",
"id": 3
},
"mac": {
"rule": "required",
"type": "bytes",
"id": 4
}
}
}
}
},
"TxAckInput": {
"options": {
"(wire_type)": 22
},
"fields": {
"tx": {
"rule": "required",
"type": "TxAckInputWrapper",
"id": 1
}
},
"nested": {
"TxAckInputWrapper": {
"fields": {
"input": {
"rule": "required",
"type": "TxInput",
"id": 2
}
}
}
}
},
"TxAckOutput": {
"options": {
"(wire_type)": 22
},
"fields": {
"tx": {
"rule": "required",
"type": "TxAckOutputWrapper",
"id": 1
}
},
"nested": {
"TxAckOutputWrapper": {
"fields": {
"output": {
"rule": "required",
"type": "TxOutput",
"id": 5
}
}
}
}
},
"TxAckPrevMeta": {
"options": {
"(wire_type)": 22
},
"fields": {
"tx": {
"rule": "required",
"type": "PrevTx",
"id": 1
}
}
},
"TxAckPrevInput": {
"options": {
"(wire_type)": 22
},
"fields": {
"tx": {
"rule": "required",
"type": "TxAckPrevInputWrapper",
"id": 1
}
},
"nested": {
"TxAckPrevInputWrapper": {
"fields": {
"input": {
"rule": "required",
"type": "PrevInput",
"id": 2
}
}
}
}
},
"TxAckPrevOutput": {
"options": {
"(wire_type)": 22
},
"fields": {
"tx": {
"rule": "required",
"type": "TxAckPrevOutputWrapper",
"id": 1
}
},
"nested": {
"TxAckPrevOutputWrapper": {
"fields": {
"output": {
"rule": "required",
"type": "PrevOutput",
"id": 3
}
}
}
}
},
"TxAckPrevExtraData": {
"options": {
"(wire_type)": 22
},
"fields": {
"tx": {
"rule": "required",
"type": "TxAckPrevExtraDataWrapper",
"id": 1
}
},
"nested": {
"TxAckPrevExtraDataWrapper": {
"fields": {
"extra_data_chunk": {
"rule": "required",
"type": "bytes",
"id": 8
}
}
}
}
},
"GetOwnershipProof": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"coin_name": {
"type": "string",
"id": 2,
"options": {
"default": "Bitcoin"
}
},
"script_type": {
"type": "InputScriptType",
"id": 3,
"options": {
"default": "SPENDWITNESS"
}
},
"multisig": {
"type": "MultisigRedeemScriptType",
"id": 4
},
"user_confirmation": {
"type": "bool",
"id": 5,
"options": {
"default": false
}
},
"ownership_ids": {
"rule": "repeated",
"type": "bytes",
"id": 6
},
"commitment_data": {
"type": "bytes",
"id": 7,
"options": {
"default": ""
}
}
}
},
"OwnershipProof": {
"fields": {
"ownership_proof": {
"rule": "required",
"type": "bytes",
"id": 1
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"AuthorizeCoinJoin": {
"fields": {
"coordinator": {
"rule": "required",
"type": "string",
"id": 1
},
"max_rounds": {
"rule": "required",
"type": "uint64",
"id": 2
},
"max_coordinator_fee_rate": {
"rule": "required",
"type": "uint32",
"id": 3
},
"max_fee_per_kvbyte": {
"rule": "required",
"type": "uint32",
"id": 4
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 5,
"options": {
"packed": false
}
},
"coin_name": {
"type": "string",
"id": 6,
"options": {
"default": "Bitcoin"
}
},
"script_type": {
"type": "InputScriptType",
"id": 7,
"options": {
"default": "SPENDADDRESS"
}
},
"amount_unit": {
"type": "AmountUnit",
"id": 8,
"options": {
"default": "BITCOIN"
}
}
}
},
"FirmwareErase": {
"fields": {
"length": {
"type": "uint32",
"id": 1
}
}
},
"FirmwareRequest": {
"fields": {
"offset": {
"rule": "required",
"type": "uint32",
"id": 1
},
"length": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"FirmwareUpload": {
"fields": {
"payload": {
"rule": "required",
"type": "bytes",
"id": 1
},
"hash": {
"type": "bytes",
"id": 2
}
}
},
"ProdTestT1": {
"fields": {
"payload": {
"type": "bytes",
"id": 1
}
}
},
"CardanoDerivationType": {
"values": {
"LEDGER": 0,
"ICARUS": 1,
"ICARUS_TREZOR": 2
}
},
"CardanoAddressType": {
"values": {
"BASE": 0,
"BASE_SCRIPT_KEY": 1,
"BASE_KEY_SCRIPT": 2,
"BASE_SCRIPT_SCRIPT": 3,
"POINTER": 4,
"POINTER_SCRIPT": 5,
"ENTERPRISE": 6,
"ENTERPRISE_SCRIPT": 7,
"BYRON": 8,
"REWARD": 14,
"REWARD_SCRIPT": 15
}
},
"CardanoNativeScriptType": {
"values": {
"PUB_KEY": 0,
"ALL": 1,
"ANY": 2,
"N_OF_K": 3,
"INVALID_BEFORE": 4,
"INVALID_HEREAFTER": 5
}
},
"CardanoNativeScriptHashDisplayFormat": {
"values": {
"HIDE": 0,
"BECH32": 1,
"POLICY_ID": 2
}
},
"CardanoTxOutputSerializationFormat": {
"values": {
"ARRAY_LEGACY": 0,
"MAP_BABBAGE": 1
}
},
"CardanoCertificateType": {
"values": {
"STAKE_REGISTRATION": 0,
"STAKE_DEREGISTRATION": 1,
"STAKE_DELEGATION": 2,
"STAKE_POOL_REGISTRATION": 3,
"STAKE_REGISTRATION_CONWAY": 7,
"STAKE_DEREGISTRATION_CONWAY": 8,
"VOTE_DELEGATION": 9
}
},
"CardanoDRepType": {
"values": {
"KEY_HASH": 0,
"SCRIPT_HASH": 1,
"ABSTAIN": 2,
"NO_CONFIDENCE": 3
}
},
"CardanoPoolRelayType": {
"values": {
"SINGLE_HOST_IP": 0,
"SINGLE_HOST_NAME": 1,
"MULTIPLE_HOST_NAME": 2
}
},
"CardanoTxAuxiliaryDataSupplementType": {
"values": {
"NONE": 0,
"CVOTE_REGISTRATION_SIGNATURE": 1
}
},
"CardanoCVoteRegistrationFormat": {
"values": {
"CIP15": 0,
"CIP36": 1
}
},
"CardanoTxSigningMode": {
"values": {
"ORDINARY_TRANSACTION": 0,
"POOL_REGISTRATION_AS_OWNER": 1,
"MULTISIG_TRANSACTION": 2,
"PLUTUS_TRANSACTION": 3
}
},
"CardanoTxWitnessType": {
"values": {
"BYRON_WITNESS": 0,
"SHELLEY_WITNESS": 1
}
},
"CardanoBlockchainPointerType": {
"fields": {
"block_index": {
"rule": "required",
"type": "uint32",
"id": 1
},
"tx_index": {
"rule": "required",
"type": "uint32",
"id": 2
},
"certificate_index": {
"rule": "required",
"type": "uint32",
"id": 3
}
}
},
"CardanoNativeScript": {
"fields": {
"type": {
"rule": "required",
"type": "CardanoNativeScriptType",
"id": 1
},
"scripts": {
"rule": "repeated",
"type": "CardanoNativeScript",
"id": 2
},
"key_hash": {
"type": "bytes",
"id": 3
},
"key_path": {
"rule": "repeated",
"type": "uint32",
"id": 4,
"options": {
"packed": false
}
},
"required_signatures_count": {
"type": "uint32",
"id": 5
},
"invalid_before": {
"type": "uint64",
"id": 6
},
"invalid_hereafter": {
"type": "uint64",
"id": 7
}
}
},
"CardanoGetNativeScriptHash": {
"fields": {
"script": {
"rule": "required",
"type": "CardanoNativeScript",
"id": 1
},
"display_format": {
"rule": "required",
"type": "CardanoNativeScriptHashDisplayFormat",
"id": 2
},
"derivation_type": {
"rule": "required",
"type": "CardanoDerivationType",
"id": 3
}
}
},
"CardanoNativeScriptHash": {
"fields": {
"script_hash": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"CardanoAddressParametersType": {
"fields": {
"address_type": {
"rule": "required",
"type": "CardanoAddressType",
"id": 1
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
},
"address_n_staking": {
"rule": "repeated",
"type": "uint32",
"id": 3,
"options": {
"packed": false
}
},
"staking_key_hash": {
"type": "bytes",
"id": 4
},
"certificate_pointer": {
"type": "CardanoBlockchainPointerType",
"id": 5
},
"script_payment_hash": {
"type": "bytes",
"id": 6
},
"script_staking_hash": {
"type": "bytes",
"id": 7
}
}
},
"CardanoGetAddress": {
"fields": {
"show_display": {
"type": "bool",
"id": 2,
"options": {
"default": false
}
},
"protocol_magic": {
"rule": "required",
"type": "uint32",
"id": 3
},
"network_id": {
"rule": "required",
"type": "uint32",
"id": 4
},
"address_parameters": {
"rule": "required",
"type": "CardanoAddressParametersType",
"id": 5
},
"derivation_type": {
"rule": "required",
"type": "CardanoDerivationType",
"id": 6
},
"chunkify": {
"type": "bool",
"id": 7
}
}
},
"CardanoAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"CardanoGetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"derivation_type": {
"rule": "required",
"type": "CardanoDerivationType",
"id": 3
}
}
},
"CardanoPublicKey": {
"fields": {
"xpub": {
"rule": "required",
"type": "string",
"id": 1
},
"node": {
"rule": "required",
"type": "HDNodeType",
"id": 2
}
}
},
"CardanoSignTxInit": {
"fields": {
"signing_mode": {
"rule": "required",
"type": "CardanoTxSigningMode",
"id": 1
},
"protocol_magic": {
"rule": "required",
"type": "uint32",
"id": 2
},
"network_id": {
"rule": "required",
"type": "uint32",
"id": 3
},
"inputs_count": {
"rule": "required",
"type": "uint32",
"id": 4
},
"outputs_count": {
"rule": "required",
"type": "uint32",
"id": 5
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 6
},
"ttl": {
"type": "uint64",
"id": 7
},
"certificates_count": {
"rule": "required",
"type": "uint32",
"id": 8
},
"withdrawals_count": {
"rule": "required",
"type": "uint32",
"id": 9
},
"has_auxiliary_data": {
"rule": "required",
"type": "bool",
"id": 10
},
"validity_interval_start": {
"type": "uint64",
"id": 11
},
"witness_requests_count": {
"rule": "required",
"type": "uint32",
"id": 12
},
"minting_asset_groups_count": {
"rule": "required",
"type": "uint32",
"id": 13
},
"derivation_type": {
"rule": "required",
"type": "CardanoDerivationType",
"id": 14
},
"include_network_id": {
"type": "bool",
"id": 15,
"options": {
"default": false
}
},
"script_data_hash": {
"type": "bytes",
"id": 16
},
"collateral_inputs_count": {
"rule": "required",
"type": "uint32",
"id": 17
},
"required_signers_count": {
"rule": "required",
"type": "uint32",
"id": 18
},
"has_collateral_return": {
"type": "bool",
"id": 19,
"options": {
"default": false
}
},
"total_collateral": {
"type": "uint64",
"id": 20
},
"reference_inputs_count": {
"type": "uint32",
"id": 21,
"options": {
"default": 0
}
},
"chunkify": {
"type": "bool",
"id": 22
},
"tag_cbor_sets": {
"type": "bool",
"id": 23,
"options": {
"default": false
}
}
}
},
"CardanoTxInput": {
"fields": {
"prev_hash": {
"rule": "required",
"type": "bytes",
"id": 1
},
"prev_index": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"CardanoTxOutput": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"address_parameters": {
"type": "CardanoAddressParametersType",
"id": 2
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 3
},
"asset_groups_count": {
"rule": "required",
"type": "uint32",
"id": 4
},
"datum_hash": {
"type": "bytes",
"id": 5
},
"format": {
"type": "CardanoTxOutputSerializationFormat",
"id": 6,
"options": {
"default": "ARRAY_LEGACY"
}
},
"inline_datum_size": {
"type": "uint32",
"id": 7,
"options": {
"default": 0
}
},
"reference_script_size": {
"type": "uint32",
"id": 8,
"options": {
"default": 0
}
}
}
},
"CardanoAssetGroup": {
"fields": {
"policy_id": {
"rule": "required",
"type": "bytes",
"id": 1
},
"tokens_count": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"CardanoToken": {
"fields": {
"asset_name_bytes": {
"rule": "required",
"type": "bytes",
"id": 1
},
"amount": {
"type": "uint64",
"id": 2
},
"mint_amount": {
"type": "sint64",
"id": 3
}
}
},
"CardanoTxInlineDatumChunk": {
"fields": {
"data": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"CardanoTxReferenceScriptChunk": {
"fields": {
"data": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"CardanoPoolOwner": {
"fields": {
"staking_key_path": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"staking_key_hash": {
"type": "bytes",
"id": 2
}
}
},
"CardanoPoolRelayParameters": {
"fields": {
"type": {
"rule": "required",
"type": "CardanoPoolRelayType",
"id": 1
},
"ipv4_address": {
"type": "bytes",
"id": 2
},
"ipv6_address": {
"type": "bytes",
"id": 3
},
"host_name": {
"type": "string",
"id": 4
},
"port": {
"type": "uint32",
"id": 5
}
}
},
"CardanoPoolMetadataType": {
"fields": {
"url": {
"rule": "required",
"type": "string",
"id": 1
},
"hash": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"CardanoPoolParametersType": {
"fields": {
"pool_id": {
"rule": "required",
"type": "bytes",
"id": 1
},
"vrf_key_hash": {
"rule": "required",
"type": "bytes",
"id": 2
},
"pledge": {
"rule": "required",
"type": "uint64",
"id": 3
},
"cost": {
"rule": "required",
"type": "uint64",
"id": 4
},
"margin_numerator": {
"rule": "required",
"type": "uint64",
"id": 5
},
"margin_denominator": {
"rule": "required",
"type": "uint64",
"id": 6
},
"reward_account": {
"rule": "required",
"type": "string",
"id": 7
},
"metadata": {
"type": "CardanoPoolMetadataType",
"id": 10
},
"owners_count": {
"rule": "required",
"type": "uint32",
"id": 11
},
"relays_count": {
"rule": "required",
"type": "uint32",
"id": 12
}
}
},
"CardanoDRep": {
"fields": {
"type": {
"rule": "required",
"type": "CardanoDRepType",
"id": 1
},
"key_hash": {
"type": "bytes",
"id": 2
},
"script_hash": {
"type": "bytes",
"id": 3
}
}
},
"CardanoTxCertificate": {
"fields": {
"type": {
"rule": "required",
"type": "CardanoCertificateType",
"id": 1
},
"path": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
},
"pool": {
"type": "bytes",
"id": 3
},
"pool_parameters": {
"type": "CardanoPoolParametersType",
"id": 4
},
"script_hash": {
"type": "bytes",
"id": 5
},
"key_hash": {
"type": "bytes",
"id": 6
},
"deposit": {
"type": "uint64",
"id": 7
},
"drep": {
"type": "CardanoDRep",
"id": 8
}
}
},
"CardanoTxWithdrawal": {
"fields": {
"path": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 2
},
"script_hash": {
"type": "bytes",
"id": 3
},
"key_hash": {
"type": "bytes",
"id": 4
}
}
},
"CardanoCVoteRegistrationDelegation": {
"fields": {
"vote_public_key": {
"rule": "required",
"type": "bytes",
"id": 1
},
"weight": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"CardanoCVoteRegistrationParametersType": {
"fields": {
"vote_public_key": {
"type": "bytes",
"id": 1
},
"staking_path": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
},
"payment_address_parameters": {
"type": "CardanoAddressParametersType",
"id": 3
},
"nonce": {
"rule": "required",
"type": "uint64",
"id": 4
},
"format": {
"type": "CardanoCVoteRegistrationFormat",
"id": 5,
"options": {
"default": "CIP15"
}
},
"delegations": {
"rule": "repeated",
"type": "CardanoCVoteRegistrationDelegation",
"id": 6
},
"voting_purpose": {
"type": "uint64",
"id": 7
},
"payment_address": {
"type": "string",
"id": 8
}
}
},
"CardanoTxAuxiliaryData": {
"fields": {
"cvote_registration_parameters": {
"type": "CardanoCVoteRegistrationParametersType",
"id": 1
},
"hash": {
"type": "bytes",
"id": 2
}
}
},
"CardanoTxMint": {
"fields": {
"asset_groups_count": {
"rule": "required",
"type": "uint32",
"id": 1
}
}
},
"CardanoTxCollateralInput": {
"fields": {
"prev_hash": {
"rule": "required",
"type": "bytes",
"id": 1
},
"prev_index": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"CardanoTxRequiredSigner": {
"fields": {
"key_hash": {
"type": "bytes",
"id": 1
},
"key_path": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
}
}
},
"CardanoTxReferenceInput": {
"fields": {
"prev_hash": {
"rule": "required",
"type": "bytes",
"id": 1
},
"prev_index": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"CardanoTxItemAck": {
"fields": {}
},
"CardanoTxAuxiliaryDataSupplement": {
"fields": {
"type": {
"rule": "required",
"type": "CardanoTxAuxiliaryDataSupplementType",
"id": 1
},
"auxiliary_data_hash": {
"type": "bytes",
"id": 2
},
"cvote_registration_signature": {
"type": "bytes",
"id": 3
}
}
},
"CardanoTxWitnessRequest": {
"fields": {
"path": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
}
}
},
"CardanoTxWitnessResponse": {
"fields": {
"type": {
"rule": "required",
"type": "CardanoTxWitnessType",
"id": 1
},
"pub_key": {
"rule": "required",
"type": "bytes",
"id": 2
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 3
},
"chain_code": {
"type": "bytes",
"id": 4
}
}
},
"CardanoTxHostAck": {
"fields": {}
},
"CardanoTxBodyHash": {
"fields": {
"tx_hash": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"CardanoSignTxFinished": {
"fields": {}
},
"Success": {
"fields": {
"message": {
"type": "string",
"id": 1,
"options": {
"default": ""
}
}
}
},
"Failure": {
"fields": {
"code": {
"type": "FailureType",
"id": 1
},
"message": {
"type": "string",
"id": 2
}
},
"nested": {
"FailureType": {
"values": {
"Failure_UnexpectedMessage": 1,
"Failure_ButtonExpected": 2,
"Failure_DataError": 3,
"Failure_ActionCancelled": 4,
"Failure_PinExpected": 5,
"Failure_PinCancelled": 6,
"Failure_PinInvalid": 7,
"Failure_InvalidSignature": 8,
"Failure_ProcessError": 9,
"Failure_NotEnoughFunds": 10,
"Failure_NotInitialized": 11,
"Failure_PinMismatch": 12,
"Failure_WipeCodeMismatch": 13,
"Failure_InvalidSession": 14,
"Failure_FirmwareError": 99
}
}
}
},
"ButtonRequest": {
"fields": {
"code": {
"type": "ButtonRequestType",
"id": 1
},
"pages": {
"type": "uint32",
"id": 2
},
"name": {
"type": "string",
"id": 4
}
},
"nested": {
"ButtonRequestType": {
"values": {
"ButtonRequest_Other": 1,
"ButtonRequest_FeeOverThreshold": 2,
"ButtonRequest_ConfirmOutput": 3,
"ButtonRequest_ResetDevice": 4,
"ButtonRequest_ConfirmWord": 5,
"ButtonRequest_WipeDevice": 6,
"ButtonRequest_ProtectCall": 7,
"ButtonRequest_SignTx": 8,
"ButtonRequest_FirmwareCheck": 9,
"ButtonRequest_Address": 10,
"ButtonRequest_PublicKey": 11,
"ButtonRequest_MnemonicWordCount": 12,
"ButtonRequest_MnemonicInput": 13,
"_Deprecated_ButtonRequest_PassphraseType": 14,
"ButtonRequest_UnknownDerivationPath": 15,
"ButtonRequest_RecoveryHomepage": 16,
"ButtonRequest_Success": 17,
"ButtonRequest_Warning": 18,
"ButtonRequest_PassphraseEntry": 19,
"ButtonRequest_PinEntry": 20
}
}
}
},
"ButtonAck": {
"fields": {}
},
"PinMatrixRequest": {
"fields": {
"type": {
"type": "PinMatrixRequestType",
"id": 1
}
},
"nested": {
"PinMatrixRequestType": {
"values": {
"PinMatrixRequestType_Current": 1,
"PinMatrixRequestType_NewFirst": 2,
"PinMatrixRequestType_NewSecond": 3,
"PinMatrixRequestType_WipeCodeFirst": 4,
"PinMatrixRequestType_WipeCodeSecond": 5
}
}
}
},
"PinMatrixAck": {
"fields": {
"pin": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"PassphraseRequest": {
"fields": {
"_on_device": {
"type": "bool",
"id": 1
}
}
},
"PassphraseAck": {
"fields": {
"passphrase": {
"type": "string",
"id": 1
},
"_state": {
"type": "bytes",
"id": 2
},
"on_device": {
"type": "bool",
"id": 3
}
}
},
"Deprecated_PassphraseStateRequest": {
"fields": {
"state": {
"type": "bytes",
"id": 1
}
}
},
"Deprecated_PassphraseStateAck": {
"fields": {}
},
"HDNodeType": {
"fields": {
"depth": {
"rule": "required",
"type": "uint32",
"id": 1
},
"fingerprint": {
"rule": "required",
"type": "uint32",
"id": 2
},
"child_num": {
"rule": "required",
"type": "uint32",
"id": 3
},
"chain_code": {
"rule": "required",
"type": "bytes",
"id": 4
},
"private_key": {
"type": "bytes",
"id": 5
},
"public_key": {
"rule": "required",
"type": "bytes",
"id": 6
}
}
},
"CipherKeyValue": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"key": {
"rule": "required",
"type": "string",
"id": 2
},
"value": {
"rule": "required",
"type": "bytes",
"id": 3
},
"encrypt": {
"type": "bool",
"id": 4
},
"ask_on_encrypt": {
"type": "bool",
"id": 5
},
"ask_on_decrypt": {
"type": "bool",
"id": 6
},
"iv": {
"type": "bytes",
"id": 7
}
}
},
"CipheredKeyValue": {
"fields": {
"value": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"IdentityType": {
"fields": {
"proto": {
"type": "string",
"id": 1
},
"user": {
"type": "string",
"id": 2
},
"host": {
"type": "string",
"id": 3
},
"port": {
"type": "string",
"id": 4
},
"path": {
"type": "string",
"id": 5
},
"index": {
"type": "uint32",
"id": 6,
"options": {
"default": 0
}
}
}
},
"SignIdentity": {
"fields": {
"identity": {
"rule": "required",
"type": "IdentityType",
"id": 1
},
"challenge_hidden": {
"type": "bytes",
"id": 2,
"options": {
"default": ""
}
},
"challenge_visual": {
"type": "string",
"id": 3,
"options": {
"default": ""
}
},
"ecdsa_curve_name": {
"type": "string",
"id": 4
}
}
},
"SignedIdentity": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"public_key": {
"rule": "required",
"type": "bytes",
"id": 2
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 3
}
}
},
"GetECDHSessionKey": {
"fields": {
"identity": {
"rule": "required",
"type": "IdentityType",
"id": 1
},
"peer_public_key": {
"rule": "required",
"type": "bytes",
"id": 2
},
"ecdsa_curve_name": {
"type": "string",
"id": 3
}
}
},
"ECDHSessionKey": {
"fields": {
"session_key": {
"rule": "required",
"type": "bytes",
"id": 1
},
"public_key": {
"type": "bytes",
"id": 2
}
}
},
"DebugLinkDecision": {
"fields": {
"button": {
"type": "DebugButton",
"id": 1
},
"swipe": {
"type": "DebugSwipeDirection",
"id": 2
},
"input": {
"type": "string",
"id": 3
},
"x": {
"type": "uint32",
"id": 4
},
"y": {
"type": "uint32",
"id": 5
},
"wait": {
"type": "bool",
"id": 6
},
"hold_ms": {
"type": "uint32",
"id": 7
},
"physical_button": {
"type": "DebugPhysicalButton",
"id": 8
}
},
"nested": {
"DebugSwipeDirection": {
"values": {
"UP": 0,
"DOWN": 1,
"LEFT": 2,
"RIGHT": 3
}
},
"DebugButton": {
"values": {
"NO": 0,
"YES": 1,
"INFO": 2
}
},
"DebugPhysicalButton": {
"values": {
"LEFT_BTN": 0,
"MIDDLE_BTN": 1,
"RIGHT_BTN": 2
}
}
}
},
"DebugLinkLayout": {
"fields": {
"tokens": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"DebugLinkReseedRandom": {
"fields": {
"value": {
"type": "uint32",
"id": 1
}
}
},
"DebugLinkRecordScreen": {
"fields": {
"target_directory": {
"type": "string",
"id": 1
},
"refresh_index": {
"type": "uint32",
"id": 2,
"options": {
"default": 0
}
}
}
},
"DebugLinkGetState": {
"fields": {
"wait_word_list": {
"type": "bool",
"id": 1
},
"wait_word_pos": {
"type": "bool",
"id": 2
},
"wait_layout": {
"type": "DebugWaitType",
"id": 3,
"options": {
"default": "IMMEDIATE"
}
},
"return_empty_state": {
"type": "bool",
"id": 4,
"options": {
"default": false
}
}
},
"nested": {
"DebugWaitType": {
"values": {
"IMMEDIATE": 0,
"NEXT_LAYOUT": 1,
"CURRENT_LAYOUT": 2
}
}
}
},
"DebugLinkState": {
"fields": {
"layout": {
"type": "bytes",
"id": 1
},
"pin": {
"type": "string",
"id": 2
},
"matrix": {
"type": "string",
"id": 3
},
"mnemonic_secret": {
"type": "bytes",
"id": 4
},
"node": {
"type": "HDNodeType",
"id": 5
},
"passphrase_protection": {
"type": "bool",
"id": 6
},
"reset_word": {
"type": "string",
"id": 7
},
"reset_entropy": {
"type": "bytes",
"id": 8
},
"recovery_fake_word": {
"type": "string",
"id": 9
},
"recovery_word_pos": {
"type": "uint32",
"id": 10
},
"reset_word_pos": {
"type": "uint32",
"id": 11
},
"mnemonic_type": {
"type": "BackupType",
"id": 12
},
"tokens": {
"rule": "repeated",
"type": "string",
"id": 13
}
}
},
"DebugLinkStop": {
"fields": {}
},
"DebugLinkLog": {
"fields": {
"level": {
"type": "uint32",
"id": 1
},
"bucket": {
"type": "string",
"id": 2
},
"text": {
"type": "string",
"id": 3
}
}
},
"DebugLinkMemoryRead": {
"fields": {
"address": {
"type": "uint32",
"id": 1
},
"length": {
"type": "uint32",
"id": 2
}
}
},
"DebugLinkMemory": {
"fields": {
"memory": {
"type": "bytes",
"id": 1
}
}
},
"DebugLinkMemoryWrite": {
"fields": {
"address": {
"type": "uint32",
"id": 1
},
"memory": {
"type": "bytes",
"id": 2
},
"flash": {
"type": "bool",
"id": 3
}
}
},
"DebugLinkFlashErase": {
"fields": {
"sector": {
"type": "uint32",
"id": 1
}
}
},
"DebugLinkEraseSdCard": {
"fields": {
"format": {
"type": "bool",
"id": 1
}
}
},
"DebugLinkWatchLayout": {
"fields": {
"watch": {
"type": "bool",
"id": 1
}
}
},
"DebugLinkResetDebugEvents": {
"fields": {}
},
"DebugLinkOptigaSetSecMax": {
"fields": {}
},
"EosGetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"EosPublicKey": {
"fields": {
"wif_public_key": {
"rule": "required",
"type": "string",
"id": 1
},
"raw_public_key": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"EosSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"chain_id": {
"rule": "required",
"type": "bytes",
"id": 2
},
"header": {
"rule": "required",
"type": "EosTxHeader",
"id": 3
},
"num_actions": {
"rule": "required",
"type": "uint32",
"id": 4
},
"chunkify": {
"type": "bool",
"id": 5
}
},
"nested": {
"EosTxHeader": {
"fields": {
"expiration": {
"rule": "required",
"type": "uint32",
"id": 1
},
"ref_block_num": {
"rule": "required",
"type": "uint32",
"id": 2
},
"ref_block_prefix": {
"rule": "required",
"type": "uint32",
"id": 3
},
"max_net_usage_words": {
"rule": "required",
"type": "uint32",
"id": 4
},
"max_cpu_usage_ms": {
"rule": "required",
"type": "uint32",
"id": 5
},
"delay_sec": {
"rule": "required",
"type": "uint32",
"id": 6
}
}
}
}
},
"EosTxActionRequest": {
"fields": {
"data_size": {
"type": "uint32",
"id": 1
}
}
},
"EosTxActionAck": {
"fields": {
"common": {
"rule": "required",
"type": "EosActionCommon",
"id": 1
},
"transfer": {
"type": "EosActionTransfer",
"id": 2
},
"delegate": {
"type": "EosActionDelegate",
"id": 3
},
"undelegate": {
"type": "EosActionUndelegate",
"id": 4
},
"refund": {
"type": "EosActionRefund",
"id": 5
},
"buy_ram": {
"type": "EosActionBuyRam",
"id": 6
},
"buy_ram_bytes": {
"type": "EosActionBuyRamBytes",
"id": 7
},
"sell_ram": {
"type": "EosActionSellRam",
"id": 8
},
"vote_producer": {
"type": "EosActionVoteProducer",
"id": 9
},
"update_auth": {
"type": "EosActionUpdateAuth",
"id": 10
},
"delete_auth": {
"type": "EosActionDeleteAuth",
"id": 11
},
"link_auth": {
"type": "EosActionLinkAuth",
"id": 12
},
"unlink_auth": {
"type": "EosActionUnlinkAuth",
"id": 13
},
"new_account": {
"type": "EosActionNewAccount",
"id": 14
},
"unknown": {
"type": "EosActionUnknown",
"id": 15
}
},
"nested": {
"EosAsset": {
"fields": {
"amount": {
"rule": "required",
"type": "sint64",
"id": 1
},
"symbol": {
"rule": "required",
"type": "uint64",
"id": 2
}
}
},
"EosPermissionLevel": {
"fields": {
"actor": {
"rule": "required",
"type": "uint64",
"id": 1
},
"permission": {
"rule": "required",
"type": "uint64",
"id": 2
}
}
},
"EosAuthorizationKey": {
"fields": {
"type": {
"rule": "required",
"type": "uint32",
"id": 1
},
"key": {
"type": "bytes",
"id": 2
},
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 3,
"options": {
"packed": false
}
},
"weight": {
"rule": "required",
"type": "uint32",
"id": 4
}
}
},
"EosAuthorizationAccount": {
"fields": {
"account": {
"rule": "required",
"type": "EosPermissionLevel",
"id": 1
},
"weight": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"EosAuthorizationWait": {
"fields": {
"wait_sec": {
"rule": "required",
"type": "uint32",
"id": 1
},
"weight": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"EosAuthorization": {
"fields": {
"threshold": {
"rule": "required",
"type": "uint32",
"id": 1
},
"keys": {
"rule": "repeated",
"type": "EosAuthorizationKey",
"id": 2
},
"accounts": {
"rule": "repeated",
"type": "EosAuthorizationAccount",
"id": 3
},
"waits": {
"rule": "repeated",
"type": "EosAuthorizationWait",
"id": 4
}
}
},
"EosActionCommon": {
"fields": {
"account": {
"rule": "required",
"type": "uint64",
"id": 1
},
"name": {
"rule": "required",
"type": "uint64",
"id": 2
},
"authorization": {
"rule": "repeated",
"type": "EosPermissionLevel",
"id": 3
}
}
},
"EosActionTransfer": {
"fields": {
"sender": {
"rule": "required",
"type": "uint64",
"id": 1
},
"receiver": {
"rule": "required",
"type": "uint64",
"id": 2
},
"quantity": {
"rule": "required",
"type": "EosAsset",
"id": 3
},
"memo": {
"rule": "required",
"type": "string",
"id": 4
}
}
},
"EosActionDelegate": {
"fields": {
"sender": {
"rule": "required",
"type": "uint64",
"id": 1
},
"receiver": {
"rule": "required",
"type": "uint64",
"id": 2
},
"net_quantity": {
"rule": "required",
"type": "EosAsset",
"id": 3
},
"cpu_quantity": {
"rule": "required",
"type": "EosAsset",
"id": 4
},
"transfer": {
"rule": "required",
"type": "bool",
"id": 5
}
}
},
"EosActionUndelegate": {
"fields": {
"sender": {
"rule": "required",
"type": "uint64",
"id": 1
},
"receiver": {
"rule": "required",
"type": "uint64",
"id": 2
},
"net_quantity": {
"rule": "required",
"type": "EosAsset",
"id": 3
},
"cpu_quantity": {
"rule": "required",
"type": "EosAsset",
"id": 4
}
}
},
"EosActionRefund": {
"fields": {
"owner": {
"rule": "required",
"type": "uint64",
"id": 1
}
}
},
"EosActionBuyRam": {
"fields": {
"payer": {
"rule": "required",
"type": "uint64",
"id": 1
},
"receiver": {
"rule": "required",
"type": "uint64",
"id": 2
},
"quantity": {
"rule": "required",
"type": "EosAsset",
"id": 3
}
}
},
"EosActionBuyRamBytes": {
"fields": {
"payer": {
"rule": "required",
"type": "uint64",
"id": 1
},
"receiver": {
"rule": "required",
"type": "uint64",
"id": 2
},
"bytes": {
"rule": "required",
"type": "uint32",
"id": 3
}
}
},
"EosActionSellRam": {
"fields": {
"account": {
"rule": "required",
"type": "uint64",
"id": 1
},
"bytes": {
"rule": "required",
"type": "uint64",
"id": 2
}
}
},
"EosActionVoteProducer": {
"fields": {
"voter": {
"rule": "required",
"type": "uint64",
"id": 1
},
"proxy": {
"rule": "required",
"type": "uint64",
"id": 2
},
"producers": {
"rule": "repeated",
"type": "uint64",
"id": 3,
"options": {
"packed": false
}
}
}
},
"EosActionUpdateAuth": {
"fields": {
"account": {
"rule": "required",
"type": "uint64",
"id": 1
},
"permission": {
"rule": "required",
"type": "uint64",
"id": 2
},
"parent": {
"rule": "required",
"type": "uint64",
"id": 3
},
"auth": {
"rule": "required",
"type": "EosAuthorization",
"id": 4
}
}
},
"EosActionDeleteAuth": {
"fields": {
"account": {
"rule": "required",
"type": "uint64",
"id": 1
},
"permission": {
"rule": "required",
"type": "uint64",
"id": 2
}
}
},
"EosActionLinkAuth": {
"fields": {
"account": {
"rule": "required",
"type": "uint64",
"id": 1
},
"code": {
"rule": "required",
"type": "uint64",
"id": 2
},
"type": {
"rule": "required",
"type": "uint64",
"id": 3
},
"requirement": {
"rule": "required",
"type": "uint64",
"id": 4
}
}
},
"EosActionUnlinkAuth": {
"fields": {
"account": {
"rule": "required",
"type": "uint64",
"id": 1
},
"code": {
"rule": "required",
"type": "uint64",
"id": 2
},
"type": {
"rule": "required",
"type": "uint64",
"id": 3
}
}
},
"EosActionNewAccount": {
"fields": {
"creator": {
"rule": "required",
"type": "uint64",
"id": 1
},
"name": {
"rule": "required",
"type": "uint64",
"id": 2
},
"owner": {
"rule": "required",
"type": "EosAuthorization",
"id": 3
},
"active": {
"rule": "required",
"type": "EosAuthorization",
"id": 4
}
}
},
"EosActionUnknown": {
"fields": {
"data_size": {
"rule": "required",
"type": "uint32",
"id": 1
},
"data_chunk": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
}
}
},
"EosSignedTx": {
"fields": {
"signature": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"EthereumDefinitionType": {
"values": {
"NETWORK": 0,
"TOKEN": 1
}
},
"EthereumNetworkInfo": {
"fields": {
"chain_id": {
"rule": "required",
"type": "uint64",
"id": 1
},
"symbol": {
"rule": "required",
"type": "string",
"id": 2
},
"slip44": {
"rule": "required",
"type": "uint32",
"id": 3
},
"name": {
"rule": "required",
"type": "string",
"id": 4
}
}
},
"EthereumTokenInfo": {
"fields": {
"address": {
"rule": "required",
"type": "bytes",
"id": 1
},
"chain_id": {
"rule": "required",
"type": "uint64",
"id": 2
},
"symbol": {
"rule": "required",
"type": "string",
"id": 3
},
"decimals": {
"rule": "required",
"type": "uint32",
"id": 4
},
"name": {
"rule": "required",
"type": "string",
"id": 5
}
}
},
"EthereumDefinitions": {
"fields": {
"encoded_network": {
"type": "bytes",
"id": 1
},
"encoded_token": {
"type": "bytes",
"id": 2
}
}
},
"EthereumSignTypedData": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"primary_type": {
"rule": "required",
"type": "string",
"id": 2
},
"metamask_v4_compat": {
"type": "bool",
"id": 3,
"options": {
"default": true
}
},
"definitions": {
"type": "EthereumDefinitions",
"id": 4
}
}
},
"EthereumTypedDataStructRequest": {
"fields": {
"name": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"EthereumTypedDataStructAck": {
"fields": {
"members": {
"rule": "repeated",
"type": "EthereumStructMember",
"id": 1
}
},
"nested": {
"EthereumStructMember": {
"fields": {
"type": {
"rule": "required",
"type": "EthereumFieldType",
"id": 1
},
"name": {
"rule": "required",
"type": "string",
"id": 2
}
}
},
"EthereumFieldType": {
"fields": {
"data_type": {
"rule": "required",
"type": "EthereumDataType",
"id": 1
},
"size": {
"type": "uint32",
"id": 2
},
"entry_type": {
"type": "EthereumFieldType",
"id": 3
},
"struct_name": {
"type": "string",
"id": 4
}
}
},
"EthereumDataType": {
"values": {
"UINT": 1,
"INT": 2,
"BYTES": 3,
"STRING": 4,
"BOOL": 5,
"ADDRESS": 6,
"ARRAY": 7,
"STRUCT": 8
}
}
}
},
"EthereumTypedDataValueRequest": {
"fields": {
"member_path": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
}
}
},
"EthereumTypedDataValueAck": {
"fields": {
"value": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"EthereumGetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
}
}
},
"EthereumPublicKey": {
"fields": {
"node": {
"rule": "required",
"type": "HDNodeType",
"id": 1
},
"xpub": {
"rule": "required",
"type": "string",
"id": 2
}
}
},
"EthereumGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"encoded_network": {
"type": "bytes",
"id": 3
},
"chunkify": {
"type": "bool",
"id": 4
}
}
},
"EthereumAddress": {
"fields": {
"_old_address": {
"type": "bytes",
"id": 1
},
"address": {
"type": "string",
"id": 2
}
}
},
"EthereumSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"nonce": {
"type": "bytes",
"id": 2,
"options": {
"default": ""
}
},
"gas_price": {
"rule": "required",
"type": "bytes",
"id": 3
},
"gas_limit": {
"rule": "required",
"type": "bytes",
"id": 4
},
"to": {
"type": "string",
"id": 11,
"options": {
"default": ""
}
},
"value": {
"type": "bytes",
"id": 6,
"options": {
"default": ""
}
},
"data_initial_chunk": {
"type": "bytes",
"id": 7,
"options": {
"default": ""
}
},
"data_length": {
"type": "uint32",
"id": 8,
"options": {
"default": 0
}
},
"chain_id": {
"rule": "required",
"type": "uint64",
"id": 9
},
"tx_type": {
"type": "uint32",
"id": 10
},
"definitions": {
"type": "EthereumDefinitions",
"id": 12
},
"chunkify": {
"type": "bool",
"id": 13
}
}
},
"EthereumSignTxEIP1559": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"nonce": {
"rule": "required",
"type": "bytes",
"id": 2
},
"max_gas_fee": {
"rule": "required",
"type": "bytes",
"id": 3
},
"max_priority_fee": {
"rule": "required",
"type": "bytes",
"id": 4
},
"gas_limit": {
"rule": "required",
"type": "bytes",
"id": 5
},
"to": {
"type": "string",
"id": 6,
"options": {
"default": ""
}
},
"value": {
"rule": "required",
"type": "bytes",
"id": 7
},
"data_initial_chunk": {
"type": "bytes",
"id": 8,
"options": {
"default": ""
}
},
"data_length": {
"rule": "required",
"type": "uint32",
"id": 9
},
"chain_id": {
"rule": "required",
"type": "uint64",
"id": 10
},
"access_list": {
"rule": "repeated",
"type": "EthereumAccessList",
"id": 11
},
"definitions": {
"type": "EthereumDefinitions",
"id": 12
},
"chunkify": {
"type": "bool",
"id": 13
}
},
"nested": {
"EthereumAccessList": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
},
"storage_keys": {
"rule": "repeated",
"type": "bytes",
"id": 2
}
}
}
}
},
"EthereumTxRequest": {
"fields": {
"data_length": {
"type": "uint32",
"id": 1
},
"signature_v": {
"type": "uint32",
"id": 2
},
"signature_r": {
"type": "bytes",
"id": 3
},
"signature_s": {
"type": "bytes",
"id": 4
}
}
},
"EthereumTxAck": {
"fields": {
"data_chunk": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"EthereumSignMessage": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"message": {
"rule": "required",
"type": "bytes",
"id": 2
},
"encoded_network": {
"type": "bytes",
"id": 3
},
"chunkify": {
"type": "bool",
"id": 4
}
}
},
"EthereumMessageSignature": {
"fields": {
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
},
"address": {
"rule": "required",
"type": "string",
"id": 3
}
}
},
"EthereumVerifyMessage": {
"fields": {
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
},
"message": {
"rule": "required",
"type": "bytes",
"id": 3
},
"address": {
"rule": "required",
"type": "string",
"id": 4
},
"chunkify": {
"type": "bool",
"id": 5
}
}
},
"EthereumSignTypedHash": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"domain_separator_hash": {
"rule": "required",
"type": "bytes",
"id": 2
},
"message_hash": {
"type": "bytes",
"id": 3
},
"encoded_network": {
"type": "bytes",
"id": 4
}
}
},
"EthereumTypedDataSignature": {
"fields": {
"signature": {
"rule": "required",
"type": "bytes",
"id": 1
},
"address": {
"rule": "required",
"type": "string",
"id": 2
}
}
},
"BackupType": {
"values": {
"Bip39": 0,
"Slip39_Basic": 1,
"Slip39_Advanced": 2,
"Slip39_Single_Extendable": 3,
"Slip39_Basic_Extendable": 4,
"Slip39_Advanced_Extendable": 5
}
},
"SafetyCheckLevel": {
"values": {
"Strict": 0,
"PromptAlways": 1,
"PromptTemporarily": 2
}
},
"DisplayRotation": {
"values": {
"North": 0,
"East": 90,
"South": 180,
"West": 270
}
},
"HomescreenFormat": {
"values": {
"Toif": 1,
"Jpeg": 2,
"ToiG": 3
}
},
"Initialize": {
"fields": {
"session_id": {
"type": "bytes",
"id": 1
},
"_skip_passphrase": {
"type": "bool",
"id": 2
},
"derive_cardano": {
"type": "bool",
"id": 3
}
}
},
"GetFeatures": {
"fields": {}
},
"Features": {
"fields": {
"vendor": {
"type": "string",
"id": 1
},
"major_version": {
"rule": "required",
"type": "uint32",
"id": 2
},
"minor_version": {
"rule": "required",
"type": "uint32",
"id": 3
},
"patch_version": {
"rule": "required",
"type": "uint32",
"id": 4
},
"bootloader_mode": {
"type": "bool",
"id": 5
},
"device_id": {
"type": "string",
"id": 6
},
"pin_protection": {
"type": "bool",
"id": 7
},
"passphrase_protection": {
"type": "bool",
"id": 8
},
"language": {
"type": "string",
"id": 9
},
"label": {
"type": "string",
"id": 10
},
"initialized": {
"type": "bool",
"id": 12
},
"revision": {
"type": "bytes",
"id": 13
},
"bootloader_hash": {
"type": "bytes",
"id": 14
},
"imported": {
"type": "bool",
"id": 15
},
"unlocked": {
"type": "bool",
"id": 16
},
"_passphrase_cached": {
"type": "bool",
"id": 17
},
"firmware_present": {
"type": "bool",
"id": 18
},
"backup_availability": {
"type": "BackupAvailability",
"id": 19
},
"flags": {
"type": "uint32",
"id": 20
},
"model": {
"type": "string",
"id": 21
},
"fw_major": {
"type": "uint32",
"id": 22
},
"fw_minor": {
"type": "uint32",
"id": 23
},
"fw_patch": {
"type": "uint32",
"id": 24
},
"fw_vendor": {
"type": "string",
"id": 25
},
"unfinished_backup": {
"type": "bool",
"id": 27
},
"no_backup": {
"type": "bool",
"id": 28
},
"recovery_status": {
"type": "RecoveryStatus",
"id": 29
},
"capabilities": {
"rule": "repeated",
"type": "Capability",
"id": 30,
"options": {
"packed": false
}
},
"backup_type": {
"type": "BackupType",
"id": 31
},
"sd_card_present": {
"type": "bool",
"id": 32
},
"sd_protection": {
"type": "bool",
"id": 33
},
"wipe_code_protection": {
"type": "bool",
"id": 34
},
"session_id": {
"type": "bytes",
"id": 35
},
"passphrase_always_on_device": {
"type": "bool",
"id": 36
},
"safety_checks": {
"type": "SafetyCheckLevel",
"id": 37
},
"auto_lock_delay_ms": {
"type": "uint32",
"id": 38
},
"display_rotation": {
"type": "DisplayRotation",
"id": 39
},
"experimental_features": {
"type": "bool",
"id": 40
},
"busy": {
"type": "bool",
"id": 41
},
"homescreen_format": {
"type": "HomescreenFormat",
"id": 42
},
"hide_passphrase_from_host": {
"type": "bool",
"id": 43
},
"internal_model": {
"type": "string",
"id": 44
},
"unit_color": {
"type": "uint32",
"id": 45
},
"unit_btconly": {
"type": "bool",
"id": 46
},
"homescreen_width": {
"type": "uint32",
"id": 47
},
"homescreen_height": {
"type": "uint32",
"id": 48
},
"bootloader_locked": {
"type": "bool",
"id": 49
},
"language_version_matches": {
"type": "bool",
"id": 50,
"options": {
"default": true
}
},
"unit_packaging": {
"type": "uint32",
"id": 51
},
"haptic_feedback": {
"type": "bool",
"id": 52
},
"recovery_type": {
"type": "RecoveryType",
"id": 53
},
"optiga_sec": {
"type": "uint32",
"id": 54
}
},
"nested": {
"BackupAvailability": {
"values": {
"NotAvailable": 0,
"Required": 1,
"Available": 2
}
},
"RecoveryStatus": {
"values": {
"Nothing": 0,
"Recovery": 1,
"Backup": 2
}
},
"Capability": {
"values": {
"Capability_Bitcoin": 1,
"Capability_Bitcoin_like": 2,
"Capability_Binance": 3,
"Capability_Cardano": 4,
"Capability_Crypto": 5,
"Capability_EOS": 6,
"Capability_Ethereum": 7,
"Capability_Lisk": 8,
"Capability_Monero": 9,
"Capability_NEM": 10,
"Capability_Ripple": 11,
"Capability_Stellar": 12,
"Capability_Tezos": 13,
"Capability_U2F": 14,
"Capability_Shamir": 15,
"Capability_ShamirGroups": 16,
"Capability_PassphraseEntry": 17,
"Capability_Solana": 18,
"Capability_Translations": 19,
"Capability_Brightness": 20,
"Capability_Haptic": 21
}
}
}
},
"LockDevice": {
"fields": {}
},
"SetBusy": {
"fields": {
"expiry_ms": {
"type": "uint32",
"id": 1
}
}
},
"EndSession": {
"fields": {}
},
"ApplySettings": {
"fields": {
"language": {
"type": "string",
"id": 1
},
"label": {
"type": "string",
"id": 2
},
"use_passphrase": {
"type": "bool",
"id": 3
},
"homescreen": {
"type": "bytes",
"id": 4
},
"_passphrase_source": {
"type": "uint32",
"id": 5
},
"auto_lock_delay_ms": {
"type": "uint32",
"id": 6
},
"display_rotation": {
"type": "DisplayRotation",
"id": 7
},
"passphrase_always_on_device": {
"type": "bool",
"id": 8
},
"safety_checks": {
"type": "SafetyCheckLevel",
"id": 9
},
"experimental_features": {
"type": "bool",
"id": 10
},
"hide_passphrase_from_host": {
"type": "bool",
"id": 11
},
"haptic_feedback": {
"type": "bool",
"id": 13
}
}
},
"ChangeLanguage": {
"fields": {
"data_length": {
"rule": "required",
"type": "uint32",
"id": 1
},
"show_display": {
"type": "bool",
"id": 2
}
}
},
"TranslationDataRequest": {
"fields": {
"data_length": {
"rule": "required",
"type": "uint32",
"id": 1
},
"data_offset": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
},
"TranslationDataAck": {
"fields": {
"data_chunk": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"ApplyFlags": {
"fields": {
"flags": {
"rule": "required",
"type": "uint32",
"id": 1
}
}
},
"ChangePin": {
"fields": {
"remove": {
"type": "bool",
"id": 1
}
}
},
"ChangeWipeCode": {
"fields": {
"remove": {
"type": "bool",
"id": 1
}
}
},
"SdProtect": {
"fields": {
"operation": {
"rule": "required",
"type": "SdProtectOperationType",
"id": 1
}
},
"nested": {
"SdProtectOperationType": {
"values": {
"DISABLE": 0,
"ENABLE": 1,
"REFRESH": 2
}
}
}
},
"Ping": {
"fields": {
"message": {
"type": "string",
"id": 1,
"options": {
"default": ""
}
},
"button_protection": {
"type": "bool",
"id": 2
}
}
},
"Cancel": {
"fields": {}
},
"GetEntropy": {
"fields": {
"size": {
"rule": "required",
"type": "uint32",
"id": 1
}
}
},
"Entropy": {
"fields": {
"entropy": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"GetFirmwareHash": {
"fields": {
"challenge": {
"type": "bytes",
"id": 1
}
}
},
"FirmwareHash": {
"fields": {
"hash": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"AuthenticateDevice": {
"fields": {
"challenge": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"AuthenticityProof": {
"fields": {
"certificates": {
"rule": "repeated",
"type": "bytes",
"id": 1
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"WipeDevice": {
"fields": {}
},
"LoadDevice": {
"fields": {
"mnemonics": {
"rule": "repeated",
"type": "string",
"id": 1
},
"pin": {
"type": "string",
"id": 3
},
"passphrase_protection": {
"type": "bool",
"id": 4
},
"language": {
"type": "string",
"id": 5
},
"label": {
"type": "string",
"id": 6
},
"skip_checksum": {
"type": "bool",
"id": 7
},
"u2f_counter": {
"type": "uint32",
"id": 8
},
"needs_backup": {
"type": "bool",
"id": 9
},
"no_backup": {
"type": "bool",
"id": 10
}
}
},
"ResetDevice": {
"fields": {
"strength": {
"type": "uint32",
"id": 2,
"options": {
"default": 256
}
},
"passphrase_protection": {
"type": "bool",
"id": 3
},
"pin_protection": {
"type": "bool",
"id": 4
},
"language": {
"type": "string",
"id": 5
},
"label": {
"type": "string",
"id": 6
},
"u2f_counter": {
"type": "uint32",
"id": 7
},
"skip_backup": {
"type": "bool",
"id": 8
},
"no_backup": {
"type": "bool",
"id": 9
},
"backup_type": {
"type": "BackupType",
"id": 10,
"options": {
"default": "Bip39"
}
},
"entropy_check": {
"type": "bool",
"id": 11
}
}
},
"BackupDevice": {
"fields": {
"group_threshold": {
"type": "uint32",
"id": 1
},
"groups": {
"rule": "repeated",
"type": "Slip39Group",
"id": 2
}
},
"nested": {
"Slip39Group": {
"fields": {
"member_threshold": {
"rule": "required",
"type": "uint32",
"id": 1
},
"member_count": {
"rule": "required",
"type": "uint32",
"id": 2
}
}
}
}
},
"EntropyRequest": {
"fields": {
"entropy_commitment": {
"type": "bytes",
"id": 1
},
"prev_entropy": {
"type": "bytes",
"id": 2
}
}
},
"EntropyAck": {
"fields": {
"entropy": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"EntropyCheckReady": {
"fields": {}
},
"EntropyCheckContinue": {
"fields": {
"finish": {
"type": "bool",
"id": 1,
"options": {
"default": false
}
}
}
},
"RecoveryDevice": {
"fields": {
"word_count": {
"type": "uint32",
"id": 1
},
"passphrase_protection": {
"type": "bool",
"id": 2
},
"pin_protection": {
"type": "bool",
"id": 3
},
"language": {
"type": "string",
"id": 4
},
"label": {
"type": "string",
"id": 5
},
"enforce_wordlist": {
"type": "bool",
"id": 6
},
"input_method": {
"type": "RecoveryDeviceInputMethod",
"id": 8
},
"u2f_counter": {
"type": "uint32",
"id": 9
},
"type": {
"type": "RecoveryType",
"id": 10,
"options": {
"default": "NormalRecovery"
}
}
},
"nested": {
"RecoveryDeviceInputMethod": {
"values": {
"ScrambledWords": 0,
"Matrix": 1
}
}
}
},
"RecoveryType": {
"values": {
"NormalRecovery": 0,
"DryRun": 1,
"UnlockRepeatedBackup": 2
}
},
"WordRequest": {
"fields": {
"type": {
"rule": "required",
"type": "WordRequestType",
"id": 1
}
},
"nested": {
"WordRequestType": {
"values": {
"WordRequestType_Plain": 0,
"WordRequestType_Matrix9": 1,
"WordRequestType_Matrix6": 2
}
}
}
},
"WordAck": {
"fields": {
"word": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"SetU2FCounter": {
"fields": {
"u2f_counter": {
"rule": "required",
"type": "uint32",
"id": 1
}
}
},
"GetNextU2FCounter": {
"fields": {}
},
"NextU2FCounter": {
"fields": {
"u2f_counter": {
"rule": "required",
"type": "uint32",
"id": 1
}
}
},
"DoPreauthorized": {
"fields": {}
},
"PreauthorizedRequest": {
"fields": {}
},
"CancelAuthorization": {
"fields": {}
},
"RebootToBootloader": {
"fields": {
"boot_command": {
"type": "BootCommand",
"id": 1,
"options": {
"default": "STOP_AND_WAIT"
}
},
"firmware_header": {
"type": "bytes",
"id": 2
},
"language_data_length": {
"type": "uint32",
"id": 3,
"options": {
"default": 0
}
}
},
"nested": {
"BootCommand": {
"values": {
"STOP_AND_WAIT": 0,
"INSTALL_UPGRADE": 1
}
}
}
},
"GetNonce": {
"fields": {}
},
"Nonce": {
"fields": {
"nonce": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"UnlockPath": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"mac": {
"type": "bytes",
"id": 2
}
}
},
"UnlockedPathRequest": {
"fields": {
"mac": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"ShowDeviceTutorial": {
"fields": {}
},
"UnlockBootloader": {
"fields": {}
},
"SetBrightness": {
"fields": {
"value": {
"type": "uint32",
"id": 1
}
}
},
"NEMGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"network": {
"type": "uint32",
"id": 2,
"options": {
"default": 104
}
},
"show_display": {
"type": "bool",
"id": 3
},
"chunkify": {
"type": "bool",
"id": 4
}
}
},
"NEMAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"NEMSignTx": {
"fields": {
"transaction": {
"rule": "required",
"type": "NEMTransactionCommon",
"id": 1
},
"multisig": {
"type": "NEMTransactionCommon",
"id": 2
},
"transfer": {
"type": "NEMTransfer",
"id": 3
},
"cosigning": {
"type": "bool",
"id": 4
},
"provision_namespace": {
"type": "NEMProvisionNamespace",
"id": 5
},
"mosaic_creation": {
"type": "NEMMosaicCreation",
"id": 6
},
"supply_change": {
"type": "NEMMosaicSupplyChange",
"id": 7
},
"aggregate_modification": {
"type": "NEMAggregateModification",
"id": 8
},
"importance_transfer": {
"type": "NEMImportanceTransfer",
"id": 9
},
"chunkify": {
"type": "bool",
"id": 10
}
},
"nested": {
"NEMTransactionCommon": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"network": {
"type": "uint32",
"id": 2,
"options": {
"default": 104
}
},
"timestamp": {
"rule": "required",
"type": "uint32",
"id": 3
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 4
},
"deadline": {
"rule": "required",
"type": "uint32",
"id": 5
},
"signer": {
"type": "bytes",
"id": 6
}
}
},
"NEMTransfer": {
"fields": {
"recipient": {
"rule": "required",
"type": "string",
"id": 1
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 2
},
"payload": {
"type": "bytes",
"id": 3
},
"public_key": {
"type": "bytes",
"id": 4
},
"mosaics": {
"rule": "repeated",
"type": "NEMMosaic",
"id": 5
}
},
"nested": {
"NEMMosaic": {
"fields": {
"namespace": {
"rule": "required",
"type": "string",
"id": 1
},
"mosaic": {
"rule": "required",
"type": "string",
"id": 2
},
"quantity": {
"rule": "required",
"type": "uint64",
"id": 3
}
}
}
}
},
"NEMProvisionNamespace": {
"fields": {
"namespace": {
"rule": "required",
"type": "string",
"id": 1
},
"parent": {
"type": "string",
"id": 2
},
"sink": {
"rule": "required",
"type": "string",
"id": 3
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 4
}
}
},
"NEMMosaicCreation": {
"fields": {
"definition": {
"rule": "required",
"type": "NEMMosaicDefinition",
"id": 1
},
"sink": {
"rule": "required",
"type": "string",
"id": 2
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 3
}
},
"nested": {
"NEMMosaicDefinition": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"ticker": {
"type": "string",
"id": 2
},
"namespace": {
"rule": "required",
"type": "string",
"id": 3
},
"mosaic": {
"rule": "required",
"type": "string",
"id": 4
},
"divisibility": {
"type": "uint32",
"id": 5
},
"levy": {
"type": "NEMMosaicLevy",
"id": 6
},
"fee": {
"type": "uint64",
"id": 7
},
"levy_address": {
"type": "string",
"id": 8
},
"levy_namespace": {
"type": "string",
"id": 9
},
"levy_mosaic": {
"type": "string",
"id": 10
},
"supply": {
"type": "uint64",
"id": 11
},
"mutable_supply": {
"type": "bool",
"id": 12
},
"transferable": {
"type": "bool",
"id": 13
},
"description": {
"rule": "required",
"type": "string",
"id": 14
},
"networks": {
"rule": "repeated",
"type": "uint32",
"id": 15,
"options": {
"packed": false
}
}
},
"nested": {
"NEMMosaicLevy": {
"values": {
"MosaicLevy_Absolute": 1,
"MosaicLevy_Percentile": 2
}
}
}
}
}
},
"NEMMosaicSupplyChange": {
"fields": {
"namespace": {
"rule": "required",
"type": "string",
"id": 1
},
"mosaic": {
"rule": "required",
"type": "string",
"id": 2
},
"type": {
"rule": "required",
"type": "NEMSupplyChangeType",
"id": 3
},
"delta": {
"rule": "required",
"type": "uint64",
"id": 4
}
},
"nested": {
"NEMSupplyChangeType": {
"values": {
"SupplyChange_Increase": 1,
"SupplyChange_Decrease": 2
}
}
}
},
"NEMAggregateModification": {
"fields": {
"modifications": {
"rule": "repeated",
"type": "NEMCosignatoryModification",
"id": 1
},
"relative_change": {
"type": "sint32",
"id": 2
}
},
"nested": {
"NEMCosignatoryModification": {
"fields": {
"type": {
"rule": "required",
"type": "NEMModificationType",
"id": 1
},
"public_key": {
"rule": "required",
"type": "bytes",
"id": 2
}
},
"nested": {
"NEMModificationType": {
"values": {
"CosignatoryModification_Add": 1,
"CosignatoryModification_Delete": 2
}
}
}
}
}
},
"NEMImportanceTransfer": {
"fields": {
"mode": {
"rule": "required",
"type": "NEMImportanceTransferMode",
"id": 1
},
"public_key": {
"rule": "required",
"type": "bytes",
"id": 2
}
},
"nested": {
"NEMImportanceTransferMode": {
"values": {
"ImportanceTransfer_Activate": 1,
"ImportanceTransfer_Deactivate": 2
}
}
}
}
}
},
"NEMSignedTx": {
"fields": {
"data": {
"rule": "required",
"type": "bytes",
"id": 1
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"NEMDecryptMessage": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"network": {
"type": "uint32",
"id": 2
},
"public_key": {
"type": "bytes",
"id": 3
},
"payload": {
"type": "bytes",
"id": 4
}
}
},
"NEMDecryptedMessage": {
"fields": {
"payload": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"RippleGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"RippleAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"RippleSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 2
},
"flags": {
"type": "uint32",
"id": 3,
"options": {
"default": 0
}
},
"sequence": {
"rule": "required",
"type": "uint32",
"id": 4
},
"last_ledger_sequence": {
"type": "uint32",
"id": 5
},
"payment": {
"rule": "required",
"type": "RipplePayment",
"id": 6
},
"chunkify": {
"type": "bool",
"id": 7
}
},
"nested": {
"RipplePayment": {
"fields": {
"amount": {
"rule": "required",
"type": "uint64",
"id": 1
},
"destination": {
"rule": "required",
"type": "string",
"id": 2
},
"destination_tag": {
"type": "uint32",
"id": 3
}
}
}
}
},
"RippleSignedTx": {
"fields": {
"signature": {
"rule": "required",
"type": "bytes",
"id": 1
},
"serialized_tx": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"SolanaGetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
}
}
},
"SolanaPublicKey": {
"fields": {
"public_key": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"SolanaGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"SolanaAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"SolanaTxTokenAccountInfo": {
"fields": {
"base_address": {
"rule": "required",
"type": "string",
"id": 1
},
"token_program": {
"rule": "required",
"type": "string",
"id": 2
},
"token_mint": {
"rule": "required",
"type": "string",
"id": 3
},
"token_account": {
"rule": "required",
"type": "string",
"id": 4
}
}
},
"SolanaTxAdditionalInfo": {
"fields": {
"token_accounts_infos": {
"rule": "repeated",
"type": "SolanaTxTokenAccountInfo",
"id": 1
}
}
},
"SolanaSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"serialized_tx": {
"rule": "required",
"type": "bytes",
"id": 2
},
"additional_info": {
"type": "SolanaTxAdditionalInfo",
"id": 3
}
}
},
"SolanaTxSignature": {
"fields": {
"signature": {
"rule": "required",
"type": "bytes",
"id": 1
}
}
},
"StellarAssetType": {
"values": {
"NATIVE": 0,
"ALPHANUM4": 1,
"ALPHANUM12": 2
}
},
"StellarAsset": {
"fields": {
"type": {
"rule": "required",
"type": "StellarAssetType",
"id": 1
},
"code": {
"type": "string",
"id": 2
},
"issuer": {
"type": "string",
"id": 3
}
}
},
"StellarGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"StellarAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"StellarSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 2,
"options": {
"packed": false
}
},
"network_passphrase": {
"rule": "required",
"type": "string",
"id": 3
},
"source_account": {
"rule": "required",
"type": "string",
"id": 4
},
"fee": {
"rule": "required",
"type": "uint32",
"id": 5
},
"sequence_number": {
"rule": "required",
"type": "uint64",
"id": 6
},
"timebounds_start": {
"rule": "required",
"type": "uint32",
"id": 8
},
"timebounds_end": {
"rule": "required",
"type": "uint32",
"id": 9
},
"memo_type": {
"rule": "required",
"type": "StellarMemoType",
"id": 10
},
"memo_text": {
"type": "string",
"id": 11
},
"memo_id": {
"type": "uint64",
"id": 12
},
"memo_hash": {
"type": "bytes",
"id": 13
},
"num_operations": {
"rule": "required",
"type": "uint32",
"id": 14
}
},
"nested": {
"StellarMemoType": {
"values": {
"NONE": 0,
"TEXT": 1,
"ID": 2,
"HASH": 3,
"RETURN": 4
}
}
}
},
"StellarTxOpRequest": {
"fields": {}
},
"StellarPaymentOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"destination_account": {
"rule": "required",
"type": "string",
"id": 2
},
"asset": {
"rule": "required",
"type": "StellarAsset",
"id": 3
},
"amount": {
"rule": "required",
"type": "sint64",
"id": 4
}
}
},
"StellarCreateAccountOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"new_account": {
"rule": "required",
"type": "string",
"id": 2
},
"starting_balance": {
"rule": "required",
"type": "sint64",
"id": 3
}
}
},
"StellarPathPaymentStrictReceiveOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"send_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 2
},
"send_max": {
"rule": "required",
"type": "sint64",
"id": 3
},
"destination_account": {
"rule": "required",
"type": "string",
"id": 4
},
"destination_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 5
},
"destination_amount": {
"rule": "required",
"type": "sint64",
"id": 6
},
"paths": {
"rule": "repeated",
"type": "StellarAsset",
"id": 7
}
}
},
"StellarPathPaymentStrictSendOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"send_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 2
},
"send_amount": {
"rule": "required",
"type": "sint64",
"id": 3
},
"destination_account": {
"rule": "required",
"type": "string",
"id": 4
},
"destination_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 5
},
"destination_min": {
"rule": "required",
"type": "sint64",
"id": 6
},
"paths": {
"rule": "repeated",
"type": "StellarAsset",
"id": 7
}
}
},
"StellarManageSellOfferOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"selling_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 2
},
"buying_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 3
},
"amount": {
"rule": "required",
"type": "sint64",
"id": 4
},
"price_n": {
"rule": "required",
"type": "uint32",
"id": 5
},
"price_d": {
"rule": "required",
"type": "uint32",
"id": 6
},
"offer_id": {
"rule": "required",
"type": "uint64",
"id": 7
}
}
},
"StellarManageBuyOfferOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"selling_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 2
},
"buying_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 3
},
"amount": {
"rule": "required",
"type": "sint64",
"id": 4
},
"price_n": {
"rule": "required",
"type": "uint32",
"id": 5
},
"price_d": {
"rule": "required",
"type": "uint32",
"id": 6
},
"offer_id": {
"rule": "required",
"type": "uint64",
"id": 7
}
}
},
"StellarCreatePassiveSellOfferOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"selling_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 2
},
"buying_asset": {
"rule": "required",
"type": "StellarAsset",
"id": 3
},
"amount": {
"rule": "required",
"type": "sint64",
"id": 4
},
"price_n": {
"rule": "required",
"type": "uint32",
"id": 5
},
"price_d": {
"rule": "required",
"type": "uint32",
"id": 6
}
}
},
"StellarSetOptionsOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"inflation_destination_account": {
"type": "string",
"id": 2
},
"clear_flags": {
"type": "uint32",
"id": 3
},
"set_flags": {
"type": "uint32",
"id": 4
},
"master_weight": {
"type": "uint32",
"id": 5
},
"low_threshold": {
"type": "uint32",
"id": 6
},
"medium_threshold": {
"type": "uint32",
"id": 7
},
"high_threshold": {
"type": "uint32",
"id": 8
},
"home_domain": {
"type": "string",
"id": 9
},
"signer_type": {
"type": "StellarSignerType",
"id": 10
},
"signer_key": {
"type": "bytes",
"id": 11
},
"signer_weight": {
"type": "uint32",
"id": 12
}
},
"nested": {
"StellarSignerType": {
"values": {
"ACCOUNT": 0,
"PRE_AUTH": 1,
"HASH": 2
}
}
}
},
"StellarChangeTrustOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"asset": {
"rule": "required",
"type": "StellarAsset",
"id": 2
},
"limit": {
"rule": "required",
"type": "uint64",
"id": 3
}
}
},
"StellarAllowTrustOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"trusted_account": {
"rule": "required",
"type": "string",
"id": 2
},
"asset_type": {
"rule": "required",
"type": "StellarAssetType",
"id": 3
},
"asset_code": {
"type": "string",
"id": 4
},
"is_authorized": {
"rule": "required",
"type": "bool",
"id": 5
}
}
},
"StellarAccountMergeOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"destination_account": {
"rule": "required",
"type": "string",
"id": 2
}
}
},
"StellarManageDataOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"key": {
"rule": "required",
"type": "string",
"id": 2
},
"value": {
"type": "bytes",
"id": 3
}
}
},
"StellarBumpSequenceOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"bump_to": {
"rule": "required",
"type": "uint64",
"id": 2
}
}
},
"StellarClaimClaimableBalanceOp": {
"fields": {
"source_account": {
"type": "string",
"id": 1
},
"balance_id": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"StellarSignedTx": {
"fields": {
"public_key": {
"rule": "required",
"type": "bytes",
"id": 1
},
"signature": {
"rule": "required",
"type": "bytes",
"id": 2
}
}
},
"TezosGetAddress": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"TezosAddress": {
"fields": {
"address": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"TezosGetPublicKey": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"show_display": {
"type": "bool",
"id": 2
},
"chunkify": {
"type": "bool",
"id": 3
}
}
},
"TezosPublicKey": {
"fields": {
"public_key": {
"rule": "required",
"type": "string",
"id": 1
}
}
},
"TezosSignTx": {
"fields": {
"address_n": {
"rule": "repeated",
"type": "uint32",
"id": 1,
"options": {
"packed": false
}
},
"branch": {
"rule": "required",
"type": "bytes",
"id": 2
},
"reveal": {
"type": "TezosRevealOp",
"id": 3
},
"transaction": {
"type": "TezosTransactionOp",
"id": 4
},
"origination": {
"type": "TezosOriginationOp",
"id": 5
},
"delegation": {
"type": "TezosDelegationOp",
"id": 6
},
"proposal": {
"type": "TezosProposalOp",
"id": 7
},
"ballot": {
"type": "TezosBallotOp",
"id": 8
},
"chunkify": {
"type": "bool",
"id": 9
}
},
"nested": {
"TezosContractID": {
"fields": {
"tag": {
"rule": "required",
"type": "TezosContractType",
"id": 1
},
"hash": {
"rule": "required",
"type": "bytes",
"id": 2
}
},
"nested": {
"TezosContractType": {
"values": {
"Implicit": 0,
"Originated": 1
}
}
}
},
"TezosRevealOp": {
"fields": {
"source": {
"rule": "required",
"type": "bytes",
"id": 7
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 2
},
"counter": {
"rule": "required",
"type": "uint64",
"id": 3
},
"gas_limit": {
"rule": "required",
"type": "uint64",
"id": 4
},
"storage_limit": {
"rule": "required",
"type": "uint64",
"id": 5
},
"public_key": {
"rule": "required",
"type": "bytes",
"id": 6
}
}
},
"TezosTransactionOp": {
"fields": {
"source": {
"rule": "required",
"type": "bytes",
"id": 9
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 2
},
"counter": {
"rule": "required",
"type": "uint64",
"id": 3
},
"gas_limit": {
"rule": "required",
"type": "uint64",
"id": 4
},
"storage_limit": {
"rule": "required",
"type": "uint64",
"id": 5
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 6
},
"destination": {
"rule": "required",
"type": "TezosContractID",
"id": 7
},
"parameters": {
"type": "bytes",
"id": 8
},
"parameters_manager": {
"type": "TezosParametersManager",
"id": 10
}
},
"nested": {
"TezosParametersManager": {
"fields": {
"set_delegate": {
"type": "bytes",
"id": 1
},
"cancel_delegate": {
"type": "bool",
"id": 2
},
"transfer": {
"type": "TezosManagerTransfer",
"id": 3
}
},
"nested": {
"TezosManagerTransfer": {
"fields": {
"destination": {
"rule": "required",
"type": "TezosContractID",
"id": 1
},
"amount": {
"rule": "required",
"type": "uint64",
"id": 2
}
}
}
}
}
}
},
"TezosOriginationOp": {
"fields": {
"source": {
"rule": "required",
"type": "bytes",
"id": 12
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 2
},
"counter": {
"rule": "required",
"type": "uint64",
"id": 3
},
"gas_limit": {
"rule": "required",
"type": "uint64",
"id": 4
},
"storage_limit": {
"rule": "required",
"type": "uint64",
"id": 5
},
"manager_pubkey": {
"type": "bytes",
"id": 6
},
"balance": {
"rule": "required",
"type": "uint64",
"id": 7
},
"spendable": {
"type": "bool",
"id": 8
},
"delegatable": {
"type": "bool",
"id": 9
},
"delegate": {
"type": "bytes",
"id": 10
},
"script": {
"rule": "required",
"type": "bytes",
"id": 11
}
}
},
"TezosDelegationOp": {
"fields": {
"source": {
"rule": "required",
"type": "bytes",
"id": 7
},
"fee": {
"rule": "required",
"type": "uint64",
"id": 2
},
"counter": {
"rule": "required",
"type": "uint64",
"id": 3
},
"gas_limit": {
"rule": "required",
"type": "uint64",
"id": 4
},
"storage_limit": {
"rule": "required",
"type": "uint64",
"id": 5
},
"delegate": {
"rule": "required",
"type": "bytes",
"id": 6
}
}
},
"TezosProposalOp": {
"fields": {
"source": {
"rule": "required",
"type": "bytes",
"id": 1
},
"period": {
"rule": "required",
"type": "uint64",
"id": 2
},
"proposals": {
"rule": "repeated",
"type": "bytes",
"id": 4
}
}
},
"TezosBallotOp": {
"fields": {
"source": {
"rule": "required",
"type": "bytes",
"id": 1
},
"period": {
"rule": "required",
"type": "uint64",
"id": 2
},
"proposal": {
"rule": "required",
"type": "bytes",
"id": 3
},
"ballot": {
"rule": "required",
"type": "TezosBallotType",
"id": 4
}
},
"nested": {
"TezosBallotType": {
"values": {
"Yay": 0,
"Nay": 1,
"Pass": 2
}
}
}
}
}
},
"TezosSignedTx": {
"fields": {
"signature": {
"rule": "required",
"type": "string",
"id": 1
},
"sig_op_contents": {
"rule": "required",
"type": "bytes",
"id": 2
},
"operation_hash": {
"rule": "required",
"type": "string",
"id": 3
}
}
},
"MessageType": {
"values": {
"Initialize": 0,
"Ping": 1,
"Success": 2,
"Failure": 3,
"ChangePin": 4,
"WipeDevice": 5,
"GetEntropy": 9,
"Entropy": 10,
"LoadDevice": 13,
"ResetDevice": 14,
"SetBusy": 16,
"Features": 17,
"PinMatrixRequest": 18,
"PinMatrixAck": 19,
"Cancel": 20,
"LockDevice": 24,
"ApplySettings": 25,
"ButtonRequest": 26,
"ButtonAck": 27,
"ApplyFlags": 28,
"GetNonce": 31,
"Nonce": 33,
"BackupDevice": 34,
"EntropyRequest": 35,
"EntropyAck": 36,
"EntropyCheckReady": 994,
"EntropyCheckContinue": 995,
"PassphraseRequest": 41,
"PassphraseAck": 42,
"RecoveryDevice": 45,
"WordRequest": 46,
"WordAck": 47,
"GetFeatures": 55,
"SdProtect": 79,
"ChangeWipeCode": 82,
"EndSession": 83,
"DoPreauthorized": 84,
"PreauthorizedRequest": 85,
"CancelAuthorization": 86,
"RebootToBootloader": 87,
"GetFirmwareHash": 88,
"FirmwareHash": 89,
"UnlockPath": 93,
"UnlockedPathRequest": 94,
"ShowDeviceTutorial": 95,
"UnlockBootloader": 96,
"AuthenticateDevice": 97,
"AuthenticityProof": 98,
"ChangeLanguage": 990,
"TranslationDataRequest": 991,
"TranslationDataAck": 992,
"SetBrightness": 993,
"SetU2FCounter": 63,
"GetNextU2FCounter": 80,
"NextU2FCounter": 81,
"Deprecated_PassphraseStateRequest": 77,
"Deprecated_PassphraseStateAck": 78,
"FirmwareErase": 6,
"FirmwareUpload": 7,
"FirmwareRequest": 8,
"ProdTestT1": 32,
"GetPublicKey": 11,
"PublicKey": 12,
"SignTx": 15,
"TxRequest": 21,
"TxAck": 22,
"GetAddress": 29,
"Address": 30,
"TxAckPaymentRequest": 37,
"SignMessage": 38,
"VerifyMessage": 39,
"MessageSignature": 40,
"GetOwnershipId": 43,
"OwnershipId": 44,
"GetOwnershipProof": 49,
"OwnershipProof": 50,
"AuthorizeCoinJoin": 51,
"CipherKeyValue": 23,
"CipheredKeyValue": 48,
"SignIdentity": 53,
"SignedIdentity": 54,
"GetECDHSessionKey": 61,
"ECDHSessionKey": 62,
"DebugLinkDecision": 100,
"DebugLinkGetState": 101,
"DebugLinkState": 102,
"DebugLinkStop": 103,
"DebugLinkLog": 104,
"DebugLinkMemoryRead": 110,
"DebugLinkMemory": 111,
"DebugLinkMemoryWrite": 112,
"DebugLinkFlashErase": 113,
"DebugLinkLayout": 9001,
"DebugLinkReseedRandom": 9002,
"DebugLinkRecordScreen": 9003,
"DebugLinkEraseSdCard": 9005,
"DebugLinkWatchLayout": 9006,
"DebugLinkResetDebugEvents": 9007,
"DebugLinkOptigaSetSecMax": 9008,
"EthereumGetPublicKey": 450,
"EthereumPublicKey": 451,
"EthereumGetAddress": 56,
"EthereumAddress": 57,
"EthereumSignTx": 58,
"EthereumSignTxEIP1559": 452,
"EthereumTxRequest": 59,
"EthereumTxAck": 60,
"EthereumSignMessage": 64,
"EthereumVerifyMessage": 65,
"EthereumMessageSignature": 66,
"EthereumSignTypedData": 464,
"EthereumTypedDataStructRequest": 465,
"EthereumTypedDataStructAck": 466,
"EthereumTypedDataValueRequest": 467,
"EthereumTypedDataValueAck": 468,
"EthereumTypedDataSignature": 469,
"EthereumSignTypedHash": 470,
"NEMGetAddress": 67,
"NEMAddress": 68,
"NEMSignTx": 69,
"NEMSignedTx": 70,
"NEMDecryptMessage": 75,
"NEMDecryptedMessage": 76,
"TezosGetAddress": 150,
"TezosAddress": 151,
"TezosSignTx": 152,
"TezosSignedTx": 153,
"TezosGetPublicKey": 154,
"TezosPublicKey": 155,
"StellarSignTx": 202,
"StellarTxOpRequest": 203,
"StellarGetAddress": 207,
"StellarAddress": 208,
"StellarCreateAccountOp": 210,
"StellarPaymentOp": 211,
"StellarPathPaymentStrictReceiveOp": 212,
"StellarManageSellOfferOp": 213,
"StellarCreatePassiveSellOfferOp": 214,
"StellarSetOptionsOp": 215,
"StellarChangeTrustOp": 216,
"StellarAllowTrustOp": 217,
"StellarAccountMergeOp": 218,
"StellarManageDataOp": 220,
"StellarBumpSequenceOp": 221,
"StellarManageBuyOfferOp": 222,
"StellarPathPaymentStrictSendOp": 223,
"StellarClaimClaimableBalanceOp": 225,
"StellarSignedTx": 230,
"CardanoGetPublicKey": 305,
"CardanoPublicKey": 306,
"CardanoGetAddress": 307,
"CardanoAddress": 308,
"CardanoTxItemAck": 313,
"CardanoTxAuxiliaryDataSupplement": 314,
"CardanoTxWitnessRequest": 315,
"CardanoTxWitnessResponse": 316,
"CardanoTxHostAck": 317,
"CardanoTxBodyHash": 318,
"CardanoSignTxFinished": 319,
"CardanoSignTxInit": 320,
"CardanoTxInput": 321,
"CardanoTxOutput": 322,
"CardanoAssetGroup": 323,
"CardanoToken": 324,
"CardanoTxCertificate": 325,
"CardanoTxWithdrawal": 326,
"CardanoTxAuxiliaryData": 327,
"CardanoPoolOwner": 328,
"CardanoPoolRelayParameters": 329,
"CardanoGetNativeScriptHash": 330,
"CardanoNativeScriptHash": 331,
"CardanoTxMint": 332,
"CardanoTxCollateralInput": 333,
"CardanoTxRequiredSigner": 334,
"CardanoTxInlineDatumChunk": 335,
"CardanoTxReferenceScriptChunk": 336,
"CardanoTxReferenceInput": 337,
"RippleGetAddress": 400,
"RippleAddress": 401,
"RippleSignTx": 402,
"RippleSignedTx": 403,
"EosGetPublicKey": 600,
"EosPublicKey": 601,
"EosSignTx": 602,
"EosTxActionRequest": 603,
"EosTxActionAck": 604,
"EosSignedTx": 605,
"BinanceGetAddress": 700,
"BinanceAddress": 701,
"BinanceGetPublicKey": 702,
"BinancePublicKey": 703,
"BinanceSignTx": 704,
"BinanceTxRequest": 705,
"BinanceTransferMsg": 706,
"BinanceOrderMsg": 707,
"BinanceCancelMsg": 708,
"BinanceSignedTx": 709,
"SolanaGetPublicKey": 900,
"SolanaPublicKey": 901,
"SolanaGetAddress": 902,
"SolanaAddress": 903,
"SolanaSignTx": 904,
"SolanaTxSignature": 905
}
}
}
}