Represents a Script that can be serialized and deserialized. Scripts contain the Move bytecode payload that can be submitted to the Aptos chain for execution.
Scripts contain the Move bytecodes payload that can be submitted to Aptos chain for execution.
The move module bytecode
The type arguments that the bytecode function requires.
The arguments that the bytecode function requires.
A coin transfer function has one type argument "CoinType".
public(script) fun transfer<CoinType>(from: &signer, to: address, amount: u64) Copy
public(script) fun transfer<CoinType>(from: &signer, to: address, amount: u64)
A coin transfer function has three arguments "from", "to" and "amount".
Static
Readonly
Represents a Script that can be serialized and deserialized. Scripts contain the Move bytecode payload that can be submitted to the Aptos chain for execution.