@vaulverin/orca-sdk
Version:
Typescript SDK for the Orca protocol.
14 lines (13 loc) • 454 B
TypeScript
import { Keypair, PublicKey, Signer } from "@solana/web3.js";
declare type _Owner = Keypair | PublicKey;
export declare class Owner {
private readonly _owner;
constructor(owner: _Owner);
get publicKey(): PublicKey;
get signer(): Signer | undefined;
get isKeyPair(): boolean;
get isPublicKey(): boolean;
static isKeyPair(owner: _Owner): owner is Keypair;
static isPublicKey(owner: _Owner): owner is PublicKey;
}
export {};