Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cardano-ogmios/schema

Package Overview
Dependencies
Maintainers
2
Versions
53
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 4.2.1 to 5.0.0

401

dist/index.d.ts
export declare type Block = Byron | Shelley | Allegra | Mary | Alonzo;
export declare type BlockByron = StandardBlock | EpochBoundaryBlock;
export declare type Hash16 = string;
export declare type DigestBlake2BBlockHeader = string;
export declare type BlockNo = number;
export declare type GenesisVerificationKey = string;
export declare type UInt32 = number;
export declare type DigestBlake2BMerkleRoot = string;
export declare type DigestBlake2BBlockByronBodyTxPayloadWitness = string;
export declare type DigestBlake2BBlockByronBodyDlgPayload = string;
export declare type DigestBlake2BBlockByronBodyUpdatePayload = string;
export declare type ProtocolMagicId = number;
export declare type Epoch = number;
export declare type Hash64 = string;
export declare type IssuerSignature = string;
export declare type Slot = number;
export declare type TxId = string;
export declare type Address = string;
export declare type Lovelace = number;
export declare type Lovelace = bigint;
export declare type AssetQuantity = bigint;
export declare type DigestBlake2BDatum = string;
export declare type Null = null;
export declare type TxWitness = WitnessVk | RedeemWitness;
export declare type DigestBlake2BVerificationKey = string;
export declare type Signature = string;
export declare type VerificationKey = string;
export declare type NullableRatio = Ratio | Null;

@@ -19,4 +29,9 @@ export declare type Ratio = string;

export declare type UInt64 = number;
export declare type IssuerVrfVerificationKey = string;
export declare type DigestBlake2BBlockBody = string;
export declare type Certificate = StakeDelegation | StakeKeyRegistration | StakeKeyDeregistration | PoolRegistration | PoolRetirement | GenesisDelegation | MoveInstantaneousRewards;
export declare type DigestBlake2BCredential = string;
export declare type PoolId = string;
export declare type DigestBlake2BVrfVerificationKey = string;
export declare type DigestBlake2BPoolMetadata = string;
export declare type Relay = ByAddress | ByName;

@@ -27,13 +42,22 @@ export declare type RewardAccount = string;

export declare type UpdateShelley = Null | UpdateProposalShelley;
export declare type Nonce = Neutral | Hash16;
export declare type Nonce = Neutral | DigestBlake2BNonce;
export declare type Neutral = "neutral";
export declare type Signature = string;
export declare type Script = Native | Plutus;
export declare type ScriptNative = Hash16 | Any | All | NOf | ExpiresAt | StartsAt;
export declare type DigestBlake2BNonce = string;
export declare type Script = Native | Plutus | Plutus1;
export declare type ScriptNative = DigestBlake2BVerificationKey | Any | All | NOf | ExpiresAt | StartsAt;
export declare type ScriptPlutus = string;
export declare type ChainCode = string;
export declare type AddressAttributes = string;
export declare type DigestBlake2BAuxiliaryDataBody = string;
export declare type Metadatum = Int | String | Bytes | List | Map;
export declare type VrfProof = string;
export declare type VrfOutput = string;
export declare type BlockSize = number;
export declare type KesVerificationKey = string;
export declare type UpdateAlonzo = Null | UpdateProposalAlonzo;
export declare type Int64 = number;
export declare type Network = "mainnet" | "testnet";
export declare type DigestBlake2BScriptIntegrity = string;
export declare type Datum = string;
export declare type RedeemerData = string;
export declare type TipOrOrigin = Tip | Origin;

@@ -44,4 +68,3 @@ export declare type Origin = "origin";

export declare type Era = "Byron" | "Shelley" | "Allegra" | "Mary" | "Alonzo";
export declare type MissingAtLeastOneInputUtxo = "missingAtLeastOneInputUtxo";
export declare type InvalidMetadata = "invalidMetadata";
export declare type DigestBlake2BScript = string;
export declare type InvalidEntity = {

@@ -57,21 +80,14 @@ type: "address";

};
export declare type TriesToForgeAda = "triesToForgeAda";
export declare type UInt8 = number;
export declare type RewardAccountNotExisting = "rewardAccountNotExisting";
export declare type WrongCertificateType = "wrongCertificateType";
export declare type MirTransferNotCurrentlyAllowed = "mirTransferNotCurrentlyAllowed";
export declare type MirNegativeTransferNotCurrentlyAllowed = "mirNegativeTransferNotCurrentlyAllowed";
export declare type MirProducesNegativeUpdate = "mirProducesNegativeUpdate";
export declare type VotingPeriod = "voteForThisEpoch" | "voteForNextEpoch";
export declare type ScriptPurpose = Spend | Mint | Certificate1 | Withdrawal;
export declare type MissingCollateralInputs = "missingCollateralInputs";
export declare type Utxo = [TxIn, TxOut][];
export declare type ValidationTagMismatch = "validationTagMismatch";
export declare type SubmitTxError = (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)[];
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)[];
export declare type AcquireFailureDetails = "pointTooOld" | "pointNotOnChain";
export declare type GetEraStart = "eraStart";
export declare type GetEraSummaries = "eraSummaries";
export declare type GetLedgerTip = "ledgerTip";
export declare type GetCurrentEpoch = "currentEpoch";
export declare type Lovelaces = Lovelace[];
export declare type Credentials = Hash16[];
export declare type Credentials = DigestBlake2BCredential[];
export declare type GetCurrentProtocolParameters = "currentProtocolParameters";

@@ -85,6 +101,12 @@ export declare type GetProposedProtocolParameters = "proposedProtocolParameters";

export declare type GetPoolIds = "poolIds";
export declare type RelativeTime = string;
export declare type GetChainTip = "chainTip";
export declare type GetBlockHeight = "blockHeight";
export declare type GetSystemStart = "systemStart";
export declare type RelativeTime = number;
export declare type QueryUnavailableInCurrentEra = "QueryUnavailableInCurrentEra";
export declare type SlotLength = number;
export declare type SafeZone = number;
export declare type UtcTime = string;
export declare type NetworkMagic = number;
export declare type BlockNoOrOrigin = BlockNo | Origin;
export interface Ogmios {

@@ -203,3 +225,3 @@ RequestNext: {

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

@@ -220,2 +242,12 @@ mirror?: {

};
"QueryResponse[eraSummaries]": {
type: "jsonwsp/response";
version: "1.0";
servicename: "ogmios";
methodname: "Query";
result: QueryUnavailableInCurrentEra | EraSummary[];
reflection?: {
[k: string]: unknown;
};
};
"QueryResponse[ledgerTip]": {

@@ -353,2 +385,32 @@ type: "jsonwsp/response";

};
"QueryResponse[blockHeight]": {
type: "jsonwsp/response";
version: "1.0";
servicename: "ogmios";
methodname: "Query";
result: BlockNoOrOrigin | QueryUnavailableInCurrentEra;
reflection?: {
[k: string]: unknown;
};
};
"QueryResponse[chainTip]": {
type: "jsonwsp/response";
version: "1.0";
servicename: "ogmios";
methodname: "Query";
result: PointOrOrigin | QueryUnavailableInCurrentEra;
reflection?: {
[k: string]: unknown;
};
};
"QueryResponse[systemStart]": {
type: "jsonwsp/response";
version: "1.0";
servicename: "ogmios";
methodname: "Query";
result: UtcTime | QueryUnavailableInCurrentEra;
reflection?: {
[k: string]: unknown;
};
};
Fault: {

@@ -375,7 +437,7 @@ type: "jsonwsp/fault";

export interface StandardBlock {
hash: Hash16;
hash: DigestBlake2BBlockHeader;
header: {
blockHeight: BlockNo;
genesisKey: Hash16;
prevHash: Hash16;
genesisKey: GenesisVerificationKey;
prevHash: DigestBlake2BBlockHeader;
proof: BlockProof;

@@ -390,3 +452,3 @@ protocolMagicId: ProtocolMagicId;

txPayload: {
id: Hash16;
id: TxId;
body: Tx;

@@ -405,7 +467,7 @@ witness: TxWitness[];

number: UInt32;
root: Hash16;
witnessesHash: Hash16;
root: DigestBlake2BMerkleRoot;
witnessesHash: DigestBlake2BBlockByronBodyTxPayloadWitness;
};
delegation: Hash16;
update: Hash16;
delegation: DigestBlake2BBlockByronBodyDlgPayload;
update: DigestBlake2BBlockByronBodyUpdatePayload;
}

@@ -419,9 +481,9 @@ export interface ProtocolVersion {

dlgCertificate: DlgCertificate;
signature: Hash64;
signature: IssuerSignature;
}
export interface DlgCertificate {
epoch: Epoch;
issuerVk: Hash16;
delegateVk: Hash16;
signature: Hash64;
issuerVk: GenesisVerificationKey;
delegateVk: GenesisVerificationKey;
signature: IssuerSignature;
}

@@ -437,3 +499,3 @@ export interface SoftwareVersion {

export interface TxIn {
txId: Hash16;
txId: TxId;
index: number;

@@ -444,3 +506,3 @@ }

value: Value;
datum?: Hash16 | Null;
datum?: DigestBlake2BDatum | Null;
}

@@ -455,4 +517,4 @@ export interface Value {

witnessVk: {
key: Hash16;
signature: Hash64;
key: DigestBlake2BVerificationKey;
signature: Signature;
};

@@ -462,4 +524,4 @@ }

redeemWitness: {
key: Hash64;
signature: Hash64;
key: VerificationKey;
signature: Signature;
};

@@ -476,4 +538,4 @@ }

};
issuer: Hash64;
signature: Hash64;
issuer: IssuerVrfVerificationKey;
signature: IssuerSignature;
}

@@ -506,12 +568,12 @@ export interface ProtocolParametersByron {

export interface Vote {
voterVk: Hash64;
proposalId: Hash16;
signature: Hash64;
voterVk: VerificationKey;
proposalId: DigestBlake2BVerificationKey;
signature: Signature;
}
export interface EpochBoundaryBlock {
hash: Hash16;
hash: DigestBlake2BBlockHeader;
header: {
blockHeight: BlockNo;
epoch: Epoch;
prevHash: Hash16;
prevHash: DigestBlake2BBlockHeader;
};

@@ -524,20 +586,20 @@ }

body?: BlockBodyShelley[];
headerHash?: Hash16;
headerHash?: DigestBlake2BBlockHeader;
header?: {
blockHeight: BlockNo;
slot: Slot;
prevHash: Hash16;
issuerVk: Hash16;
issuerVrf: Hash64;
nonce?: NonceProof;
leaderValue: LeaderValue;
prevHash: DigestBlake2BBlockHeader;
issuerVk: VerificationKey;
issuerVrf: IssuerVrfVerificationKey;
nonce?: CertifiedVrf;
leaderValue: CertifiedVrf;
blockSize: BlockSize;
blockHash: Hash16;
blockHash: DigestBlake2BBlockBody;
opCert: OpCert;
protocolVersion: ProtocolVersion;
signature: Hash64;
signature: IssuerSignature;
};
}
export interface BlockBodyShelley {
id: Hash16;
id: DigestBlake2BBlockBody;
body: {

@@ -565,3 +627,3 @@ inputs: TxIn[];

stakeDelegation: {
delegator: Hash16;
delegator: DigestBlake2BCredential;
delegatee: PoolId;

@@ -571,6 +633,6 @@ };

export interface StakeKeyRegistration {
stakeKeyRegistration: Hash16;
stakeKeyRegistration: DigestBlake2BCredential;
}
export interface StakeKeyDeregistration {
stakeKeyDeregistration: Hash16;
stakeKeyDeregistration: DigestBlake2BCredential;
}

@@ -581,7 +643,7 @@ export interface PoolRegistration {

export interface PoolParameters {
owners: Hash16[];
owners: DigestBlake2BVerificationKey[];
cost: Lovelace;
margin: Ratio;
pledge: Lovelace;
vrf: Hash16;
vrf: DigestBlake2BVrfVerificationKey;
metadata: Null | PoolMetadata;

@@ -593,3 +655,3 @@ id: PoolId;

export interface PoolMetadata {
hash: Hash16;
hash: DigestBlake2BPoolMetadata;
url: string;

@@ -614,5 +676,5 @@ }

genesisDelegation: {
delegateKeyHash: Hash16;
verificationKeyHash: Hash16;
vrfVerificationKeyHash: Hash16;
delegateKeyHash: DigestBlake2BVerificationKey;
verificationKeyHash: DigestBlake2BVerificationKey;
vrfVerificationKeyHash: DigestBlake2BVrfVerificationKey;
};

@@ -677,12 +739,15 @@ }

export interface Plutus {
plutus: ScriptPlutus;
"plutus:v1": ScriptPlutus;
}
export interface Plutus1 {
"plutus:v2": ScriptPlutus;
}
export interface BootstrapWitness {
signature?: Hash64;
chainCode?: Hash16 | Null;
addressAttributes?: Hash64 | Null;
key?: Hash16;
signature?: Signature;
chainCode?: ChainCode | Null;
addressAttributes?: AddressAttributes | Null;
key?: VerificationKey;
}
export interface AuxiliaryData {
hash: Hash16;
hash: DigestBlake2BAuxiliaryDataBody;
body: AuxiliaryDataBody;

@@ -716,15 +781,11 @@ }

}
export interface NonceProof {
proof?: Hash64;
output?: Hash64;
export interface CertifiedVrf {
proof?: VrfProof;
output?: VrfOutput;
}
export interface LeaderValue {
proof?: Hash64;
output?: Hash64;
}
export interface OpCert {
count?: UInt64;
sigma?: Hash64;
sigma?: Signature;
kesPeriod?: UInt64;
hotVk?: Hash64;
hotVk?: KesVerificationKey;
}

@@ -736,20 +797,20 @@ export interface Allegra {

body?: BlockBodyAllegra[];
headerHash?: Hash16;
headerHash?: DigestBlake2BBlockHeader;
header?: {
blockHeight: BlockNo;
slot: Slot;
prevHash: Hash16;
issuerVk: Hash16;
issuerVrf: Hash64;
nonce?: NonceProof;
leaderValue: LeaderValue;
prevHash: DigestBlake2BBlockHeader;
issuerVk: VerificationKey;
issuerVrf: IssuerVrfVerificationKey;
nonce?: CertifiedVrf;
leaderValue: CertifiedVrf;
blockSize: BlockSize;
blockHash: Hash16;
blockHash: DigestBlake2BBlockBody;
opCert: OpCert;
protocolVersion: ProtocolVersion;
signature: Hash64;
signature: IssuerSignature;
};
}
export interface BlockBodyAllegra {
id: Hash16;
id: DigestBlake2BBlockBody;
body: {

@@ -784,20 +845,20 @@ inputs: TxIn[];

body?: BlockBodyMary[];
headerHash?: Hash16;
headerHash?: DigestBlake2BBlockHeader;
header?: {
blockHeight: BlockNo;
slot: Slot;
prevHash: Hash16;
issuerVk: Hash16;
issuerVrf: Hash64;
nonce?: NonceProof;
leaderValue: LeaderValue;
prevHash: DigestBlake2BBlockHeader;
issuerVk: VerificationKey;
issuerVrf: IssuerVrfVerificationKey;
nonce?: CertifiedVrf;
leaderValue: CertifiedVrf;
blockSize: BlockSize;
blockHash: Hash16;
blockHash: DigestBlake2BBlockBody;
opCert: OpCert;
protocolVersion: ProtocolVersion;
signature: Hash64;
signature: IssuerSignature;
};
}
export interface BlockBodyMary {
id: Hash16;
id: DigestBlake2BBlockBody;
body: {

@@ -829,20 +890,20 @@ inputs: TxIn[];

body?: BlockBodyAlonzo[];
headerHash?: Hash16;
headerHash?: DigestBlake2BBlockHeader;
header?: {
blockHeight: BlockNo;
slot: Slot;
prevHash: Hash16;
issuerVk: Hash16;
issuerVrf: Hash64;
nonce?: NonceProof;
leaderValue: LeaderValue;
prevHash: DigestBlake2BBlockHeader;
issuerVk: VerificationKey;
issuerVrf: IssuerVrfVerificationKey;
nonce?: CertifiedVrf;
leaderValue: CertifiedVrf;
blockSize: BlockSize;
blockHash: Hash16;
blockHash: DigestBlake2BBlockBody;
opCert: OpCert;
protocolVersion: ProtocolVersion;
signature: Hash64;
signature: IssuerSignature;
};
}
export interface BlockBodyAlonzo {
id: Hash16;
id: DigestBlake2BBlockBody;
body: {

@@ -859,4 +920,4 @@ inputs: TxIn[];

network: Network | Null;
scriptIntegrityHash: Hash16 | Null;
requiredExtraSignatures: Hash16[];
scriptIntegrityHash: DigestBlake2BScriptIntegrity | Null;
requiredExtraSignatures: DigestBlake2BVerificationKey[];
};

@@ -872,3 +933,3 @@ witness: {

datums: {
[k: string]: Hash64;
[k: string]: Datum;
};

@@ -928,3 +989,3 @@ redeemers: {

export interface Redeemer {
redeemer: Hash64;
redeemer: RedeemerData;
executionUnits: ExUnits;

@@ -934,3 +995,3 @@ }

slot: Slot;
hash: Hash16;
hash: DigestBlake2BBlockHeader;
blockNo: BlockNo;

@@ -946,3 +1007,3 @@ }

slot: Slot;
hash: Hash16;
hash: DigestBlake2BBlockHeader;
}

@@ -961,3 +1022,3 @@ export interface IntersectionFound {

export interface SubmitFail {
SubmitFail: EraMismatch | SubmitTxError;
SubmitFail: SubmitTxError;
}

@@ -971,26 +1032,26 @@ export interface EraMismatch {

export interface InvalidWitnesses {
invalidWitnesses: Hash16[];
invalidWitnesses: VerificationKey[];
}
export interface MissingVkWitnesses {
missingVkWitnesses: Hash16[];
missingVkWitnesses: DigestBlake2BVerificationKey[];
}
export interface MissingScriptWitnesses {
missingScriptWitnesses: Hash16[];
missingScriptWitnesses: DigestBlake2BScript[];
}
export interface ScriptWitnessNotValidating {
scriptWitnessNotValidating: Hash16[];
scriptWitnessNotValidating: DigestBlake2BScript[];
}
export interface InsufficientGenesisSignatures {
insufficientGenesisSignatures: Hash16[];
insufficientGenesisSignatures: DigestBlake2BVerificationKey[];
}
export interface MissingTxMetadata {
missingTxMetadata: Hash16;
missingTxMetadata: DigestBlake2BAuxiliaryDataBody;
}
export interface MissingTxMetadataHash {
missingTxMetadataHash: Hash16;
missingTxMetadataHash: DigestBlake2BAuxiliaryDataBody;
}
export interface TxMetadataHashMismatch {
txMetadataHashMismatch: {
includedHash: Hash16;
expectedHash: Hash16;
includedHash: DigestBlake2BAuxiliaryDataBody;
expectedHash: DigestBlake2BAuxiliaryDataBody;
};

@@ -1019,2 +1080,8 @@ }

}
export interface MissingAtLeastOneInputUtxo {
missingAtLeastOneInputUtxo: null;
}
export interface InvalidMetadata {
invalidMetadata: null;
}
export interface FeeTooSmall {

@@ -1047,2 +1114,5 @@ feeTooSmall: {

}
export interface TriesToForgeAda {
triesToForgeAda: null;
}
export interface DelegateNotRegistered {

@@ -1068,3 +1138,3 @@ delegateNotRegistered: PoolId;

export interface StakeKeyAlreadyRegistered {
stakeKeyAlreadyRegistered: Hash16;
stakeKeyAlreadyRegistered: DigestBlake2BVerificationKey;
}

@@ -1083,4 +1153,7 @@ export interface PoolCostTooSmall {

export interface StakeKeyNotRegistered {
stakeKeyNotRegistered: Hash16;
stakeKeyNotRegistered: DigestBlake2BVerificationKey;
}
export interface RewardAccountNotExisting {
rewardAccountNotExisting: null;
}
export interface RewardAccountNotEmpty {

@@ -1091,7 +1164,10 @@ rewardAccountNotEmpty: {

}
export interface WrongCertificateType {
wrongCertificateType: null;
}
export interface UnknownGenesisKey {
unknownGenesisKey: Hash16;
unknownGenesisKey: DigestBlake2BVerificationKey;
}
export interface AlreadyDelegating {
alreadyDelegating: Hash16;
alreadyDelegating: DigestBlake2BVerificationKey;
}

@@ -1111,9 +1187,18 @@ export interface InsufficientFundsForMir {

}
export interface MirTransferNotCurrentlyAllowed {
mirTransferNotCurrentlyAllowed: null;
}
export interface MirNegativeTransferNotCurrentlyAllowed {
mirNegativeTransferNotCurrentlyAllowed: null;
}
export interface MirProducesNegativeUpdate {
mirProducesNegativeUpdate: null;
}
export interface DuplicateGenesisVrf {
duplicateGenesisVrf: Hash16;
duplicateGenesisVrf: DigestBlake2BVrfVerificationKey;
}
export interface NonGenesisVoters {
nonGenesisVoters: {
currentlyVoting: Hash16[];
shouldBeVoting: Hash16[];
currentlyVoting: DigestBlake2BVerificationKey[];
shouldBeVoting: DigestBlake2BVerificationKey[];
};

@@ -1142,3 +1227,3 @@ }

export interface Mint {
mint: Hash16;
mint: DigestBlake2BScript;
}

@@ -1153,4 +1238,4 @@ export interface Certificate1 {

missingRequiredDatums: {
provided: Hash16[];
missing: Hash16[];
provided: DigestBlake2BDatum[];
missing: DigestBlake2BDatum[];
};

@@ -1160,4 +1245,4 @@ }

unspendableDatums: {
nonSpendable: Hash16[];
acceptable: Hash16[];
nonSpendable: DigestBlake2BDatum[];
acceptable: DigestBlake2BDatum[];
};

@@ -1167,8 +1252,8 @@ }

extraDataMismatch: {
provided: Hash16 | Null;
inferredFromParameters: Hash16 | Null;
provided: DigestBlake2BScriptIntegrity | Null;
inferredFromParameters: DigestBlake2BScriptIntegrity | Null;
};
}
export interface MissingRequiredSignatures {
missingRequiredSignatures: Hash16[];
missingRequiredSignatures: DigestBlake2BVerificationKey[];
}

@@ -1184,2 +1269,5 @@ export interface UnspendableScriptInputs {

}
export interface MissingCollateralInputs {
missingCollateralInputs: null;
}
export interface CollateralTooSmall {

@@ -1212,2 +1300,5 @@ collateralTooSmall: {

}
export interface ValidationTagMismatch {
validationTagMismatch: null;
}
export interface CollectErrors {

@@ -1230,3 +1321,3 @@ collectErrors: unknown[];

export interface GetDelegationsAndRewards {
delegationsAndRewards: Hash16[];
delegationsAndRewards: DigestBlake2BCredential[];
}

@@ -1247,2 +1338,12 @@ export interface GetUtxoByAddress {

}
export interface EraSummary {
start: Bound;
end: Bound | null;
parameters: EraParameters;
}
export interface EraParameters {
epochLength: Epoch;
slotLength: SlotLength;
safeZone: SafeZone | null;
}
export interface NonMyopicMemberRewards {

@@ -1269,3 +1370,3 @@ [k: string]: {

stake: Ratio;
vrf: Hash16;
vrf: DigestBlake2BVrfVerificationKey;
};

@@ -1282,3 +1383,3 @@ }

maxKesEvolutions: UInt64;
slotLength: Int64;
slotLength: SlotLength;
updateQuorum: UInt64;

@@ -1297,8 +1398,8 @@ maxLovelaceSupply: UInt64;

totalExpectedBlocks: number;
incentive: number;
rewardsGap: number;
availableRewards: number;
totalRewards: number;
treasuryTax: number;
activeStake: number;
incentive: bigint;
rewardsGap: bigint;
availableRewards: bigint;
totalRewards: bigint;
treasuryTax: bigint;
activeStake: bigint;
pools: {

@@ -1312,9 +1413,9 @@ [k: string]: IndividualPoolRewardsProvenance;

activeStakeShare: string;
ownerStake: number;
ownerStake: bigint;
parameters: PoolParameters;
pledgeRatio: string;
maxRewards: number;
maxRewards: bigint;
apparentPerformance: string;
totalRewards: number;
leaderRewards: number;
totalRewards: bigint;
leaderRewards: bigint;
}

@@ -1321,0 +1422,0 @@ export interface PoolsRanking {

{
"name": "@cardano-ogmios/schema",
"version": "4.2.1",
"version": "5.0.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