Get desktop application:
View/edit binary Protocol Buffers messages
* Request: Ask device for Cardano address @end
Base58 cardano address
Address authentication code
* Structure to represent address parameters so they can be reused in CardanoGetAddress and CardanoTxOutputType. NetworkId isn't a part of the parameters, because in a transaction this will be included separately in the transaction itself, so it shouldn't be duplicated here. @embed
Used in: , , ,
one of the CardanoAddressType-s
BIP-32-style path to derive the spending key from master node
BIP-32-style path to derive staking key from master node
staking key can be derived from address_n_staking, or
can be sent directly e.g. if it doesn't belong to the same account as address_n
a pointer to the staking key registration
certificate
* Values correspond to address header values given by the spec. Script addresses are only supported in transaction outputs.
Used in:
* Request: Transaction output asset group data @next CardanoTxItemAck
asset group policy id
* Structure representing cardano PointerAddress pointer, which points to a staking key registration certificate. @embed
Used in:
* @embed
Used in:
Used in:
* @embed
Used in:
mutually exclusive with delegations
mutually exclusive with payment_address
mutually exclusive with vote_public_key;
max 32 delegations
mutually exclusive with payment_address_parameters
Used in:
* DRep delegation parameters @embed
Used in:
drep type
drep key hash
drep script hash
Used in:
Used in: , , , ,
* Request: Ask device for Cardano address @start @next CardanoAddress @next Failure
repeated uint32 address_n = 1; // moved to address_parameters
optionally prompt for confirmation on Trezor display
network's protocol magic - needed for Byron addresses on testnets
network id - mainnet or testnet
parameters used to derive the address
display the address in chunks of 4 characters
* Request: Ask device for Cardano native script hash @start @next CardanoNativeScriptHash @next Failure
display hash as bech32 or policy id
* Request: Ask device for public key corresponding to address_n path @start @next CardanoPublicKey @next Failure
BIP-32 path to derive the key from master node
optionally show on display before sending the result
* Device requests data chunk with specific size and offset @next CardanoMessageDataResponse
size of data chunk to read
offset from start of payload
* Client provides requested data chunk @next CardanoMessageDataRequest @next CardanoMessageSignature
the requested data chunk
* Response: Contains signature for message and address used in signed headers @end
signature for structure containing payload and protected headers
value of the address field in protected headers
public key given by signing path
@embed
Used in:
* Request: Ask device for Cardano native script hash @end
Used in:
Used in:
* Stake pool metadata parameters @embed
Used in:
stake pool url hosting metadata, at most 64 characters
stake pool metadata hash
* Request: Stake pool owner parameters @next CardanoTxItemAck
BIP-32-style path to derive staking key of the owner
owner's staking key if it is an external owner
* Stake pool parameters @embed
Used in:
stake pool cold public key hash (28 bytes)
VRF key hash (32 bytes)
pledge amount in lovelace
cost in lovelace
pool margin numerator
pool margin denominator
bech32 reward address where the pool receives rewards
repeated CardanoPoolOwner owners = 8; // legacy pool owners list - support for pre-tx-streaming firmwares dropped repeated CardanoPoolRelayParameters relays = 9; // legacy pool relays list - support for pre-tx-streaming firmwares dropped
pool metadata
number of pool owners
number of pool relays
* Request: Stake pool relay parameters @next CardanoTxItemAck
pool relay type
ipv4 address of the relay given as 4 bytes
ipv6 address of the relay given as 16 bytes
relay host name given as URL, at most 64 characters
relay port number in the range 0-65535
Used in:
* Response: Contains public key derived from device private seed @end
Xpub key
BIP-32 public node
* Request: Ask device to sign a message containing arbitrary data @start @next CardanoMessageDataRequest @next CardanoMessageSignature
network's protocol magic
network id - mainnet or testnet
BIP-32-style path to derive the signing key from master node
size of the payload to be signed
whether to decode payload as hex even if valid ascii
* Response: Confirm the successful completion of the signing process @end
(message has no fields)
* Request: Initiate the Cardano transaction signing process on the device @start @next CardanoTxItemAck @next Failure
network's protocol magic
network id - mainnet or testnet
transaction fee - added in shelley
transaction ttl - added in shelley
network id included as tx body item
display the address in chunks of 4 characters
use tag 258 for sets in cbor
SLIP-24 payment request
* Request: Transaction output asset group token data @next CardanoTxItemAck
asset name as bytestring (may be either ascii string or hash)
asset amount
mint amount (can also be negative in which case the tokens are burnt)
* Request: Transaction auxiliary data @next CardanoTxItemAck @next CardanoTxAuxiliaryDataSupplement
* Response: Device-generated supplement for the auxiliary data @next CardanoTxWitnessRequest
Used in:
* Response: Hash of the serialized transaction body @next CardanoTxHostAck
* Request: Transaction certificate data @next CardanoTxItemAck
certificate type
stake credential key path
pool hash
used for stake pool registration certificate
stake credential script hash
stake credential key hash
used for stake key registration certificate
used for vote delegation certificate
* Request: Transaction collateral input data @next CardanoTxItemAck
* Request: Acknowledgement of the last response received @next CardanoTxBodyHash @next CardanoSignTxFinished
(message has no fields)
* Request: Transaction output inline datum chunk @next CardanoTxItemAck
expected maximum chunk size is 1024 bytes
* Request: Transaction input data @next CardanoTxItemAck
hash of previous transaction output to spend by this input
index of previous output to spend
* Response: Acknowledgement of the last transaction item received @next CardanoTxInput @next CardanoTxOutput @next CardanoAssetGroup @next CardanoToken @next CardanoTxInlineDatumChunk @next CardanoTxReferenceScriptChunk @next CardanoTxCertificate @next CardanoPoolOwner @next CardanoPoolRelayParameters @next CardanoTxWithdrawal @next CardanoTxAuxiliaryData @next CardanoTxWitnessRequest @next CardanoTxMint @next CardanoTxCollateralInput @next CardanoTxRequiredSigner @next CardanoTxReferenceInput
(message has no fields)
* Request: Transaction mint @next CardanoTxItemAck
* Request: Transaction output data @next CardanoTxItemAck
target coin address in bech32 or base58
parameters used to derive the address
amount to spend
0 means no inline datum
0 means no reference script
Used in:
legacy_transaction_output in CDDL
post_alonzo_transaction_output in CDDL
* Request: Transaction reference input data @next CardanoTxItemAck
* Request: Transaction output reference script chunk @next CardanoTxItemAck
expected maximum chunk size is 1024 bytes
* Request: Transaction required signer @next CardanoTxItemAck
Used in:
* Request: Transaction withdrawal data @next CardanoTxItemAck
stake credential key path
stake credential script hash
stake credential key hash
* Request: Ask the device to sign a witness path @next CardanoTxWitnessResponse
* Response: Signature corresponding to the requested witness path @next CardanoTxWitnessRequest @next CardanoTxHostAck
Used in: