@tatumio/tatum-v1
Version:
Tatum API client allows browsers and Node.js clients to interact with Tatum API.
17 lines (16 loc) • 813 B
TypeScript
import { EgldTransferOffchain } from '../model';
/**
* Send EGLD transaction from Tatum Ledger account to the blockchain. This method broadcasts signed transaction to the blockchain.
* This operation is irreversible.
* @param testnet mainnet or testnet version
* @param body content of the transaction to broadcast
* @param provider url of the EGLD Server to connect to. If not set, default public server will be used.
* @returns transaction id of the transaction in the blockchain or id of the withdrawal, if it was not cancelled automatically
*/
export declare const sendEgldOffchainTransaction: (testnet: boolean, body: EgldTransferOffchain, provider?: string | undefined) => Promise<import("../model").SignatureId | {
id: string;
txId: string;
completed: boolean;
} | {
id: string;
}>;