Skip to content

Commit

Permalink
save additional stats to db
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdnbrk committed Dec 21, 2024
1 parent ddd536a commit 6ec2b55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Jobs/CacheOrdinalsCollectionStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function handle(): void

$model = new FloorPrice;
$model->symbol = $response->json('symbol');
$model->owners = $response->json('owners');
$model->supply = $response->json('supply');
$model->listed = $response->json('totalListed');
$model->price_in_sats = $response->json('floorPrice');
$model->save();
}
Expand Down

0 comments on commit 6ec2b55

Please sign in to comment.