gill
Version:
a modern javascript/typescript client library for interacting with the Solana blockchain
31 lines • 1.14 kB
TypeScript
/**
* This code was AUTOGENERATED using the codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun codama to update it.
*
* @see https://github.com/codama-idl/codama
*/
import { type Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
import { type Collection, type CollectionArgs, type Creator, type CreatorArgs, type Uses, type UsesArgs } from '.';
export type DataV2 = {
name: string;
symbol: string;
uri: string;
sellerFeeBasisPoints: number;
creators: Option<Array<Creator>>;
collection: Option<Collection>;
uses: Option<Uses>;
};
export type DataV2Args = {
name: string;
symbol: string;
uri: string;
sellerFeeBasisPoints: number;
creators: OptionOrNullable<Array<CreatorArgs>>;
collection: OptionOrNullable<CollectionArgs>;
uses: OptionOrNullable<UsesArgs>;
};
export declare function getDataV2Encoder(): Encoder<DataV2Args>;
export declare function getDataV2Decoder(): Decoder<DataV2>;
export declare function getDataV2Codec(): Codec<DataV2Args, DataV2>;
//# sourceMappingURL=dataV2.d.ts.map