User operations
Get User Operation Typed Data
Get the EIP-712 typed data of a user operation by its hash, so a hardware wallet can sign it
GET
x-api-keyheader
x-api-key<token>userOperationHash*stringHash of the user operation
Match
^0x[a-fA-F0-9]{64}$EIP-712 typed data of the user operation
application/json- response
userOperationTypedData*|nullEIP-712 typed data of the user operation, only present for wallets whose user operations run on EntryPoint v0.8 (EIP-7702 Simple7702Account). Its EIP-712 hash is exactly userOperationHash, so a hardware wallet can sign it with eth_signTypedData_v4 and show what is being signed. Send that raw signature as the user operation signature, without the EIP-191 prefix of signMessage. Null when the user operation does not run on EntryPoint v0.8.
expiresAt*numberWhen the user operation expires, in milliseconds since the Unix epoch. It must be executed before then.
curl -X GET 'https://api.notus.team/api/v1/crypto/user-operation/0x2aac7a66d5331454eafc9b981be3596ad08a40dad24883e3b9c4a5362cd7f7e1/typed-data'Example Response
{ "userOperationTypedData": { "domain": { "name": "ERC4337", "version": "1", "chainId": 42161, "verifyingContract": "0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108" }, "types": { "EIP712Domain": [ { "name": "sender", "type": "address" } ], "PackedUserOperation": [ { "name": "sender", "type": "address" } ] }, "primaryType": "PackedUserOperation", "message": { "sender": "string", "nonce": "string", "initCode": "string", "callData": "string", "accountGasLimits": "string", "preVerificationGas": "string", "gasFees": "string", "paymasterAndData": "string" } }, "expiresAt": 1792153033000}