Versions in this module Expand all Collapse all v0 v0.0.1 Dec 14, 2023 Changes in this version + func CreateRequestAndSign(callData []byte, rgap JSONRPCResponseGasAndPaymaster, chainID int64, ...) ([]byte, error) + func CreateRequestGetUserOperationByHash(operationHash string, id int) ([]byte, error) + func CreateRequestGetUserOperationReceipt(operationHash string, id int) ([]byte, error) + func CreateRequestStep2(alchemyRequestId int, signedByUserData []byte, uo UserOperation, ...) ([]byte, error) + func DecodeResponseSendRequest(response []byte) (opHash string, err error) + func SendRequest(apiKey string, jsonDATA []byte) ([]byte, error) + type EntryPointAddress interface + type GasAndPaymentStruct struct + DummySignature string + EntryPoint string + PolicyID string + UserOperation UserOperation + type JSONRPCRequest struct + ID int + JSONRPC string + Method string + Params []UserOperation + type JSONRPCRequestGasAndPaymaster struct + ID int + JSONRPC string + Method string + Params []GasAndPaymentStruct + func CreateRequestGasAndPaymasterData(callData []byte, sender common.Address, senderScw common.Address, nonce uint64, ...) (JSONRPCRequestGasAndPaymaster, error) + type JSONRPCRequestGetUserOperationReceipt struct + Hashes []string + ID int + JSONRPC string + Method string + type JSONRPCResponseGasAndPaymaster struct + Error struct{ ... } + ID int + JSONRPC string + Result struct{ ... } + type JSONRPCResponseGetOp struct + Error struct{ ... } + ID int + JSONRPC string + Result struct{ ... } + func DecodeResponseGetUserOperationReceipt(response []byte) (ret *JSONRPCResponseGetOp, err error) + type JSONRPCResponseGetUserOpByHash struct + Error struct{ ... } + ID int + JSONRPC string + Result struct{ ... } + func DecodeResponseGetUserOperationByHash(response []byte) (ret *JSONRPCResponseGetUserOpByHash, err error) + type JSONRPCResponseUserOpHash struct + Error struct{ ... } + ID int + JSONRPC string + Result string + type UserOperation struct + CallData string + CallGasLimit string + InitCode string + MaxFeePerGas string + MaxPriorityFeePerGas string + Nonce string + PaymasterAndData string + PreVerificationGas string + Sender string + Signature string + VerificationGasLimit string + func CreateRequestStep1(callData []byte, rgap JSONRPCResponseGasAndPaymaster, chainID int64, ...) (dataToSign []byte, uo UserOperation, err error)