@xcapit/shelter-sdk
Version:
SDK for Shelter smart contracts on Stellar
14 lines (13 loc) • 628 B
TypeScript
import { FeeBumpTransaction, rpc, Transaction, TransactionBuilder } from "shelter-sdk";
import type { FakeServer } from "../fixtures/fixtures";
import type { Api } from "@stellar/stellar-sdk/rpc";
export declare class Rpc {
private readonly _server;
private readonly _rpc;
private _cachedNetwork;
constructor(_server: any, _rpc?: any);
url(): string;
server(): rpc.Server | FakeServer;
assembleTransaction(raw: Transaction | FeeBumpTransaction | any, simulation: Api.SimulateTransactionResponse | Api.RawSimulateTransactionResponse | any): TransactionBuilder | any;
network(): Promise<string>;
}