@okxweb3/coin-stellar
Version:
@okxweb3/coin-stellar is a Stellar SDK for building Web3 wallets and applications. It supports Stellar and PI blockchains, enabling private key management, address generation, transaction signing, trustline creation, and asset transfers
5 lines (4 loc) • 594 B
TypeScript
export function authorizeEntry(entry: xdr.SorobanAuthorizationEntry, signer: Keypair | SigningCallback, validUntilLedgerSeq: number, networkPassphrase?: string | undefined): Promise<xdr.SorobanAuthorizationEntry>;
export function authorizeInvocation(signer: Keypair | SigningCallback, validUntilLedgerSeq: number, invocation: xdr.SorobanAuthorizedInvocation, publicKey?: string | undefined, networkPassphrase?: string | undefined): Promise<xdr.SorobanAuthorizationEntry>;
export type SigningCallback = (preimage: xdr.HashIdPreimage) => Promise<Uint8Array>;
import { Keypair } from "./keypair";