구매/낙찰 하기

POST https://{market-domain}/v1.0/product/sale

Request Body

Name
Type
Description

product_id*

int64

상품ID

basecoin_id*

int64

부모코인ID

coin_id*

int64

코인ID

{
    "return": 0,
    "message": "success",
    "value" : {
        "au_id" : 1323232,
        "product_id" : 7
        "basecoin_id" : 1,
        "wallet_address" : 11.112,
        "coin_id" : 2,
        "price" : 4.112,
        "previous_quantity" : 11.0034
        "AdjQuantity" : 1,
        "quantity" : 10.0034,
        "tx_hash" : "0x4389h4jkn4kh432..."
        "nft_id" : 32,
        "transfer_id" : 21,
        "nft_pack_id" : 1
    }
}

curl --location --request POST 'https://{market-domain}/v1.0/product/sale' --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR....' --header 'Content-Type: application/json' --data-raw '{ "product_id": 7, "basecoin_id": 1, "coin_id": 1 }'

Last updated