Constructs a TransactionTarget
instance with the specified values for native, stored, or session targets.
Optional
native: objectThe native transaction target, if applicable.
Optional
stored: StoredTargetThe stored transaction target, if applicable.
Optional
session: SessionTargetThe session transaction target, if applicable.
Optional
nativeNative transaction target, representing a transaction with no specific target.
Optional
sessionSession transaction target, representing a session-based transaction.
Optional
storedStored transaction target, representing a transaction that targets a stored contract or item.
Static
fromJSONDeserializes a TransactionTarget
from a JSON object.
A TransactionTarget
instance.
Error if the JSON object format is invalid.
The JSON object to deserialize.
Static
newCreates a new TransactionTarget
from a session-based transaction.
A new TransactionTarget
instance derived from the session.
The ExecutableDeployItem
that defines the session-based transaction.
Generated using TypeDoc
Represents a transaction target, which could be one of the following types: