@xcapit/shelter-sdk
Version:
SDK for Shelter smart contracts on Stellar
30 lines (29 loc) • 782 B
TypeScript
import { xdr } from "@stellar/stellar-sdk";
export declare const contractAddressTransactionReponse: {
returnValue: {
address: () => xdr.ScAddress;
};
};
export declare class FakeServer {
private readonly _pollTransactionReponse;
serverURL: string;
constructor(_pollTransactionReponse?: any);
getNetwork(): Promise<{
passphrase: string;
}>;
sendTransaction(tx: any): {
hash: string;
};
pollTransaction(hash: string): any;
getLatestLedger(): Promise<any>;
simulateTransaction(): Promise<{
transactionData: {};
minResourceFee: string;
result: {};
stateChanges: never[];
id: string;
latestLedger: number;
events: never[];
_parsed: boolean;
}>;
}