Demo to preview the settings
Swapping with the Swap SDK just got even better. With the new integration of 0x v4, NFT trades that use the Swap SDK are the cheapest and most efficient swaps available on Ethereum. Leverage the updated Swap SDK to ensure your users have the lowest possible gas fees anywhere. 0x v4 NFT is available on Ethereum Mainnet, Polygon, Optimism, BSC, Fantom, and Celo, and Ropsten Testnet.
Whether you're building a wallet, an NFT marketplace, or a peer-to-peer swap application, Swap SDK makes integrating NFT swap functionality easy and lightweight. Just add your UI! Whether you prefer on-chain or off-chain orders, 0x v4 is the cheapest and most efficient way to swap NFTs to date. This plugin is designed for creating P2P NFT trading features. Using this, users can sell their NFT to other users in exchange for crypto tokens. In order to test this plugin you need 2 Metamask wallets.
Based on recent gas benchmarks, 0x v4 is significantly cheaper to fill orders.
- 40% cheaper than OpenSea, LooksRare, and Rarible for buying NFTs
- 35% cheaper than Zora to fill (>60% cheaper than Zora if including both parties' gas fees).
NFT buys and sells (bids and asks) are both supported
How to setup
Plugin Element Proprieties
Build Order response - set this field with the data type "Building Orders”
Element Actions Build an Order
NFT Contract address
The contract address can be found on the home page of the NFT collection or next to a particular NFTs token ID and other metadata.
NFT Token ID
To find the contract address and token ID for your NFT, visit the web page of your NFT and view the URL. EX:https://rarible.com/token/polygon/0x35f8aee672cde8e5fd09c93d2bfe4ff5a9cf0756:55972062621518944670013325496150839034431497274339836230186769958266952744993 0x35f8aee672cde8e5fd09c93d2bfe4ff5a9cf0756 — NFT Contract address. 55972062621518944670013325496150839034431497274339836230186769958266952744993 — NFT Token ID
NFT Standard Type
Must be one of 'ERC20', 'ERC721', or 'ERC1155’
Token Contract Address
0x v4 contracts with NFT support are currently live on Ethereum Mainnet, Polygon, Optimism, BSC, Fantom, and Celo, and Ropsten Testnet.
A certain amount of a token
Token Standard Type
Set how long the "signed order" should be valid
Filling an Order
Now that we have a signed order, another wallet can fill that order (known as 'taking' the trade). To fill orders, pass the signed order to action the Filling an Order. If the transaction succeeds, the trade went through, and the user can be notified.
In action "Build an Order" order that was added to the blockchain, NFTs was “signed” by the uploader in a process known as “minting" and was returned to a state "Signed Order", This must be given to the buyer so that he can buy NFT.
A gas fee is a blockchain transaction fee, paid to network validators for their services to the blockchain. It is necessary to set Gas for the transaction to go through successfully.
A nonce is a random or semi-random number that is generated and returned to "Build an Order”
At creation, the "order" was returned in the state "type”
information about the "Order" created.
as build order
is the contract signed by the seller with information about the NFT and the asking price?
It will show if the postponement of the order was successful.
If the plugin throw error, it will publish here.
0x NFT swap