Actions10
Cancel Listing
AI-generatedOverview
This node operation allows users to cancel NFT listings on the PaintSwap marketplace. It supports cancelling a single listing or multiple listings in a batch transaction. Users can specify the marketplace listing ID(s) to cancel and choose which wallet to use for the transaction, either from stored credentials or by inputting a private key directly. It also provides options to configure gas settings manually or automatically, estimate gas without executing the transaction, and manage transaction retries and nonce settings.
Use Case Examples
- A user wants to cancel a single NFT listing by providing the marketplace ID and using their credential wallet.
- A user needs to cancel multiple NFT listings at once by providing a comma-separated list of marketplace IDs and opting for batch operation.
- A user wants to cancel a listing but only estimate the gas required without executing the cancellation to check costs beforehand.
Properties
| Name | Meaning |
|---|---|
| Batch Operation | Whether to cancel multiple listings in a single transaction. |
| Marketplace ID | The ID of the marketplace listing to cancel (used when not in batch mode). |
| Marketplace IDs | Comma-separated list of marketplace IDs to cancel (used in batch mode). |
| Wallet Source | Choose which wallet to use for this transaction, either the credential wallet or a custom private key. |
| Private Key | The private key to use for this specific transaction if using a custom key. |
| Gas Settings | How gas settings should be determined, either automatically estimated or set manually. |
| Gas Limit | Gas limit for the transaction, used if gas settings are manual. |
| Max Fee Per Gas (Gwei) | Maximum fee per gas in Gwei, used if gas settings are manual. |
| Max Priority Fee Per Gas (Gwei) | Maximum priority fee per gas in Gwei, used if gas settings are manual. |
| No Execution, Estimate Gas Only | When enabled, only estimates gas required for the transaction without executing it. |
| Transaction Management | Settings for managing the transaction such as manual nonce, max retry attempts, and replacement fee boost percentage. |
Output
JSON
json- The result of the cancel listing operation, including success confirmation or error details.
Dependencies
- An Ethereum JSON RPC provider URL credential for network access.
- An API key credential or private key for wallet authentication and signing transactions.
Troubleshooting
- Ensure the marketplace ID(s) provided are valid and correspond to active listings.
- If using a custom private key, verify it is correctly formatted and has the necessary permissions.
- Gas settings must be sufficient to cover the transaction; manual settings require careful input to avoid failures.
- If the transaction fails repeatedly, consider increasing max attempts or replacement fee boost percentage.
- Errors related to nonce management can be resolved by setting a manual nonce or allowing auto-incrementing nonce management.