Skip to main content

ViewOutputs

@iota/grpc


@iota/grpc / ViewOutputs

Interface: ViewOutputs

Defined in: sdk/grpc/src/bcs/decode.ts:205

Properties​

executionError?​

optional executionError?: object

Defined in: sdk/grpc/src/bcs/decode.ts:207

commandIndex?​

optional commandIndex?: bigint

error?​

optional error?: EnumOutputShapeWithKeys<{ AddressDeniedForCoin: { address: string; coinType: string; }; ArityMismatch: true; CertificateDenied: true; CircularObjectOwnership: { object: string; }; CoinBalanceOverflow: true; CoinTypeGlobalPause: { coinType: string; }; CommandArgumentError: { argument: number; kind: EnumOutputShapeWithKeys<{ IndexOutOfBounds: { index: number; }; InvalidArgumentArity: true; InvalidArgumentToPrivateEntryFunction: true; InvalidBcsBytes: true; InvalidGasCoinUsage: true; InvalidObjectByMutRef: true; InvalidObjectByValue: true; InvalidResultArity: { result: number; }; InvalidUsageOfPureArgument: true; InvalidValueUsage: true; SecondaryIndexOutOfBounds: { result: number; subresult: number; }; SharedObjectOperationNotAllowed: true; TypeMismatch: true; }, "TypeMismatch" | "InvalidBcsBytes" | "InvalidUsageOfPureArgument" | "InvalidArgumentToPrivateEntryFunction" | "IndexOutOfBounds" | "SecondaryIndexOutOfBounds" | "InvalidResultArity" | "InvalidGasCoinUsage" | "InvalidValueUsage" | "InvalidObjectByValue" | "InvalidObjectByMutRef" | "SharedObjectOperationNotAllowed" | "InvalidArgumentArity">; }; EffectsTooLarge: { currentSize: string; maxSize: string; }; ExecutionCanceledDueToExecutionWorkerCongestion: { suggestedGasPrice: string; }; ExecutionCanceledDueToRandomnessUnavailable: true; ExecutionCanceledDueToSharedObjectCongestion: { congestedObjects: string[]; }; ExecutionCanceledDueToSharedObjectCongestionV2: { congestedObjects: string[]; suggestedGasPrice: string; }; FeatureNotYetSupported: true; FunctionNotFound: true; InputObjectDeleted: true; InsufficientCoinBalance: true; InsufficientGas: true; InvalidGasObject: true; InvalidLinkage: true; InvalidPublicFunctionReturnType: { index: number; }; InvalidTransferObject: true; InvariantViolation: true; IotaMoveVerificationError: true; IotaMoveVerificationTimeout: true; MoveAbort: { code: string; location: { function: number; functionName: string | null; instruction: number; module: string; package: string; }; }; MoveAuthentication: { error: unknown; }; MovePrimitiveRuntimeError: { location: { function: number; functionName: string | null; instruction: number; module: string; package: string; } | null; }; MoveRawValueTooBig: { maxScaledSize: string; valueSize: string; }; MoveVectorElemTooBig: { maxScaledSize: string; valueSize: string; }; NonEntryFunctionInvoked: true; ObjectTooBig: { maxObjectSize: string; objectSize: string; }; PackageTooBig: { maxObjectSize: string; objectSize: string; }; PackageUpgradeError: { kind: EnumOutputShapeWithKeys<{ DigestDoesNotMatch: { digest: string; }; IncompatibleUpgrade: true; NotAPackage: { objectId: string; }; PackageIdDoesNotMatch: { packageId: string; ticketId: string; }; UnableToFetchPackage: { packageId: string; }; UnknownUpgradePolicy: { policy: number; }; }, "UnableToFetchPackage" | "NotAPackage" | "IncompatibleUpgrade" | "DigestDoesNotMatch" | "UnknownUpgradePolicy" | "PackageIdDoesNotMatch">; }; PublishErrorNonZeroAddress: true; PublishUpgradeDependencyDowngrade: true; PublishUpgradeMissingDependency: true; SharedObjectOperationNotAllowed: true; TypeArgumentError: { kind: EnumOutputShapeWithKeys<{ ConstraintNotSatisfied: true; TypeNotFound: true; }, "TypeNotFound" | "ConstraintNotSatisfied">; typeArgument: number; }; TypeArityMismatch: true; UnusedValueWithoutDrop: { result: number; subresult: number; }; VmInvariantViolation: true; VmVerificationOrDeserializationError: true; WrittenObjectsTooLarge: { maxObjectSize: string; objectSize: string; }; }, "CommandArgumentError" | "SharedObjectOperationNotAllowed" | "TypeArgumentError" | "PackageUpgradeError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "ObjectTooBig" | "PackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "IotaMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VmVerificationOrDeserializationError" | "VmInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "IotaMoveVerificationTimeout" | "InputObjectDeleted" | "ExecutionCanceledDueToSharedObjectCongestion" | "AddressDeniedForCoin" | "CoinTypeGlobalPause" | "ExecutionCanceledDueToRandomnessUnavailable" | "ExecutionCanceledDueToSharedObjectCongestionV2" | "InvalidLinkage" | "MoveAuthentication" | "ExecutionCanceledDueToExecutionWorkerCongestion" | "MoveVectorElemTooBig" | "MoveRawValueTooBig">

source?​

optional source?: string


returnValues?​

optional returnValues?: CommandOutput[]

Defined in: sdk/grpc/src/bcs/decode.ts:206