@tatumio/tatum-v1
Version:
Tatum API client allows browsers and Node.js clients to interact with Tatum API.
17 lines (16 loc) • 820 B
TypeScript
import { TransferEthOffchain } from '../model';
/**
* Send Polygon 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 Polygon 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 sendPolygonOffchainTransaction: (testnet: boolean, body: TransferEthOffchain, provider?: string | undefined) => Promise<import("../model").SignatureId | {
id: string;
txId: string;
completed: boolean;
} | {
id: string;
}>;