$bets->getRouteKey(), 'key' => [ 'public' => $bets->getPublicKey(), 'route' => $bets->getRouteKey(), ], 'user_id' => $bets->user_id, 'game_type' => $bets->game_type, 'amount' => $bets->amount, 'gt_amount' => $bets->gt_amount, 'gt_profits' => $bets->gt_profits, 'strike_final_value' => $bets->strike_final_value, 'payout' => $bets->payout, 'total_profit' => $bets->total_profit, 'total_receive_amount' => $bets->total_receive_amount, 'ip_address' => $bets->ip_address, 'url' => [ 'public' => trans_url('bet/'.$bets->getPublicKey()), 'user' => guard_url('bet/bets/'.$bets->getRouteKey()), ], 'status' => trans('app.'.$bets->status), 'created_at' => format_date($bets->created_at), 'updated_at' => format_date($bets->updated_at), ]; } }