@ecash/lib
Version:
Library for eCash transaction building
25 lines • 933 B
TypeScript
export type Amount = bigint | number;
export declare const GENESIS: Uint8Array;
export declare const MINT: Uint8Array;
export declare const SEND: Uint8Array;
export declare const BURN: Uint8Array;
/** Genesis info found in GENESIS txs of tokens */
export interface GenesisInfo {
/** token_ticker of the token */
tokenTicker?: string;
/** token_name of the token */
tokenName?: string;
/** URL of the token */
url?: string;
/** token_document_hash of the token (only on SLP) */
hash?: string;
/** mint_vault_scripthash (only on SLP V2 Mint Vault) */
mintVaultScripthash?: string;
/** Arbitray payload data of the token (only on ALP) */
data?: string;
/** auth_pubkey of the token (only on ALP) */
authPubkey?: string;
/** decimals of the token, i.e. how many decimal places the token should be displayed with. */
decimals?: number;
}
//# sourceMappingURL=common.d.ts.map