SubmitUserOp

Using "SubmitUserOp" on Krypcore, you may make it easier to communicate with your smart contract wallet. This function allows users to submit customised procedures, allowing for faster transaction processing and wallet settings updates. This simple submission method can help you streamline your digital asset management.

This deploys SubmitUserOp using this method.

API Specification

SubmitUserOp Details

POST https://web3-proxy-dev.krypcore.com/api/v0/scWallet/SubmitUserOp

To get SubmitUserOp Details under the given instance.

Headers

NameTypeDescription

DappId*

String

DappId

Authorization*

String

User Auth key obtained

Request Body

NameTypeDescription

walletName*

String

Wallet Name

userop*

String

User OP

callData*

String

Call Data

callGasLimit*

String

Call Gas Limit

initCode*

String

Init Code

maxFeePerGas*

String

Max Fee Per Gas

maxPriorityFeePerGas*

String

Max Priority Fee Per Gas

nonce*

String

Nonce

paymasterAndData*

String

PaymasterAndData

preVerificationGas*

String

PreVerification Gas

sender*

String

Sender

signature*

String

Signature

verificationGasLimit*

String

VerificationGasLimit

{
    "Data": "******",
    "Message": "",
    "Status": "SUCCESS"
}

Take a look at how you might call this method using our official libraries, or via curl


curl --location 'https://web3-proxy-dev.krypcore.com/api/v0/scWallet/SubmitUserOp' \
--header 'DappId: *****' \
--header 'Authorization: *****' \
--header 'Content-Type: application/json' \
--data '{
    "walletName":"ak10", "userOp": {"callData":"*****","callGasLimit":"0x34b8","initCode":"*****","maxFeePerGas":"0x6507a5c0","maxPriorityFeePerGas":"0x6507a5c0","nonce":"0x0","paymasterAndData":"0x","preVerificationGas":"0xc57e","sender":"*****","signature":"*****","verificationGasLimit":"0x53723"}
}'

Last updated