Socket
Socket
Sign inDemoInstall

@cardano-ogmios/schema

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-ogmios/schema - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

121

dist/index.d.ts

@@ -64,3 +64,2 @@ export declare type Block = Byron | Shelley | Allegra | Mary | Alonzo;

export declare type PointOrOrigin = Point | Origin;
export declare type SubmitSuccess = "SubmitSuccess";
export declare type Era = "Byron" | "Shelley" | "Allegra" | "Mary" | "Alonzo";

@@ -83,2 +82,5 @@ export declare type DigestBlake2BScript = string;

export declare type SubmitTxError = (EraMismatch | InvalidWitnesses | MissingVkWitnesses | MissingScriptWitnesses | ScriptWitnessNotValidating | InsufficientGenesisSignatures | MissingTxMetadata | MissingTxMetadataHash | TxMetadataHashMismatch | BadInputs | ExpiredUtxo | OutsideOfValidityInterval | TxTooLarge | MissingAtLeastOneInputUtxo | InvalidMetadata | FeeTooSmall | ValueNotConserved | NetworkMismatch | OutputTooSmall | TooManyAssetsInOutput | AddressAttributesTooLarge | TriesToForgeAda | DelegateNotRegistered | UnknownOrIncompleteWithdrawals | StakePoolNotRegistered | WrongRetirementEpoch | WrongPoolCertificate | StakeKeyAlreadyRegistered | PoolCostTooSmall | PoolMetadataHashTooBig | StakeKeyNotRegistered | RewardAccountNotExisting | RewardAccountNotEmpty | WrongCertificateType | UnknownGenesisKey | AlreadyDelegating | InsufficientFundsForMir | TooLateForMir | MirTransferNotCurrentlyAllowed | MirNegativeTransferNotCurrentlyAllowed | MirProducesNegativeUpdate | DuplicateGenesisVrf | NonGenesisVoters | UpdateWrongEpoch | ProtocolVersionCannotFollow | MissingRequiredRedeemers | MissingRequiredDatums | UnspendableDatums | ExtraDataMismatch | MissingRequiredSignatures | UnspendableScriptInputs | ExtraRedeemers | MissingDatumHashesForInputs | MissingCollateralInputs | CollateralTooSmall | CollateralIsScript | CollateralHasNonAdaAssets | TooManyCollateralInputs | ExecutionUnitsTooLarge | OutsideForecast | ValidationTagMismatch | CollectErrors | ExtraScriptWitnesses)[];
export declare type RedeemerPointer = string;
export declare type Language = "plutus:v1" | "plutus:v2";
export declare type ScriptFailure = (ExtraRedeemers | MissingRequiredDatums | MissingRequiredScripts | ValidatorFailed | UnknownInputReferencedByRedeemer | NonScriptInputReferencedByRedeemer | IllFormedExecutionBudget | NoCostModelForLanguage)[];
export declare type AcquireFailureDetails = "pointTooOld" | "pointNotOnChain";

@@ -96,3 +98,4 @@ export declare type GetEraStart = "eraStart";

export declare type GetGenesisConfig = "genesisConfig";
export declare type GetRewardsProvenance = "rewardsProvenance";
export declare type GetRewardsProvenanceDeprecated = "rewardsProvenance";
export declare type GetRewardsProvenance = "rewardsProvenance'";
export declare type GetPoolsRanking = "poolsRanking";

@@ -109,2 +112,3 @@ export declare type GetPoolIds = "poolIds";

export declare type NetworkMagic = number;
export declare type OwnerStake = bigint;
export declare type BlockNoOrOrigin = BlockNo | Origin;

@@ -160,3 +164,3 @@ export interface Ogmios {

args?: {
bytes: string;
submit: string;
};

@@ -177,2 +181,25 @@ mirror?: {

};
EvaluateTx: {
type: "jsonwsp/request";
version: "1.0";
servicename: "ogmios";
methodname: "EvaluateTx";
args?: {
evaluate: string;
additionalUtxoSet?: Utxo;
};
mirror?: {
[k: string]: unknown;
};
};
EvaluateTxResponse: {
type: "jsonwsp/response";
version: "1.0";
servicename: "ogmios";
methodname: "EvaluateTx";
result: EvaluationResult | EvaluationFailure;
reflection?: {
[k: string]: unknown;
};
};
Acquire: {

@@ -328,3 +355,3 @@ type: "jsonwsp/request";

args?: {
query: GetEraStart | GetEraSummaries | GetLedgerTip | GetCurrentEpoch | GetNonMyopicMemberRewards | GetDelegationsAndRewards | GetCurrentProtocolParameters | GetProposedProtocolParameters | GetStakeDistribution | GetUtxo | GetUtxoByAddress | GetUtxoByTxIn | GetGenesisConfig | GetRewardsProvenance | GetPoolsRanking | GetPoolIds | GetPoolParameters | GetChainTip | GetBlockHeight | GetSystemStart;
query: GetEraStart | GetEraSummaries | GetLedgerTip | GetCurrentEpoch | GetNonMyopicMemberRewards | GetDelegationsAndRewards | GetCurrentProtocolParameters | GetProposedProtocolParameters | GetStakeDistribution | GetUtxo | GetUtxoByAddress | GetUtxoByTxIn | GetGenesisConfig | GetRewardsProvenanceDeprecated | GetRewardsProvenance | GetPoolsRanking | GetPoolIds | GetPoolParameters | GetChainTip | GetBlockHeight | GetSystemStart;
};

@@ -455,2 +482,12 @@ mirror?: {

};
"QueryResponse[rewardsProvenance']": {
type: "jsonwsp/response";
version: "1.0";
servicename: "ogmios";
methodname: "Query";
result: RewardsProvenance1 | EraMismatch | QueryUnavailableInCurrentEra;
reflection?: {
[k: string]: unknown;
};
};
"QueryResponse[poolIds]": {

@@ -1097,2 +1134,7 @@ type: "jsonwsp/response";

}
export interface SubmitSuccess {
SubmitSuccess: {
txId: TxId;
};
}
export interface SubmitFail {

@@ -1306,3 +1348,3 @@ SubmitFail: SubmitTxError;

missingRequiredDatums: {
provided: DigestBlake2BDatum[];
provided?: DigestBlake2BDatum[];
missing: DigestBlake2BDatum[];

@@ -1374,2 +1416,50 @@ };

}
export interface EvaluationResult {
EvaluationResult: {
[k: string]: ExUnits;
};
}
export interface EvaluationFailure {
EvaluationFailure: EvaluationFailureScriptFailures | EvaluationFailureUnknownInputs | EvaluationFailureIncompatibleEra | EvaluationFailureUncomputableSlotArithmetic | EvaluationFailureAdditionalUtxoOverlap;
}
export interface EvaluationFailureScriptFailures {
ScriptFailures: {
[k: string]: ScriptFailure;
};
}
export interface MissingRequiredScripts {
missingRequiredScripts: {
missing: RedeemerPointer[];
};
}
export interface ValidatorFailed {
validatorFailed: {
error: string;
traces: string[];
};
}
export interface UnknownInputReferencedByRedeemer {
unknownInputReferencedByRedeemer: TxIn;
}
export interface NonScriptInputReferencedByRedeemer {
nonScriptInputReferencedByRedeemer: TxIn;
}
export interface IllFormedExecutionBudget {
illFormedExecutionBudget: ExUnits | Null;
}
export interface NoCostModelForLanguage {
noCostModelForLanguage: Language;
}
export interface EvaluationFailureUnknownInputs {
UnknownInputs: TxIn[];
}
export interface EvaluationFailureIncompatibleEra {
IncompatibleEra: "Byron" | "Shelley" | "Allegra" | "Mary";
}
export interface EvaluationFailureUncomputableSlotArithmetic {
UncomputableSlotArithmetic: string;
}
export interface EvaluationFailureAdditionalUtxoOverlap {
AdditionalUtxoOverlap: TxIn[];
}
export interface AcquireSuccess {

@@ -1486,3 +1576,3 @@ AcquireSuccess: {

activeStakeShare: string;
ownerStake: bigint;
ownerStake: OwnerStake;
parameters: PoolParameters;

@@ -1495,2 +1585,21 @@ pledgeRatio: string;

}
export interface RewardsProvenance1 {
desiredNumberOfPools: number;
poolInfluence: string;
totalRewards: number;
activeStake: number;
pools: {
[k: string]: RewardInfoPool;
};
}
export interface RewardInfoPool {
stake: Lovelace;
ownerStake: OwnerStake;
approximatePerformance: number;
poolParameters: {
cost: Lovelace;
margin: Ratio;
pledge: Lovelace;
};
}
export interface PoolsRanking {

@@ -1497,0 +1606,0 @@ [k: string]: {

2

package.json
{
"name": "@cardano-ogmios/schema",
"version": "5.1.0",
"version": "5.2.0",
"description": "Generated TypeScript from the Cardano Ogmios schema",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc