Module fuel_tx::input::message::specifications
source · Structs
- The type is used to represent the full message. It is used during the deserialization of the message to determine the final type. If the
data
field is empty, it should be transformed intoMessageData
. Otherwise intoMessageCoin
. If thepredicate
is empty, the usage rules should beSigned
, elsePredicate
. - The spendable message acts as a standard coin.
- The retrayable message metadata. It is a message that can’t be used as a coin to pay for fees but can be used to pass metadata to the contract. It may have a non-zero
value
that will be transferred to the contract as a native asset during the execution. If the execution of the transaction fails, the metadata is not consumed and can be used later until successful execution. - The type means that the message is not signed, and the
owner
is apredicate
bytecode. The merkle root from thepredicate
should be equal to theowner
. - The type means that the message should be signed by the
recipient
, and the signature(witness) should be stored under thewitness_index
index in thewitnesses
vector of thecrate::Transaction
.