PHP WebShell
Текущая директория: /opt/BitGoJS/modules/blockapis/dist/src/impl
Просмотр файла: BlockstreamApi.d.ts
import { bitgo } from '@bitgo/utxo-lib';
import { AddressApi, AddressInfo } from '../AddressApi';
import { OutputSpend, TransactionIO, UtxoApi } from '../UtxoApi';
import { HttpClient } from '../BaseHttpClient';
import { BlockApi, TransactionStatus } from '../TransactionApi';
type Unspent = bitgo.Unspent;
export declare class BlockstreamApi implements AddressApi, BlockApi, UtxoApi {
client: HttpClient;
static forCoin(coinName: string, params?: {
httpClient?: HttpClient;
}): BlockstreamApi;
constructor(client: HttpClient);
getBlockIdAtHeight(height: number): Promise<string>;
getTransactionIds(hash: string): Promise<string[]>;
getAddressInfo(address: string): Promise<AddressInfo>;
getUnspentsForAddresses(addrs: string[]): Promise<Unspent[]>;
getTransactionHex(txid: string): Promise<string>;
getTransactionStatus(txid: string): Promise<TransactionStatus>;
getTransactionInputs(txid: string): Promise<Unspent[]>;
getTransactionIO(txid: string): Promise<TransactionIO>;
getTransactionSpends(txid: string): Promise<OutputSpend[]>;
}
export {};
//# sourceMappingURL=BlockstreamApi.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!