A nested Move struct as it arrives from either fullnode protocol.
gRPC's json object view returns nested structs bare; JSON-RPC wrapped them
in a { type, fields } envelope. Read one through
GrpcCasting.unwrapStructField, which resolves either arm.
The envelope's type is not present on the gRPC arm. When a caster needs the
nested struct's Move type, it must take it from the enclosing object's type
parameters through Helpers.getObjectType.
A nested Move struct as it arrives from either fullnode protocol.
gRPC's
jsonobject view returns nested structs bare; JSON-RPC wrapped them in a{ type, fields }envelope. Read one throughGrpcCasting.unwrapStructField, which resolves either arm.The envelope's
typeis not present on the gRPC arm. When a caster needs the nested struct's Move type, it must take it from the enclosing object's type parameters throughHelpers.getObjectType.