Reference to last_match message

Hello,

Question 1> May you please give me the link where I can find the reference to last_match message?

Question 2> Is it true that last_match message just conveys the last trade after a client just subscribes to the channel?

Thank you

{"type": "subscribe", "product_ids":["BTC-USD"], "channels":["matches", "heartbeat", "level2"]}

{"type":"last_match","trade_id":351413956,"maker_order_id":"40b177f2-d699-4bf3-9ebc-65880917c686","taker_order_id":"f183e450-3722-4ffd-b225-b4943131814a","side":"sell","size":"0.0001476","price":"30142.71","product_id":"BTC-USD","sequence":38584895103,"time":"2022-06-09T14:01:00.391584Z"}

{"type":"subscriptions","channels":[{"name":"level2","product_ids":["BTC-USD"]},{"name":"matches","product_ids":["BTC-USD"]},{"name":"heartbeat","product_ids":["BTC-USD"]}]}

Hello @q0987 ! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your concern, we will check on this for you with our team. We will get back to you once we have more information. Keep in touch!

Hi @q0987, we’ve just got the information from our team. Regarding our documentation, we cannot find a reference for last_match that you can look into. However, we can confirm that the last_match parameter is only shown after initial subscription to the channel and that it shows the most recent match in the channel.

We hope this helps. Thanks.

3 Likes