Function pallet_starknet::pallet::dispatchables::invoke
source · pub fn invoke<T: Config>(transaction: InvokeTransaction)
Expand description
The invoke transaction is the main transaction type used to invoke contract functions in
Starknet.
See https://docs.starknet.io/documentation/architecture_and_concepts/Blocks/transactions/#invoke_transaction
.
Arguments
origin
- The origin of the transaction.transaction
- The Starknet transaction.
Returns
DispatchResult
- The result of the transaction.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::invoke
.