Socket Subscription Connection V2

Description

  • Description: websocket connection

  • Path: wss://api.blockin.ai/ws/subscribe/ws/history

  • Encoding: UTF-8

Request Header

Paremeter
Type
Required
Description

Content-Type

String

Y

application/json

AccessKey

String

Y

AccessKey

callbackRetry

Boolean

N

Default false,true: retry the push . Retry every 30s , with a maximum of 3 times

mergePush

Boolean

N

Whether multiple subscribers merge the same data push, Default : false

Response

Parameter
Type
Required
Description

subscriber

String

Y

Subscriber

type

String

Y

Type: USER , TOKEN

address

String

Y

Address you want to query

send_no

String

Y

Unique ID sent

sent_time

String

Y

Send time

alias_list

List

Y

The list of alias

data

Object

Y

History data

resend

Boolean

Y

Default false, true means retry when the missed push is not received

Response Sample

Data

Consistent with the response data from this /v2/user/history_list_pro

Last updated