tronsave-sdk
Version:
TypeScript SDK for Tronsave API to manage TRON blockchain resources
24 lines (23 loc) • 523 B
TypeScript
/**
* Resource type for energy transactions
*/
export type ResourceType = 'ENERGY' | 'BANDWIDTH';
export type Network = 'mainnet' | 'testnet';
/**
* Buy Energy Type enum
*/
export declare enum EUnitPrice {
FAST = "FAST",
MEDIUM = "MEDIUM",
SLOW = "SLOW"
}
export type UnitPriceType = keyof typeof EUnitPrice | number;
/**
* Configuration options for the SDK
*/
export interface SDKConfig {
/** API key for authentication */
apiKey?: string;
/** network for the API */
network?: Network;
}