Get desktop application:
View/edit binary Protocol Buffers messages
Delegate funds in this account to a specified staking pool.
Used in:
Staking address (as string)
PoolID of staking pool
Amount deposited in this TX. Should be 0. If not set correctly, TX will be rejected. See also RegisterStakingKey.deposit_amount.
Deregister staking key. can be done when staking is stopped completely. The Staking deposit is returned at this time.
Used in:
Staking address (as string)
Amount undeposited in this TX. Should be 2 ADA (2000000). If not set correctly, TX will be rejected. See also RegisterStakingKey.deposit_amount.
A transaction output that can be used as input
Used in:
The transaction ID
The index of this output within the transaction
Register a staking key for the account, prerequisite for Staking. Note: staking messages are typically used with a 1-output-to-self transaction.
Used in:
Staking address (as string)
Amount deposited in this TX. Should be 2 ADA (2000000). If not set correctly, TX will be rejected. See also Delegate.deposit_amount.
Input data necessary to create a signed transaction.
Available input UTXOs
Available private keys (double extended keys); every input UTXO address should be covered In case of Plan only, keys should be present, in correct number
Later this can be made oneof if more message types are supported
Optional, used in case of Staking Key registration (prerequisite for Staking)
Optional, used in case of (re)delegation
Optional, used in case of withdraw
Optional
Time-to-live time of the TX
Optional plan, if missing it will be computed
Result containing the signed and encoded transaction.
Encoded transaction bytes
TxID, derived from transaction data, also needed for submission
Optional error
Represents a token and an amount. Token is identified by PolicyID and name.
Used in: , , ,
Policy ID of the token, as hex string (28x2 digits)
The name of the asset (within the policy)
The amount (uint256, serialized little endian)
Collection of tokens with amount
Used in:
Describes a preliminary transaction plan.
Used in:
total coins in the utxos
coins in the output UTXO
coin amount deducted as fee
coins in the change UTXO
coins deposited (going to deposit) in this TX
coins undeposited (coming from deposit) in this TX
total tokens in the utxos (optional)
tokens in the output (optional)
tokens in the change (optional)
The selected UTXOs, subset ot the input UTXOs
Optional error
Message for simple Transfer tx
Used in:
Destination address as string
Change address
Requested ADA amount to be transferred. Output can be different only in use_max_amount case. Note that Cardano has a minimum amount per UTXO, see TWCardanoMinAdaAmount.
Optional token(s) to be transferred Currently only one token type to be transferred per transaction is supported
Request max amount option. If set, tx will send all possible amounts from all inputs, including all tokens; there will be no change; requested amount and token_amount is disregarded in this case.
Optional fee overriding. If left to 0, optimal fee will be calculated. If set, exactly this value will be used as fee. Use it with care, it may result in underfunded or wasteful fee.
One input for a transaction
Used in: ,
The UTXO
The owner address (string)
ADA amount in the UTXO
optional token amounts in the UTXO
One output for a transaction
Destination address (string)
ADA amount
optional token amounts
Withdraw earned staking reward.
Used in:
Staking address (as string)
Withdrawal amount. Should match the real value of the earned reward.