You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- All transactions matched by the specified filters.
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
#### getTransaction(hash, filterOptions)
1242
+
1243
+
1244
+
Retrieves the transaction data for the specified hash.
1245
+
1246
+
1247
+
1248
+
1249
+
##### Parameters
1250
+
1251
+
| Name | Type | Description ||
1252
+
| ---- | ---- | ----------- | -------- |
1253
+
| hash || The transaction hash. | |
1254
+
| filterOptions || The filter options associated with the request. See [docs](https://docs.amberdata.io/reference#gettransaction) for more details. | |
1255
+
| filterOptions.validationMethod=none || The validation method to be added to the response: `none`, `basic`, `full`. | |
1256
+
| filterOptions.includePrice=true || Indicates whether or not to include price data with the results. | |
Retrieves the historical (time series) volume of transactions.
1393
+
1394
+
1395
+
1396
+
1397
+
##### Parameters
1398
+
1399
+
| Name | Type | Description ||
1400
+
| ---- | ---- | ----------- | -------- |
1401
+
| filterOptions || The filter options associated with the request. See [docs](https://docs.amberdata.io/reference#gethistoricaltransactionvolume) for more details. | |
1402
+
1403
+
1404
+
1405
+
1406
+
##### Examples
1407
+
1408
+
```javascript
1409
+
constvolume=awaitweb3data.transaction.getVolume()
1410
+
```
1411
+
1412
+
1413
+
##### Returns
1414
+
1415
+
1416
+
- The historical (time series) volume of transactions.
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+
#### getMetrics()
1423
+
1424
+
1425
+
Get metrics for recent confirmed transactions for a given blockchain. Default metrics are over a 24h period.
0 commit comments