UNPKG

@aeternity/aepp-sdk

Version:

SDK for the æternity blockchain

11 lines (10 loc) 396 B
import { Tag } from '../constants.js'; import type { unpackTx as unpackTxType, buildTx as buildTxType } from '../index.js'; export default function genTransactionField<T extends Tag = Tag>(tag?: T): { serialize: (value: any, options: { buildTx: typeof buildTxType; }) => Buffer; deserialize: (value: Buffer, options: { unpackTx: typeof unpackTxType; }) => any; };