EssenceMiddleware
The SubscribeMiddleware input type specifies the middleware to set.
input EssenceMiddleware {
collectFree: Boolean
collectPaid: collectPaidMwParams
collectPermission: collectPermissionMwParams
customMiddleware: customMwParams
}
Fields
collectFree (Boolean)
collectFree the default module where the collecting an essence is free.
collectPaid (collectPaidMwParams)
collectPaid collecting an essence requires the collector to pay a fee.
collectPermission (collectPermissionMwParams)
collectPermission collecting an essence requires having a valid signature from the signer.
customMiddleware (customMwParams)
customMiddleware for setting a custom middleware.