Interface
An opaque type that represents a method parameter which is typically forwarded as an argument to another smart contract.
See the Forward Values chapter of the advanced guide for more information. export interface ForwardValue {
readonly asString: () => string;
readonly asStringNullable: () => string | undefined;
readonly asNumber: () => number;
readonly asNumberNullable: () => number | undefined;
readonly asBoolean: () => boolean;
readonly asBuffer: () => Buffer;
readonly asBufferNullable: () => Buffer | undefined;
readonly asAddress: () => Address;
readonly asAddressNullable: () => Address | undefined;
readonly asHash256: () => Hash256;
readonly asHash256Nullable: () => Hash256 | undefined;
readonly asPublicKey: () => PublicKey;
readonly asPublicKeyNullable: () => PublicKey | undefined;
readonly asArray: () => Array<ForwardValue>;
readonly asArrayNullable: () => Array<ForwardValue> | undefined;
readonly asMap: () => Map<ForwardValue, ForwardValue>;
readonly asMapNullable: () => Map<ForwardValue, ForwardValue> | undefined;
readonly [OpaqueTagSymbol0]: unique symbol;
}