구매 정보 확인 (구매가능여부)

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

Query Parameters

Name
Type
Description

product_id*

int64

상품ID

{
    "return": 0,
    "message": "success",
    "value" : {
        "wallet_address" : "0xABCE..",
        "product_price_list" : [
            {
                "coin_id" : 1,
                "price" : 11.112,
                "gas_price" : 0.0034
            },
            {
                "coin_id" : 2,
                "price" : 4.112,
                "gas_price" : 0.0034
            }
        ],
        "my_coin_list" : [
            {
                "coin_id" : 1,
                "quantity" : 11.234
            }
        ]
    }
}

curl --location --request GET 'https://{market-domain}/v1.0/product/sale?product_id=7' --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX...'

Last updated