@xcapit/shelter-sdk
Version:
SDK for Shelter smart contracts on Stellar
16 lines (15 loc) • 538 B
TypeScript
import type { Keypair } from "shelter-sdk";
import { rpc } from "@stellar/stellar-sdk";
import type { Rpc } from "../rpc/rpc";
export declare class Transaction {
private readonly _rawTx;
private readonly _signer;
private readonly _rpc;
private readonly _errorMsg;
private readonly _simulate;
constructor(_rawTx: any, _signer: Keypair, _rpc: Rpc, _errorMsg?: string, _simulate?: boolean);
result(): Promise<rpc.Api.GetTransactionResponse>;
private _txBuilt;
private _simulatedTx;
private _txData;
}