function parsePaymasterAndData(
paymasterAndData,
): Pick<UserOperationRequest<"0.7.0">, "paymaster" | "paymasterData">;Defined in: aa-sdk/core/src/utils/userop.ts:199
Utility method for parsing the paymaster address and paymasterData from the paymasterAndData hex string
| Parameter | Type | Description |
|---|---|---|
|
| the paymaster and data hex string to parse. The hex string refers to the paymasterAndData field of entrypoint v0.6 user operation request |
Pick<UserOperationRequest<"0.7.0">, "paymaster" | "paymasterData">
the parsed paymaster and paymasterData fields of entrypoint v0.7 user operation request paymaster and paymasterData field