Static Pointer
A StaticPointer contains a pointer to a specific StateRef and can be resolved by looking up the StateRef via ServiceHub. There are a number of things to keep in mind when using StaticPointers:
The ContractState being pointed to may be spent or unspent when the pointer is resolved
The ContractState may not be known by the node performing the look-up in which case the resolve method will throw a TransactionResolutionException
Constructors
Properties
Determines whether the state pointer should be resolved to a reference input when used in a transaction.
An identifier for the ContractState that this StatePointer points to.
Functions
Resolves a StaticPointer to a StateAndRef via a StateRef look-up.
Resolves a StatePointer to a StateAndRef from inside a LedgerTransaction. The intuition here is that all of the pointed-to states will be included in the transaction as reference states.