Along with the other api calls we can make to Skandha, users can manually submit a UserOperation by making a POST request to one of our bundlers.

With a valid UserOp created, we pass this into the params field along with the entrypoint contract address.

Example curl request:

curl --request POST \
  --url https://flaretestnet-bundler.etherspot.io/ \
  --header "Content-Type: application/json" \
  --data '{
  "params": [
    {
    "sender": "0x6cAe98A0039D336EF56404917418e4De4BA300F2",
    "nonce": {
        "type": "BigNumber",
        "hex": "0x00"
    },
    "initCode": "0x7f6d8f107fe8551160bd5351d5f1514a6ad5d40e5fbfb9cf0000000000000000000000007a4d44f341e4fcbafdaa81ba993d8d0e5db21ade0000000000000000000000000000000000000000000000000000000000000000",
    "callData": "0x47e1da2a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000725404c8eead111d9e6dfe118c535f43402a951100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000",
    "callGasLimit": {
        "type": "BigNumber",
        "hex": "0xb957"
    },
    "verificationGasLimit": {
        "type": "BigNumber",
        "hex": "0x04d60d"
    },
    "maxFeePerGas": "0xbfda3a300",
    "maxPriorityFeePerGas": "0x59682f00",
    "paymasterAndData": "0x",
    "preVerificationGas": {
        "type": "BigNumber",
        "hex": "0xb23c"
    },
    "signature": "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"
    },
    "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
  ],
  "method": "eth_sendUserOperation"
}'

On successful submission to the bundler we will receive a UserOp hash.

{"result":"0x7b1d33806fcf983834da03abb71a75ac242076aacfa8b376dbc50565ca77f72e"}

The transaction will then be processed 30-40 seconds after this.