Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/block_scout_web/API blueprint.md

3278 lines
119 KiB

FORMAT: 1A
HOST:http://blockscout.com/poa/core
#
# API Documentation
# Group BlockScoutWeb.Account.Api.V1.UserController
## BlockScoutWeb.Account.Api.V1.UserController [/api/account/v1/user/info]
### BlockScoutWeb.Account.Api.V1.UserController info [GET /api/account/v1/user/info]
+ Request Get info about user
**GET**  `/api/account/v1/user/info`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjNkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTM3QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABHGQABG5hbWVtAAAAC1VzZXIgVGVzdDIzZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjIzZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDIzZAAMd2F0Y2hsaXN0X2lkYgAAARw.E0Sm_2oS5AyE0tua4lSouZRAcWS_F5ZcfGxLWSTUkXA; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2a5ilyuHABAAABjC
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"nickname": "test_user23",
"name": "User Test23",
"email": "test_user-37@blockscout.com",
"avatar": "https://example.com/avatar/test_user23"
}
### BlockScoutWeb.Account.Api.V1.UserController create_tag_address [POST /api/account/v1/user/tags/address]
+ Request Add private address tag
**POST**  `/api/account/v1/user/tags/address`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "MyName",
"address_hash": "0x3e9ac8f16c92bc4f093357933b5befbf1e16987b"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyN2QABWVtYWlsbQAAABt0ZXN0X3VzZXItMTdAYmxvY2tzY291dC5jb21kAAJpZGIAAAEMZAAEbmFtZW0AAAAKVXNlciBUZXN0N2QACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI3ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDdkAAx3YXRjaGxpc3RfaWRiAAABDA.nTbrGL1cYPUoZ-N2MiHq9YBaqutQsS6G_gJBJmjD_mE; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2Za89gG9wigAABTB
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"name": "MyName",
"id": 66,
"address_hash": "0x3e9ac8f16c92bc4f093357933b5befbf1e16987b",
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x3E9AC8f16C92bc4F093357933B5BEFBF1E16987B"
}
}
# Group BlockScoutWeb.Account.Api.V1.TagsController
## BlockScoutWeb.Account.Api.V1.TagsController [/api/account/v1/tags/address/0x3e9ac8f16c92bc4f093357933b5befbf1e16987b]
### BlockScoutWeb.Account.Api.V1.TagsController tags_address [GET /api/account/v1/tags/address/{address_hash}]
+ Parameters
+ address_hash: `0x3e9ac8f16c92bc4f093357933b5befbf1e16987b`
address_hash: 0x3e9ac8f16c92bc4f093357933b5befbf1e16987b
+ Request Get tags for address
**GET**  `/api/account/v1/tags/address/0x3e9ac8f16c92bc4f093357933b5befbf1e16987b`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyN2QABWVtYWlsbQAAABt0ZXN0X3VzZXItMTdAYmxvY2tzY291dC5jb21kAAJpZGIAAAEMZAAEbmFtZW0AAAAKVXNlciBUZXN0N2QACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI3ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDdkAAx3YXRjaGxpc3RfaWRiAAABDA.nTbrGL1cYPUoZ-N2MiHq9YBaqutQsS6G_gJBJmjD_mE; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2ZcSwwK9wigAABMC
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"watchlist_names": [],
"personal_tags": [
{
"label": "MyName",
"display_name": "MyName",
"address_hash": "0x3e9ac8f16c92bc4f093357933b5befbf1e16987b"
}
],
"common_tags": []
}
# Group BlockScoutWeb.Account.Api.V1.UserController
## BlockScoutWeb.Account.Api.V1.UserController [/api/account/v1/user/tags/address/70]
### BlockScoutWeb.Account.Api.V1.UserController update_tag_address [PUT /api/account/v1/user/tags/address/{id}]
+ Parameters
+ id: `70`
id: 70
+ Request Edit private address tag
**PUT**  `/api/account/v1/user/tags/address/70`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "name3",
"address_hash": "0x000000000000000000000000000000000000007e"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTlkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTMxQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABGGQABG5hbWVtAAAAC1VzZXIgVGVzdDE5ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE5ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE5ZAAMd2F0Y2hsaXN0X2lkYgAAARg.gpllu6S6EuYQy2GBhhmdrwjWa7uNmRUMz8aoKGDaPQU; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aYSywZD3jIAAAQF
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"name": "name3",
"id": 70,
"address_hash": "0x000000000000000000000000000000000000007e",
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000007E"
}
}
### BlockScoutWeb.Account.Api.V1.UserController tags_address [GET /api/account/v1/user/tags/address]
+ Request Get private addresses tags
**GET**  `/api/account/v1/user/tags/address`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMThkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTMwQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABF2QABG5hbWVtAAAAC1VzZXIgVGVzdDE4ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE4ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE4ZAAMd2F0Y2hsaXN0X2lkYgAAARc.MgpnF7n_gJEhkWphCunY7unXVQWz6NAKdXJtAlCtm-E; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aT84qhvvqoAABfh
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
[
{
"name": "name2",
"id": 69,
"address_hash": "0x000000000000000000000000000000000000007c",
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000007c"
}
},
{
"name": "name1",
"id": 68,
"address_hash": "0x000000000000000000000000000000000000007b",
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000007B"
}
},
{
"name": "name0",
"id": 67,
"address_hash": "0x000000000000000000000000000000000000007a",
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000007a"
}
}
]
### BlockScoutWeb.Account.Api.V1.UserController delete_tag_address [DELETE /api/account/v1/user/tags/address/{id}]
+ Parameters
+ id: `63`
id: 63
+ Request Delete private address tag
**DELETE**  `/api/account/v1/user/tags/address/63`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyNGQABWVtYWlsbQAAABt0ZXN0X3VzZXItMTRAYmxvY2tzY291dC5jb21kAAJpZGIAAAEJZAAEbmFtZW0AAAAKVXNlciBUZXN0NGQACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI0ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDRkAAx3YXRjaGxpc3RfaWRiAAABCQ.3f3SFCRJgY59jb-YfVwAjM-xZEMv78Z1X-yNR03pCOI; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2YwZcxcJlUgAABJh
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"message": "OK"
}
### BlockScoutWeb.Account.Api.V1.UserController create_tag_transaction [POST /api/account/v1/user/tags/transaction]
+ Request Create private transaction tag
**POST**  `/api/account/v1/user/tags/transaction`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000006",
"name": "MyName"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTVkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI3QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABFGQABG5hbWVtAAAAC1VzZXIgVGVzdDE1ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE1ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE1ZAAMd2F0Y2hsaXN0X2lkYgAAARQ.y7cpDUrwXiGxhgdOS0V14Rsohk8wJHkv940fW0Mw1YQ; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aDXRGevcEwAABYh
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000006",
"name": "MyName",
"id": 61
}
+ Request Error on try to create private transaction tag for tx does not exist
**POST**  `/api/account/v1/user/tags/transaction`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000005",
"name": "MyName"
}
+ Response 422
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTVkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI3QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABFGQABG5hbWVtAAAAC1VzZXIgVGVzdDE1ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE1ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE1ZAAMd2F0Y2hsaXN0X2lkYgAAARQ.y7cpDUrwXiGxhgdOS0V14Rsohk8wJHkv940fW0Mw1YQ; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aCGof2vcEwAAAlk
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"errors": {
"tx_hash": [
"Transaction does not exist"
]
}
}
# Group BlockScoutWeb.Account.Api.V1.TagsController
## BlockScoutWeb.Account.Api.V1.TagsController [/api/account/v1/tags/transaction/0x0000000000000000000000000000000000000000000000000000000000000006]
### BlockScoutWeb.Account.Api.V1.TagsController tags_transaction [GET /api/account/v1/tags/transaction/{transaction_hash}]
+ Parameters
+ transaction_hash: `0x0000000000000000000000000000000000000000000000000000000000000006`
transaction_hash: 0x0000000000000000000000000000000000000000000000000000000000000006
+ Request Get tags for transaction
**GET**  `/api/account/v1/tags/transaction/0x0000000000000000000000000000000000000000000000000000000000000006`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTVkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI3QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABFGQABG5hbWVtAAAAC1VzZXIgVGVzdDE1ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE1ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE1ZAAMd2F0Y2hsaXN0X2lkYgAAARQ.y7cpDUrwXiGxhgdOS0V14Rsohk8wJHkv940fW0Mw1YQ; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aEbojKvcEwAABZB
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"watchlist_names": [],
"personal_tx_tag": {
"label": "MyName"
},
"personal_tags": [],
"common_tags": []
}
# Group BlockScoutWeb.Account.Api.V1.UserController
## BlockScoutWeb.Account.Api.V1.UserController [/api/account/v1/user/tags/transaction/57]
### BlockScoutWeb.Account.Api.V1.UserController update_tag_transaction [PUT /api/account/v1/user/tags/transaction/{id}]
+ Parameters
+ id: `57`
id: 57
+ Request Edit private transaction tag
**PUT**  `/api/account/v1/user/tags/transaction/57`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000001",
"name": "name1"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMWQABWVtYWlsbQAAABp0ZXN0X3VzZXItMUBibG9ja3Njb3V0LmNvbWQAAmlkYgAAAQZkAARuYW1lbQAAAApVc2VyIFRlc3QxZAAIbmlja25hbWVtAAAACnRlc3RfdXNlcjFkAAN1aWRtAAAAD2Jsb2Nrc2NvdXR8MDAwMWQADHdhdGNobGlzdF9pZGIAAAEG.K4xvLgb-ji7_yiP-B80J_ItCchTMzzYcgcN7ku9a4B8; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2XSUU7NY8y8AAAME
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000001",
"name": "name1",
"id": 57
}
### BlockScoutWeb.Account.Api.V1.UserController tags_transaction [GET /api/account/v1/user/tags/transaction]
+ Request Get private transactions tags
**GET**  `/api/account/v1/user/tags/transaction`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjJkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTM2QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABG2QABG5hbWVtAAAAC1VzZXIgVGVzdDIyZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjIyZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDIyZAAMd2F0Y2hsaXN0X2lkYgAAARs.O7Ha2Ze8DT1d2yaZbQEy9tZXE6OUDWyuh3yoyB2WNAU; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2a4GFi44x6sAABii
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
[
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000009",
"name": "name2",
"id": 64
},
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000008",
"name": "name1",
"id": 63
},
{
"transaction_hash": "0x0000000000000000000000000000000000000000000000000000000000000007",
"name": "name0",
"id": 62
}
]
### BlockScoutWeb.Account.Api.V1.UserController delete_tag_transaction [DELETE /api/account/v1/user/tags/transaction/{id}]
+ Parameters
+ id: `58`
id: 58
+ Request Delete private transaction tag
**DELETE**  `/api/account/v1/user/tags/transaction/58`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTRkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI2QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABE2QABG5hbWVtAAAAC1VzZXIgVGVzdDE0ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE0ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE0ZAAMd2F0Y2hsaXN0X2lkYgAAARM.XN0A5eUbCpZdpnhayHyU-YiQ4jm1-WjwYxvGD6JVCmg; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2Z9NDKXc1FcAABYC
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"message": "OK"
}
### BlockScoutWeb.Account.Api.V1.UserController create_watchlist [POST /api/account/v1/user/watchlist]
+ Request Add address to watch list
**POST**  `/api/account/v1/user/watchlist`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"notification_settings": {
"native": {
"outcoming": true,
"incoming": true
},
"ERC-721": {
"outcoming": true,
"incoming": false
},
"ERC-20": {
"outcoming": true,
"incoming": true
}
},
"notification_methods": {
"email": false
},
"name": "test26",
"address_hash": "0x000000000000000000000000000000000000007f"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjBkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTMyQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABGWQABG5hbWVtAAAAC1VzZXIgVGVzdDIwZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjIwZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDIwZAAMd2F0Y2hsaXN0X2lkYgAAARk.vaGEF62HMb-YGk5JNfvq8xH6YkGmQaEEa1gpNIUmjJM; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2acnBbQAq20AAARF
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"notification_settings": {
"native": {
"outcoming": true,
"incoming": true
},
"ERC-721": {
"outcoming": true,
"incoming": false
},
"ERC-20": {
"outcoming": true,
"incoming": true
}
},
"notification_methods": {
"email": false
},
"name": "test26",
"id": 73,
"exchange_rate": null,
"address_hash": "0x000000000000000000000000000000000000007f",
"address_balance": null,
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000007f"
}
}
### BlockScoutWeb.Account.Api.V1.UserController watchlist [GET /api/account/v1/user/watchlist]
+ Request Get addresses from watchlists
**GET**  `/api/account/v1/user/watchlist`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjBkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTMyQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABGWQABG5hbWVtAAAAC1VzZXIgVGVzdDIwZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjIwZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDIwZAAMd2F0Y2hsaXN0X2lkYgAAARk.vaGEF62HMb-YGk5JNfvq8xH6YkGmQaEEa1gpNIUmjJM; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aiKtdsAq20AABhh
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
[
{
"notification_settings": {
"native": {
"outcoming": true,
"incoming": true
},
"ERC-721": {
"outcoming": true,
"incoming": false
},
"ERC-20": {
"outcoming": false,
"incoming": false
}
},
"notification_methods": {
"email": true
},
"name": "test27",
"id": 74,
"exchange_rate": null,
"address_hash": "0x0000000000000000000000000000000000000080",
"address_balance": null,
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000080"
}
},
{
"notification_settings": {
"native": {
"outcoming": true,
"incoming": true
},
"ERC-721": {
"outcoming": true,
"incoming": false
},
"ERC-20": {
"outcoming": true,
"incoming": true
}
},
"notification_methods": {
"email": false
},
"name": "test26",
"id": 73,
"exchange_rate": null,
"address_hash": "0x000000000000000000000000000000000000007f",
"address_balance": null,
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000007f"
}
}
]
### BlockScoutWeb.Account.Api.V1.UserController delete_watchlist [DELETE /api/account/v1/user/watchlist/{id}]
+ Parameters
+ id: `72`
id: 72
+ Request Delete address from watchlist by id
**DELETE**  `/api/account/v1/user/watchlist/72`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTdkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI5QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABFmQABG5hbWVtAAAAC1VzZXIgVGVzdDE3ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE3ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE3ZAAMd2F0Y2hsaXN0X2lkYgAAARY.bngpdS3ELd9RFd1465ZhfhaitqcUi6xG4s0BoDGWoAw; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aNXuJ9GNz0AABch
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"message": "OK"
}
### BlockScoutWeb.Account.Api.V1.UserController update_watchlist [PUT /api/account/v1/user/watchlist/{id}]
+ Parameters
+ id: `70`
id: 70
+ Request Edit watchlist address
**PUT**  `/api/account/v1/user/watchlist/70`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"notification_settings": {
"native": {
"outcoming": false,
"incoming": false
},
"ERC-721": {
"outcoming": false,
"incoming": true
},
"ERC-20": {
"outcoming": false,
"incoming": true
}
},
"notification_methods": {
"email": true
},
"name": "test21",
"address_hash": "0x0000000000000000000000000000000000000064"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTBkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTIxQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABD2QABG5hbWVtAAAAC1VzZXIgVGVzdDEwZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjEwZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDEwZAAMd2F0Y2hsaXN0X2lkYgAAAQ8.JqlZQRGTvi6UZy4cEjJW6UYnZgNo0LaoO3R4mxO_fFA; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2Zo1KOm2BRoAAAJl
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"notification_settings": {
"native": {
"outcoming": false,
"incoming": false
},
"ERC-721": {
"outcoming": false,
"incoming": true
},
"ERC-20": {
"outcoming": false,
"incoming": true
}
},
"notification_methods": {
"email": true
},
"name": "test21",
"id": 70,
"exchange_rate": null,
"address_hash": "0x0000000000000000000000000000000000000064",
"address_balance": null,
"address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000064"
}
}
### BlockScoutWeb.Account.Api.V1.UserController create_watchlist [POST /api/account/v1/user/watchlist]
+ Request Example of error on creating watchlist address
**POST**  `/api/account/v1/user/watchlist`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"notification_settings": {
"native": {
"outcoming": false,
"incoming": false
},
"ERC-721": {
"outcoming": false,
"incoming": true
},
"ERC-20": {
"outcoming": false,
"incoming": true
}
},
"notification_methods": {
"email": true
},
"name": "test0",
"address_hash": "0x0000000000000000000000000000000000000001"
}
+ Response 422
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMGQABWVtYWlsbQAAABp0ZXN0X3VzZXItMEBibG9ja3Njb3V0LmNvbWQAAmlkYgAAAQVkAARuYW1lbQAAAApVc2VyIFRlc3QwZAAIbmlja25hbWVtAAAACnRlc3RfdXNlcjBkAAN1aWRtAAAAD2Jsb2Nrc2NvdXR8MDAwMGQADHdhdGNobGlzdF9pZGIAAAEF.4CS6L7Ror_vIdEgjt8Mh9y2TJagC83VObHAGZ-ABOI4; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2W1ZceoPnWQAAATj
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"errors": {
"watchlist_id": [
"Address already added to the watch list"
]
}
}
### BlockScoutWeb.Account.Api.V1.UserController update_watchlist [PUT /api/account/v1/user/watchlist/{id}]
+ Parameters
+ id: `69`
id: 69
+ Request Example of error on editing watchlist address
**PUT**  `/api/account/v1/user/watchlist/69`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"notification_settings": {
"native": {
"outcoming": false,
"incoming": false
},
"ERC-721": {
"outcoming": false,
"incoming": true
},
"ERC-20": {
"outcoming": false,
"incoming": true
}
},
"notification_methods": {
"email": true
},
"name": "test0",
"address_hash": "0x0000000000000000000000000000000000000001"
}
+ Response 422
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMGQABWVtYWlsbQAAABp0ZXN0X3VzZXItMEBibG9ja3Njb3V0LmNvbWQAAmlkYgAAAQVkAARuYW1lbQAAAApVc2VyIFRlc3QwZAAIbmlja25hbWVtAAAACnRlc3RfdXNlcjBkAAN1aWRtAAAAD2Jsb2Nrc2NvdXR8MDAwMGQADHdhdGNobGlzdF9pZGIAAAEF.4CS6L7Ror_vIdEgjt8Mh9y2TJagC83VObHAGZ-ABOI4; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2W6esdoPnWQAAAKE
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"errors": {
"watchlist_id": [
"Address already added to the watch list"
]
}
}
### BlockScoutWeb.Account.Api.V1.UserController create_api_key [POST /api/account/v1/user/api_keys]
+ Request Add api key
**POST**  `/api/account/v1/user/api_keys`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "test"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTZkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI4QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABFWQABG5hbWVtAAAAC1VzZXIgVGVzdDE2ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjE2ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDE2ZAAMd2F0Y2hsaXN0X2lkYgAAARU.bIr9Nod33f3ivryxZfzUGzSN34H8R1h_oOPJvRdulDY; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aGwztUoK_8AAAnk
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"name": "test",
"api_key": "5dcfeb7d-6a73-47ed-8001-130692ebdf30"
}
+ Request Example of error on creating api key
**POST**  `/api/account/v1/user/api_keys`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "test"
}
+ Response 422
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjRkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTM4QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABHWQABG5hbWVtAAAAC1VzZXIgVGVzdDI0ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjI0ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDI0ZAAMd2F0Y2hsaXN0X2lkYgAAAR0.K_0yxkRjZq43jcCKzlzgHFNjm7aB_BmvBzlTVbpDUYI; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2a-lcgwKyxIAAAuk
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"errors": {
"name": [
"Max 3 keys per account"
]
}
}
### BlockScoutWeb.Account.Api.V1.UserController api_keys [GET /api/account/v1/user/api_keys]
+ Request Get api keys list
**GET**  `/api/account/v1/user/api_keys`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjRkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTM4QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABHWQABG5hbWVtAAAAC1VzZXIgVGVzdDI0ZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjI0ZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDI0ZAAMd2F0Y2hsaXN0X2lkYgAAAR0.K_0yxkRjZq43jcCKzlzgHFNjm7aB_BmvBzlTVbpDUYI; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2a-2qPMKyxIAABki
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
[
{
"name": "test",
"api_key": "00c90b31-db68-4de5-8022-32b6d9bdfaf2"
},
{
"name": "test",
"api_key": "936f1623-4cfb-4581-badf-ff82193cc55e"
},
{
"name": "test",
"api_key": "8af19684-7d84-4fa5-bc5e-98391204fa21"
}
]
### BlockScoutWeb.Account.Api.V1.UserController update_api_key [PUT /api/account/v1/user/api_keys/{api_key}]
+ Parameters
+ api_key: `e6fcab8c-d092-415d-a64e-caeebdab7e0a`
api_key: e6fcab8c-d092-415d-a64e-caeebdab7e0a
+ Request Edit api key
**PUT**  `/api/account/v1/user/api_keys/e6fcab8c-d092-415d-a64e-caeebdab7e0a`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "test_1"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTNkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTI1QGJsb2Nrc2NvdXQuY29tZAACaWRiAAABEmQABG5hbWVtAAAAC1VzZXIgVGVzdDEzZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjEzZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDEzZAAMd2F0Y2hsaXN0X2lkYgAAARI.oCXF9HRta7QoX4kvCCJGwXim8h2PvKmQnL3qC-BrYT0; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2ZxOPw0OLVMAABTC
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"name": "test_1",
"api_key": "e6fcab8c-d092-415d-a64e-caeebdab7e0a"
}
### BlockScoutWeb.Account.Api.V1.UserController delete_api_key [DELETE /api/account/v1/user/api_keys/{api_key}]
+ Parameters
+ api_key: `ed840181-ee0a-49e7-931c-ed12c44c3c5c`
api_key: ed840181-ee0a-49e7-931c-ed12c44c3c5c
+ Request Delete api key
**DELETE**  `/api/account/v1/user/api_keys/ed840181-ee0a-49e7-931c-ed12c44c3c5c`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyOGQABWVtYWlsbQAAABt0ZXN0X3VzZXItMThAYmxvY2tzY291dC5jb21kAAJpZGIAAAENZAAEbmFtZW0AAAAKVXNlciBUZXN0OGQACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI4ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDhkAAx3YXRjaGxpc3RfaWRiAAABDQ.N8IAT9JlprYQcjF97-2AwyvKRZ2pWrOhPA-piu_yjxY; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2ZeeHae-W7UAABPi
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"message": "OK"
}
### BlockScoutWeb.Account.Api.V1.UserController create_custom_abi [POST /api/account/v1/user/custom_abis]
+ Request Add custom abi
**POST**  `/api/account/v1/user/custom_abis`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "test3",
"contract_address_hash": "0x0000000000000000000000000000000000000049",
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyNWQABWVtYWlsbQAAABt0ZXN0X3VzZXItMTVAYmxvY2tzY291dC5jb21kAAJpZGIAAAEKZAAEbmFtZW0AAAAKVXNlciBUZXN0NWQACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI1ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDVkAAx3YXRjaGxpc3RfaWRiAAABCg.Ed2YB-WoqETtu1WlAOdX7KJi6sFIJ1SGIeS89Aie2pg; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2Y2Ja_DGUGwAAAWE
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"name": "test3",
"id": 146,
"contract_address_hash": "0x0000000000000000000000000000000000000049",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000049"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
}
+ Request Example of error on creating custom abi
**POST**  `/api/account/v1/user/custom_abis`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "test19",
"contract_address_hash": "0x0000000000000000000000000000000000000059",
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
}
+ Response 422
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyNmQABWVtYWlsbQAAABt0ZXN0X3VzZXItMTZAYmxvY2tzY291dC5jb21kAAJpZGIAAAELZAAEbmFtZW0AAAAKVXNlciBUZXN0NmQACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI2ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDZkAAx3YXRjaGxpc3RfaWRiAAABCw.SNgNlsqLtHPQ2HgJTPlyNjbvKw2FlW_U6_cJXTD-ZE4; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2ZR-dhCywD0AABJC
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"errors": {
"name": [
"Max 15 ABIs per account"
]
}
}
### BlockScoutWeb.Account.Api.V1.UserController custom_abis [GET /api/account/v1/user/custom_abis]
+ Request Get custom abis list
**GET**  `/api/account/v1/user/custom_abis`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyNmQABWVtYWlsbQAAABt0ZXN0X3VzZXItMTZAYmxvY2tzY291dC5jb21kAAJpZGIAAAELZAAEbmFtZW0AAAAKVXNlciBUZXN0NmQACG5pY2tuYW1lbQAAAAp0ZXN0X3VzZXI2ZAADdWlkbQAAAA9ibG9ja3Njb3V0fDAwMDZkAAx3YXRjaGxpc3RfaWRiAAABCw.SNgNlsqLtHPQ2HgJTPlyNjbvKw2FlW_U6_cJXTD-ZE4; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2ZSytrGywD0AABJi
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
[
{
"name": "test18",
"id": 161,
"contract_address_hash": "0x0000000000000000000000000000000000000058",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000058"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test17",
"id": 160,
"contract_address_hash": "0x0000000000000000000000000000000000000057",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000057"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test16",
"id": 159,
"contract_address_hash": "0x0000000000000000000000000000000000000056",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000056"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test15",
"id": 158,
"contract_address_hash": "0x0000000000000000000000000000000000000055",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000055"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test14",
"id": 157,
"contract_address_hash": "0x0000000000000000000000000000000000000054",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000054"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test13",
"id": 156,
"contract_address_hash": "0x0000000000000000000000000000000000000053",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000053"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test12",
"id": 155,
"contract_address_hash": "0x0000000000000000000000000000000000000052",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000052"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test11",
"id": 154,
"contract_address_hash": "0x0000000000000000000000000000000000000051",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000051"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test10",
"id": 153,
"contract_address_hash": "0x0000000000000000000000000000000000000050",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000050"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test9",
"id": 152,
"contract_address_hash": "0x000000000000000000000000000000000000004f",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000004f"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test8",
"id": 151,
"contract_address_hash": "0x000000000000000000000000000000000000004e",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000004e"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test7",
"id": 150,
"contract_address_hash": "0x000000000000000000000000000000000000004d",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000004D"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test6",
"id": 149,
"contract_address_hash": "0x000000000000000000000000000000000000004c",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000004C"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test5",
"id": 148,
"contract_address_hash": "0x000000000000000000000000000000000000004b",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000004B"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
},
{
"name": "test4",
"id": 147,
"contract_address_hash": "0x000000000000000000000000000000000000004a",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000004A"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
}
]
### BlockScoutWeb.Account.Api.V1.UserController update_custom_abi [PUT /api/account/v1/user/custom_abis/{id}]
+ Parameters
+ id: `162`
id: 162
+ Request Edit custom abi
**PUT**  `/api/account/v1/user/custom_abis/162`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"name": "test23",
"contract_address_hash": "0x0000000000000000000000000000000000000066",
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTFkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTIyQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABEGQABG5hbWVtAAAAC1VzZXIgVGVzdDExZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjExZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDExZAAMd2F0Y2hsaXN0X2lkYgAAARA.M0fGYF6uHlLOsjA-gLmGzzXuTxSr8hQVlDi3jIhAXX0; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2ZrqXJvdOdEAAAdE
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"name": "test23",
"id": 162,
"contract_address_hash": "0x0000000000000000000000000000000000000066",
"contract_address": {
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": false,
"is_contract": true,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000066"
},
"abi": [
{
"type": "function",
"stateMutability": "nonpayable",
"payable": false,
"outputs": [],
"name": "set",
"inputs": [
{
"type": "uint256",
"name": "x"
}
],
"constant": false
},
{
"type": "function",
"stateMutability": "view",
"payable": false,
"outputs": [
{
"type": "uint256",
"name": ""
}
],
"name": "get",
"inputs": [],
"constant": true
}
]
}
### BlockScoutWeb.Account.Api.V1.UserController delete_custom_abi [DELETE /api/account/v1/user/custom_abis/{id}]
+ Parameters
+ id: `145`
id: 145
+ Request Delete custom abi
**DELETE**  `/api/account/v1/user/custom_abis/145`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMmQABWVtYWlsbQAAABp0ZXN0X3VzZXItMkBibG9ja3Njb3V0LmNvbWQAAmlkYgAAAQdkAARuYW1lbQAAAApVc2VyIFRlc3QyZAAIbmlja25hbWVtAAAACnRlc3RfdXNlcjJkAAN1aWRtAAAAD2Jsb2Nrc2NvdXR8MDAwMmQADHdhdGNobGlzdF9pZGIAAAEH.xeXAG0XBVkoEw0SR5kJ04tyapR1tY5N9XTrN_nrO63c; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2XZv72akD4sAAAQk
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"message": "OK"
}
### BlockScoutWeb.Account.Api.V1.UserController create_public_tags_request [POST /api/account/v1/user/public_tags]
+ Request Submit request to add a public tag
**POST**  `/api/account/v1/user/public_tags`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"website": "website11",
"tags": "Tag17",
"is_owner": false,
"full_name": "full name11",
"email": "test_user-24@blockscout.com",
"company": "company11",
"addresses": [
"0x0000000000000000000000000000000000000067",
"0x0000000000000000000000000000000000000068",
"0x0000000000000000000000000000000000000069",
"0x000000000000000000000000000000000000006a",
"0x000000000000000000000000000000000000006b",
"0x000000000000000000000000000000000000006c",
"0x000000000000000000000000000000000000006d"
],
"additional_comment": "additional_comment11"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMTJkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTIzQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABEWQABG5hbWVtAAAAC1VzZXIgVGVzdDEyZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjEyZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDEyZAAMd2F0Y2hsaXN0X2lkYgAAARE.NJjO7QbBKV5g6_hGxLxBb5wlGDmJMKp-bpgLhhrFjLM; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2Zt2e1-7YrQAABVh
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"website": "website11",
"tags": "Tag17",
"submission_date": "2022-12-03T16:55:29.441979Z",
"is_owner": false,
"id": 202,
"full_name": "full name11",
"email": "test_user-24@blockscout.com",
"company": "company11",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000067"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000068"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000069"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000006a"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000006b"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000006C"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000006D"
}
],
"addresses": [
"0x0000000000000000000000000000000000000067",
"0x0000000000000000000000000000000000000068",
"0x0000000000000000000000000000000000000069",
"0x000000000000000000000000000000000000006a",
"0x000000000000000000000000000000000000006b",
"0x000000000000000000000000000000000000006c",
"0x000000000000000000000000000000000000006d"
],
"additional_comment": "additional_comment11"
}
### BlockScoutWeb.Account.Api.V1.UserController public_tags_requests [GET /api/account/v1/user/public_tags]
+ Request Get list of requests to add a public tag
**GET**  `/api/account/v1/user/public_tags`
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyM2QABWVtYWlsbQAAABp0ZXN0X3VzZXItM0BibG9ja3Njb3V0LmNvbWQAAmlkYgAAAQhkAARuYW1lbQAAAApVc2VyIFRlc3QzZAAIbmlja25hbWVtAAAACnRlc3RfdXNlcjNkAAN1aWRtAAAAD2Jsb2Nrc2NvdXR8MDAwM2QADHdhdGNobGlzdF9pZGIAAAEI.-a6kcGlCbsFgQtwPNaGA4yaOOpSpyG_54rEROF3a6E0; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2YJiDacnhiAAAA9h
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
[
{
"website": "website9",
"tags": "Tag14",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": false,
"id": 200,
"full_name": "full name9",
"email": "test_user-13@blockscout.com",
"company": "company9",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000003D"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000003e"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000003f"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000040"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000041"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000042"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000043"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000044"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000045"
}
],
"addresses": [
"0x000000000000000000000000000000000000003d",
"0x000000000000000000000000000000000000003e",
"0x000000000000000000000000000000000000003f",
"0x0000000000000000000000000000000000000040",
"0x0000000000000000000000000000000000000041",
"0x0000000000000000000000000000000000000042",
"0x0000000000000000000000000000000000000043",
"0x0000000000000000000000000000000000000044",
"0x0000000000000000000000000000000000000045"
],
"additional_comment": "additional_comment9"
},
{
"website": "website8",
"tags": "Tag13",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": false,
"id": 199,
"full_name": "full name8",
"email": "test_user-12@blockscout.com",
"company": "company8",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000003a"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000003b"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000003c"
}
],
"addresses": [
"0x000000000000000000000000000000000000003a",
"0x000000000000000000000000000000000000003b",
"0x000000000000000000000000000000000000003c"
],
"additional_comment": "additional_comment8"
},
{
"website": "website7",
"tags": "Tag11;Tag12",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": true,
"id": 198,
"full_name": "full name7",
"email": "test_user-11@blockscout.com",
"company": "company7",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000032"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000033"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000034"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000035"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000036"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000037"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000038"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000039"
}
],
"addresses": [
"0x0000000000000000000000000000000000000032",
"0x0000000000000000000000000000000000000033",
"0x0000000000000000000000000000000000000034",
"0x0000000000000000000000000000000000000035",
"0x0000000000000000000000000000000000000036",
"0x0000000000000000000000000000000000000037",
"0x0000000000000000000000000000000000000038",
"0x0000000000000000000000000000000000000039"
],
"additional_comment": "additional_comment7"
},
{
"website": "website6",
"tags": "Tag10",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": true,
"id": 197,
"full_name": "full name6",
"email": "test_user-10@blockscout.com",
"company": "company6",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000002c"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000002D"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000002E"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000002F"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000030"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000031"
}
],
"addresses": [
"0x000000000000000000000000000000000000002c",
"0x000000000000000000000000000000000000002d",
"0x000000000000000000000000000000000000002e",
"0x000000000000000000000000000000000000002f",
"0x0000000000000000000000000000000000000030",
"0x0000000000000000000000000000000000000031"
],
"additional_comment": "additional_comment6"
},
{
"website": "website5",
"tags": "Tag9",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": true,
"id": 196,
"full_name": "full name5",
"email": "test_user-9@blockscout.com",
"company": "company5",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000028"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000029"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000002A"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000002b"
}
],
"addresses": [
"0x0000000000000000000000000000000000000028",
"0x0000000000000000000000000000000000000029",
"0x000000000000000000000000000000000000002a",
"0x000000000000000000000000000000000000002b"
],
"additional_comment": "additional_comment5"
},
{
"website": "website4",
"tags": "Tag7;Tag8",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": false,
"id": 195,
"full_name": "full name4",
"email": "test_user-8@blockscout.com",
"company": "company4",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000020"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000021"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000022"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000023"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000024"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000025"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000026"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000027"
}
],
"addresses": [
"0x0000000000000000000000000000000000000020",
"0x0000000000000000000000000000000000000021",
"0x0000000000000000000000000000000000000022",
"0x0000000000000000000000000000000000000023",
"0x0000000000000000000000000000000000000024",
"0x0000000000000000000000000000000000000025",
"0x0000000000000000000000000000000000000026",
"0x0000000000000000000000000000000000000027"
],
"additional_comment": "additional_comment4"
},
{
"website": "website3",
"tags": "Tag5;Tag6",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": true,
"id": 194,
"full_name": "full name3",
"email": "test_user-7@blockscout.com",
"company": "company3",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000001a"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000001B"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000001c"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000001D"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000001e"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000001F"
}
],
"addresses": [
"0x000000000000000000000000000000000000001a",
"0x000000000000000000000000000000000000001b",
"0x000000000000000000000000000000000000001c",
"0x000000000000000000000000000000000000001d",
"0x000000000000000000000000000000000000001e",
"0x000000000000000000000000000000000000001f"
],
"additional_comment": "additional_comment3"
},
{
"website": "website2",
"tags": "Tag3;Tag4",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": true,
"id": 193,
"full_name": "full name2",
"email": "test_user-6@blockscout.com",
"company": "company2",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000010"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000011"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000012"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000013"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000014"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000015"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000016"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000017"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000018"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000019"
}
],
"addresses": [
"0x0000000000000000000000000000000000000010",
"0x0000000000000000000000000000000000000011",
"0x0000000000000000000000000000000000000012",
"0x0000000000000000000000000000000000000013",
"0x0000000000000000000000000000000000000014",
"0x0000000000000000000000000000000000000015",
"0x0000000000000000000000000000000000000016",
"0x0000000000000000000000000000000000000017",
"0x0000000000000000000000000000000000000018",
"0x0000000000000000000000000000000000000019"
],
"additional_comment": "additional_comment2"
},
{
"website": "website1",
"tags": "Tag2",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": false,
"id": 192,
"full_name": "full name1",
"email": "test_user-5@blockscout.com",
"company": "company1",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000000E"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000000F"
}
],
"addresses": [
"0x000000000000000000000000000000000000000e",
"0x000000000000000000000000000000000000000f"
],
"additional_comment": "additional_comment1"
},
{
"website": "website0",
"tags": "Tag0;Tag1",
"submission_date": "2022-12-03T16:55:29.000000Z",
"is_owner": true,
"id": 191,
"full_name": "full name0",
"email": "test_user-4@blockscout.com",
"company": "company0",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000008"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000009"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000000A"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000000b"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000000C"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000000d"
}
],
"addresses": [
"0x0000000000000000000000000000000000000008",
"0x0000000000000000000000000000000000000009",
"0x000000000000000000000000000000000000000a",
"0x000000000000000000000000000000000000000b",
"0x000000000000000000000000000000000000000c",
"0x000000000000000000000000000000000000000d"
],
"additional_comment": "additional_comment0"
}
]
### BlockScoutWeb.Account.Api.V1.UserController delete_public_tags_request [DELETE /api/account/v1/user/public_tags/{id}]
+ Parameters
+ id: `200`
id: 200
+ Request Delete public tags request
**DELETE**  `/api/account/v1/user/public_tags/200`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"remove_reason": "reason"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAlaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyM2QABWVtYWlsbQAAABp0ZXN0X3VzZXItM0BibG9ja3Njb3V0LmNvbWQAAmlkYgAAAQhkAARuYW1lbQAAAApVc2VyIFRlc3QzZAAIbmlja25hbWVtAAAACnRlc3RfdXNlcjNkAAN1aWRtAAAAD2Jsb2Nrc2NvdXR8MDAwM2QADHdhdGNobGlzdF9pZGIAAAEI.-a6kcGlCbsFgQtwPNaGA4yaOOpSpyG_54rEROF3a6E0; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2YdEq9snhiAAAA-h
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"message": "OK"
}
### BlockScoutWeb.Account.Api.V1.UserController update_public_tags_request [PUT /api/account/v1/user/public_tags/{id}]
+ Parameters
+ id: `203`
id: 203
+ Request Edit request to add a public tag
**PUT**  `/api/account/v1/user/public_tags/203`
+ Headers
content-type: multipart/mixed; boundary=plug_conn_test
+ Body
{
"website": "website13",
"tags": "Tag20;Tag21",
"is_owner": false,
"full_name": "full name13",
"email": "test_user-35@blockscout.com",
"company": "company13",
"addresses": [
"0x0000000000000000000000000000000000000085",
"0x0000000000000000000000000000000000000086",
"0x0000000000000000000000000000000000000087",
"0x0000000000000000000000000000000000000088",
"0x0000000000000000000000000000000000000089",
"0x000000000000000000000000000000000000008a",
"0x000000000000000000000000000000000000008b"
],
"additional_comment": "additional_comment13"
}
+ Response 200
+ Headers
set-cookie: _explorer_key=SFMyNTY.g3QAAAABbQAAAAxjdXJyZW50X3VzZXJ0AAAAB2QABmF2YXRhcm0AAAAmaHR0cHM6Ly9leGFtcGxlLmNvbS9hdmF0YXIvdGVzdF91c2VyMjFkAAVlbWFpbG0AAAAbdGVzdF91c2VyLTMzQGJsb2Nrc2NvdXQuY29tZAACaWRiAAABGmQABG5hbWVtAAAAC1VzZXIgVGVzdDIxZAAIbmlja25hbWVtAAAAC3Rlc3RfdXNlcjIxZAADdWlkbQAAABBibG9ja3Njb3V0fDAwMDIxZAAMd2F0Y2hsaXN0X2lkYgAAARo.byLDQXd4VuN-Y1kqWEWSxe5Q_ne42ove8xpm5k_GwHc; path=/; SameSite=Lax
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
x-request-id: Fy1W2aqpFvr2fxsAABjB
access-control-allow-credentials: true
access-control-allow-origin: *
access-control-expose-headers:
+ Body
{
"website": "website13",
"tags": "Tag20;Tag21",
"submission_date": "2022-12-03T16:55:30.000000Z",
"is_owner": false,
"id": 203,
"full_name": "full name13",
"email": "test_user-35@blockscout.com",
"company": "company13",
"addresses_with_info": [
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000085"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000086"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000087"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000088"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x0000000000000000000000000000000000000089"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000008A"
},
{
"watchlist_names": [],
"public_tags": [],
"private_tags": [],
"name": null,
"is_verified": null,
"is_contract": false,
"implementation_name": null,
"hash": "0x000000000000000000000000000000000000008b"
}
],
"addresses": [
"0x0000000000000000000000000000000000000085",
"0x0000000000000000000000000000000000000086",
"0x0000000000000000000000000000000000000087",
"0x0000000000000000000000000000000000000088",
"0x0000000000000000000000000000000000000089",
"0x000000000000000000000000000000000000008a",
"0x000000000000000000000000000000000000008b"
],
"additional_comment": "additional_comment13"
}