UNPKG

@metamask/eth-ledger-bridge-keyring

Version:
9 lines 496 B
/** * Returns the 4-byte selector from raw serialized transaction hex or undefined if not present. * Supports legacy RLP and EIP-2718 typed transactions (via `@ethereumjs/tx`). * * @param rawTxHex - Raw serialized transaction hex (with or without `0x` prefix). * @returns The selector (`0x` + 8 hex digits, lowercased) or undefined if parsing fails or no calldata. */ export declare function getTransactionSelector(rawTxHex: string): string | undefined; //# sourceMappingURL=utils.d.mts.map