pub struct ExecutableFuelCall {
pub tx: Script,
}
Expand description
[TransactionExecution
] provides methods to create and call/simulate a transaction that carries
out contract method calls or script calls
Fields§
§tx: Script
Implementations§
source§impl ExecutableFuelCall
impl ExecutableFuelCall
pub fn new(tx: Script) -> Self
sourcepub async fn from_contract_calls(
calls: &[ContractCall],
tx_parameters: &TxParameters,
wallet: &WalletUnlocked
) -> Result<Self, Error>
pub async fn from_contract_calls(
calls: &[ContractCall],
tx_parameters: &TxParameters,
wallet: &WalletUnlocked
) -> Result<Self, Error>
Creates a [TransactionExecution
] from contract calls. The internal Transaction
is
initialized with the actual script instructions, script data needed to perform the call and
transaction inputs/outputs consisting of assets and contracts.