@powrldgr/raydium-sdk-v2
Version:
An SDK for building applications on top of Raydium.
16 lines (13 loc) • 456 B
TypeScript
import { PublicKey, Signer, Keypair } from '@solana/web3.js';
declare type _Owner = Keypair | PublicKey;
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 { Owner };