How to use Particle Network’s Omnichain Paymaster for cross-chain gas sponsorship.
pm_sponsorUserOperation
— request gas sponsorshippm_paymasterBalance
— check your deposit balanceprojectId
, clientKey
, appId
).before_paymaster_sign
— runs before sponsorship; determines if the UserOp
should be signed.after_paymaster_sign
— runs after sponsorship; useful for logging or post-processing.projectUuid
— your project IDchainId
— chain where sponsorship is requesteduserOp
— the full UserOperation
objectentryPoint
— standard EntryPoint address (0x5FF137...
)parsed
— simplified transaction array200
to confirm sponsorship, or 400
to reject.
before_paymaster_sign
after_paymaster_sign
x-particle-signature
header on incoming requests.