Input

interface Input

An input to a user transaction.

Types

Link copied to clipboard
sealed class InputKind
Link copied to clipboard
sealed class Mutability

Properties

Link copied to clipboard
abstract val digest: String?

The digest of this object.

Link copied to clipboard

Fund Reservation information if kind is FUNDS_WITHDRAWAL.

Link copied to clipboard
abstract val kind: Input.InputKind?
Link copied to clipboard
abstract val literal: Value

A literal value

Link copied to clipboard

NOTE: For backwards compatibility purposes the addition of the new NON_EXCLUSIVE_WRITE mutability variant requires providing a new field. The old mutable field will continue to be populated and respected as an input for the time being.

Link copied to clipboard
abstract val mutable: Boolean?

Controls whether the caller asks for a mutable reference to the shared object.

Link copied to clipboard
abstract val objectId: String?

ObjectId of the object input.

Link copied to clipboard

Returns the field-presence view for this Input instance.

Link copied to clipboard
abstract val pure: <Error class: unknown class>?

A move value serialized as BCS.

Link copied to clipboard
abstract val version: <Error class: unknown class>?

Requested version of the input object when kind is IMMUTABLE_OR_OWNED or RECEIVING or if kind is SHARED this is the initial version of the object when it was shared

Functions

Link copied to clipboard
Link copied to clipboard
fun Input.copy(body: <Error class: unknown class>.() -> Unit = {}): Input

Copies the original message, including unknown fields.