ethers.js/src.ts/transaction/index.ts
2023-02-12 21:21:11 -05:00

32 lines
815 B
TypeScript

/**
* Transactions..
*
* @_section api/transaction:Transactions [about-transactions]
*/
null;
/**
* A single [[AccessList]] entry of storage keys (slots) for an address.
*/
export type AccessListEntry = { address: string, storageKeys: Array<string> };
/**
* An ordered collection of [[AccessList]] entries.
*/
export type AccessList = Array<AccessListEntry>;
/**
* Any ethers-supported access list structure.
*/
export type AccessListish = AccessList |
Array<[ string, Array<string> ]> |
Record<string, Array<string>>;
export { accessListify } from "./accesslist.js";
export { computeAddress, recoverAddress } from "./address.js";
export { Transaction } from "./transaction.js";
export type { TransactionLike } from "./transaction.js";