useSendTransaction
Most Trustless Work endpoints return an unsigned transaction in XDR format. This endpoint is used to sign such unsigned transactions and send them to the Stellar network.
useSendTransaction
Import
import { useSendTransaction } from "@trustless-work/escrow";
// or
import { useSendTransaction } from "@trustless-work/escrow/hooks/rest";Signature
function useSendTransaction(): {
sendTransaction: (signedXdr: string) => Promise<SendTransactionResponse>;
};Field
Type
Notes