@gear-js/api
Version:
A JavaScript library that provides functionality to connect GEAR Component APIs.
18 lines (17 loc) • 549 B
TypeScript
import type { Struct, u64, u128, Vec } from '@polkadot/types';
import type { H256, Perquintill } from '@polkadot/types/interfaces';
import type { AnyNumber } from '@polkadot/types/types';
export type Value = AnyNumber | u128;
export type GasLimit = AnyNumber | u64;
export interface InflationInfo extends Struct {
inflation: Perquintill;
roi: Perquintill;
}
export interface Proof extends Struct {
root: H256;
proof: Vec<H256>;
number_of_leaves: u64;
leaf_index: u64;
leaf: H256;
}
export type HexString = `0x${string}`;