File tree 3 files changed +20
-6
lines changed
docs/dev-resources/APIReference
3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ The connection can be verified on-chain by calling the `getPlugConfig()` method
13
13
## Off-chain
14
14
15
15
16
- ** ` GET ` ** [ https://prod.dlapi.socket.tech/check-connection ] ( https://prod.dlapi.socket.tech/check-connection )
16
+ ** ` GET ` ** [ https://prod.dlapi.socket.tech/v1/check-connection ] ( https://prod.dlapi.socket.tech/check-connection )
17
+
18
+ ** Header** : x-api-key : 2Va1n3HzAS5XfXB8ELhX1aATJwzA1A72sNnJE1a0
17
19
18
20
| Query Param | Description |
19
21
| --- | --- |
@@ -26,7 +28,9 @@ The connection can be verified on-chain by calling the `getPlugConfig()` method
26
28
27
29
Verifying a connection between Plugs deployed on Goerli and Mumbai testnet
28
30
29
- [ https://prod.dlapi.socket.tech/check-connection?slugA=2999&slugB=10&plugA=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&plugB=0x1812ff6bd726934f18159164e2927B34949B16a8 ] ( https://prod.dlapi.socket.tech/check-connection?slugA=2999&slugB=10&plugA=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&plugB=0x1812ff6bd726934f18159164e2927B34949B16a8 )
31
+ [ https://prod.dlapi.socket.tech/v1/check-connection?slugA=2999&slugB=10&plugA=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&plugB=0x1812ff6bd726934f18159164e2927B34949B16a8 ] ( https://prod.dlapi.socket.tech/check-connection?slugA=2999&slugB=10&plugA=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&plugB=0x1812ff6bd726934f18159164e2927B34949B16a8 )
32
+
33
+ Note : Add the * x-api-key* header mentioned above in the request for authentication.
30
34
31
35
#### Response Parameters
32
36
Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ The fees for relaying messages can be calculated on-chain by calling the `getMin
51
51
52
52
## Off-chain API
53
53
54
- **` GET ` ** [https://prod.dlapi.socket.tech/estimate-min-fees](https://prod.dlapi.socket.tech/estimate-min-fees)
54
+ **` GET ` ** [https://prod.dlapi.socket.tech/v1/estimate-min-fees](https://prod.dlapi.socket.tech/estimate-min-fees)
55
+
56
+ **Header**: x-api-key : 2Va1n3HzAS5XfXB8ELhX1aATJwzA1A72sNnJE1a0
57
+
55
58
56
59
| Query Param | Description |
57
60
| --- | --- |
@@ -64,7 +67,9 @@ The fees for relaying messages can be calculated on-chain by calling the `getMin
64
67
65
68
Estimating fees for sending a message from Polygon to Optimism
66
69
67
- [https://prod.dlapi.socket.tech/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000](https://prod.dlapi.socket.tech/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000)
70
+ [https://prod.dlapi.socket.tech/v1/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000](https://prod.dlapi.socket.tech/estimate-min-fees?srcPlug=0x7b9ed5C43E87DAFB03211651d4FA41fEa1Eb9b3D&srcChainSlug=2999&dstChainSlug=10&msgGasLimit=100000)
71
+
72
+ Note : Add the *x-api-key* header mentioned above in the request for authentication.
68
73
69
74
#### Response Parameters
70
75
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ sidebar_position: 3
6
6
7
7
Tracks the status of a message
8
8
9
- ** ` GET ` ** [ https://prod.dlapi.socket.tech/messages-from-tx ] ( https://prod.dlapi.socket.tech/messages-from-tx )
9
+ ** ` GET ` ** [ https://prod.dlapi.socket.tech/v1/messages-from-tx ] ( https://prod.dlapi.socket.tech/messages-from-tx )
10
+
11
+ ** Header** : x-api-key : 2Va1n3HzAS5XfXB8ELhX1aATJwzA1A72sNnJE1a0
12
+
10
13
11
14
#### Query Parameters
12
15
| Query param | Description |
@@ -16,7 +19,9 @@ Tracks the status of a message
16
19
17
20
#### Example Request
18
21
19
- [ https://prod.dlapi.socket.tech/messages-from-tx?srcChainSlug=10&srcTxHash=0xc3243233916c25f0455a9440fcd2183d49858149ad103c6ff8d6167d812bc0dc ] ( https://prod.dlapi.socket.tech/messages-from-tx?srcChainSlug=10&srcTxHash=0xc3243233916c25f0455a9440fcd2183d49858149ad103c6ff8d6167d812bc0dc )
22
+ [ https://prod.dlapi.socket.tech/v1/messages-from-tx?srcChainSlug=10&srcTxHash=0xc3243233916c25f0455a9440fcd2183d49858149ad103c6ff8d6167d812bc0dc ] ( https://prod.dlapi.socket.tech/messages-from-tx?srcChainSlug=10&srcTxHash=0xc3243233916c25f0455a9440fcd2183d49858149ad103c6ff8d6167d812bc0dc )
23
+
24
+ Note : Add the * x-api-key* header mentioned above in the request for authentication.
20
25
21
26
#### Response Parameters
22
27
You can’t perform that action at this time.
0 commit comments