@sega-so/sega-sdk
Version:
An SDK for building applications on top of SEGA.
13 lines (10 loc) • 335 B
TypeScript
import { PublicKey } from '@solana/web3.js';
declare function getATAAddress(owner: PublicKey, mint: PublicKey, programId?: PublicKey): {
publicKey: PublicKey;
nonce: number;
};
declare function getPdaMetadataKey(mint: PublicKey): {
publicKey: PublicKey;
nonce: number;
};
export { getATAAddress, getPdaMetadataKey };