@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
42 lines • 879 B
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;
}
export interface GetTxFeeResponse {
txFee: string;
createAssetTxFee: string;
}
export interface TxFee {
txFee: bigint;
createAssetTxFee: bigint;
}
//# sourceMappingURL=models.d.ts.map