@blockfrost/blockfrost-cardano-cli
Version:
Drop-in(ish) replacement for cardano-cli powered by Blockfrost
127 lines (126 loc) • 2.73 kB
TypeScript
export declare const bech32ToHex: {
description: string;
stripPrefix: boolean;
data: string;
result: string;
}[];
export declare const stripQuotes: ({
description: string;
data: string;
result: string;
} | {
description: string;
data: {
a: number;
};
result: {
a: number;
};
})[];
export declare const getNetworkFromRewardAccount: {
description: string;
data: string;
result: string;
}[];
export declare const stringify: {
description: string;
data: {
z: number[];
a: string;
b: number;
c: {
bc: bigint;
ab: number;
};
};
result: string;
}[];
export declare const transformPoolRelays: ({
description: string;
data: {
ipv4: string;
ipv6: null;
dns: null;
dns_srv: null;
port: number;
}[];
result: {
'single host address': {
IPv4: string;
IPv6: null;
port: number;
};
}[];
} | {
description: string;
data: {
ipv4: null;
ipv6: null;
dns: string;
dns_srv: null;
port: number;
}[];
result: {
'single host name': {
dnsName: string;
port: number;
};
}[];
})[];
export declare const transformPoolUpdateCert: {
description: string;
data: {
poolHex: string;
cert: {
cert_index: number;
pool_id: string;
vrf_key: string;
pledge: string;
margin_cost: number;
fixed_cost: string;
reward_account: string;
owners: string[];
metadata: {
url: string;
hash: string;
ticker: string;
name: string;
description: string;
homepage: string;
};
relays: {
ipv4: string;
ipv6: null;
dns: null;
dns_srv: null;
port: number;
}[];
active_epoch: number;
};
};
result: {
cost: string;
margin: number;
metadata: {
hash: string;
url: string;
};
owners: string[];
pledge: bigint;
publicKey: string;
relays: {
'single host address': {
IPv4: string;
IPv6: null;
port: number;
};
}[];
rewardAccount: {
credential: {
'key hash': string;
};
network: string;
};
vrf: string;
};
}[];