@flarenetwork/flarejs
Version:
Flare Platform JS Library
38 lines (30 loc) • 638 B
text/typescript
export interface BuildGenesisParams {
genesisData: object;
}
export interface BuildGenesisResponse {
bytes: string;
encoding: string;
}
export interface GetAllBalancesParams {
address: string;
}
export interface GetAllBalancesResponse {
balances: { asset: string; balance: number }[];
}
export interface GetBalanceParams {
address: string;
assetID: string;
}
export interface GetBalanceResponse {
balance: number;
}
export interface GetAddressTxsParams {
address: string;
cursor?: bigint;
assetID: string;
pageSize?: bigint;
}
export interface GetAddressTxsResponse {
txIDs: string[];
cursor: bigint;
}