Init Buy Nft Item from Marketplace

Buy Nft Item from marketplace. Any user might be want to buy a listed item from marketplace.

This operation requires a signature of operation owner. You should trigger wallet provider (Metamask etc.) for complete this transaction/operation. You can follow Send Transaction tutorial to trigger the wallet provider or you can use QafNft Metamask Plugin to complete the all process.

Init Buy Nft Item from Marketplace

POST {{server-url}}/marketplace-items/:id/buy

It returns unsigned transaction data.

Path Parameters

Headers

Request Body

{
    // Response
}

Example Response Body

{
    "data": {
        "from": "0xC62297B53F39a1c071B76fAE973FA5454863fA9C",
        "to": "0x8cCFb76971d83C339c44e2d19952F4428e9B8021",
        "data": "0x057466ea00000000000000000000000000000000000000000000000000000000000001d20000000000000000000000000000000000000000000000000000000000000005",
        "gasPrice": 20000000000,
        "chainId": 5777
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

Last updated