ethers.js/lib.esm/transaction/index.d.ts

25 lines
839 B
TypeScript
Raw Normal View History

2022-11-30 23:44:23 +03:00
/**
2023-06-02 00:52:58 +03:00
* Each state-changing operation on Ethereum requires a transaction.
2022-11-30 23:44:23 +03:00
*
2023-02-13 06:14:26 +03:00
* @_section api/transaction:Transactions [about-transactions]
2022-11-30 23:44:23 +03:00
*/
/**
2022-12-03 05:27:06 +03:00
* A single [[AccessList]] entry of storage keys (slots) for an address.
2022-11-30 23:44:23 +03:00
*/
2023-02-02 12:05:47 +03:00
export type AccessListEntry = {
2022-09-05 23:57:11 +03:00
address: string;
storageKeys: Array<string>;
};
2022-12-03 05:27:06 +03:00
/**
* An ordered collection of [[AccessList]] entries.
*/
2023-02-02 12:05:47 +03:00
export type AccessList = Array<AccessListEntry>;
2022-12-03 05:27:06 +03:00
/**
* Any ethers-supported access list structure.
*/
2023-02-02 12:05:47 +03:00
export type AccessListish = AccessList | Array<[string, Array<string>]> | Record<string, Array<string>>;
2022-09-05 23:57:11 +03:00
export { accessListify } from "./accesslist.js";
export { computeAddress, recoverAddress } from "./address.js";
export { Transaction } from "./transaction.js";
2022-12-03 05:27:06 +03:00
export type { TransactionLike } from "./transaction.js";
2022-09-05 23:57:11 +03:00
//# sourceMappingURL=index.d.ts.map