History subscription Message query V2

Description

  • Description: Query history subscription detail

  • Path: https://api.blockin.ai/v2/subscribe/history/wallet/data

  • Encoding: UTF-8

  • Method: HTTPS POST

Request Header

Paremeter
Type
Required
Description

Content-Type

String

Y

application/json

AccessKey

String

Y

AccessKey

Request Parameters

Parameter
Type
Required
Description

subscriber

String

N

Subscriber

address

String

N

Address

start_timestamp

Long

Y

The query start time stamp is 1699598727000. The data within a maximum of 3 days can be queried

end_timestamp

Long

N

Query the end timestamp

page

Integer

N

The default number of pages is 1

page_size

Integer

N

The default number of queries per page is 10. The maximum number is 50

Response

Parameter
Type
Required
Description

success

Boolean

Y

Success Boolean

data

Object

N

Response data

error_code

String

N

Error code

error_msg

String

N

Error message

Data Content

Parameter
Type
Required
Description

total

Long

Y

total number

total_pages

Long

Y

Total page number

page

Long

Y

Current page number

page_size

Long

Y

Current page size

records

List

Y

Record detail

Record Content

Parameter
Type
Required
Description

subscriber

String

N

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

N

The list of alias

data

Object

N

History data

Alias_list Content

Paremeter
Type
Required
Description

subscriber

String

N

Subscriber

alias

String

Y

The alias of the address

Request and Response Sample

curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X POST "https://api.blockin.ai/v2/subscribe/history/wallet/data" -d'{Request json}'

Last updated