@blockfrost/blockfrost-cardano-cli
Version:
Drop-in(ish) replacement for cardano-cli powered by Blockfrost
80 lines (79 loc) • 2.74 kB
TypeScript
import { BaseCommand } from '../../helpers/base-command';
export declare class PoolParams extends BaseCommand {
static flags: {
'stake-pool-id': import("@oclif/core/lib/interfaces").OptionFlag<string>;
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
mainnet: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
testnet: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
'testnet-magic': import("@oclif/core/lib/interfaces").OptionFlag<number | undefined>;
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
'out-file': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
};
doWork: () => Promise<{
poolParams: {
publicKey: string;
cost: string | bigint | null;
metadata: {
hash: string | null;
url: string | null;
};
vrf: string;
owners: string[];
pledge: string | bigint | null;
rewardAccount: {
network: string;
credential: {
'key hash': string;
};
};
margin: number;
relays: ({
'single host name': {
port: number;
dnsName: string;
};
'single host address'?: undefined;
} | {
'single host address': {
IPv6: string | null;
port: number;
IPv4: string | null;
};
'single host name'?: undefined;
})[];
};
futurePoolParams: {
publicKey: string;
cost: string;
metadata: {
hash: string | null | undefined;
url: string | null | undefined;
};
vrf: string;
owners: string[];
pledge: string | bigint | null;
rewardAccount: {
network: string;
credential: {
'key hash': string;
};
};
margin: number;
relays: ({
'single host name': {
port: number;
dnsName: string;
};
'single host address'?: undefined;
} | {
'single host address': {
IPv6: string | null;
port: number;
IPv4: string | null;
};
'single host name'?: undefined;
})[];
} | null;
retiring: number | null;
}>;
}